﻿/* ============================================================
   MALWA AGRITECH - SOYBEAN PRODUCT PAGE
   PROFESSIONAL RESPONSIVE DESIGN
   ============================================================ */

:root {
    --soy-green: #176b3a;
    --soy-dark: #083b24;
    --soy-deep: #052d1b;
    --soy-light: #edf8f1;
    --soy-soft: #f6faf7;
    --soy-gold: #c79a2b;
    --soy-gold-light: #ead58d;
    --soy-text: #26352d;
    --soy-muted: #68756d;
    --soy-border: #e3ebe5;
    --soy-white: #ffffff;
    --soy-shadow: 0 18px 50px rgba(10, 50, 30, .09);
    --soy-container: 1280px;
}


/* ============================================================
   RESET
   ============================================================ */

.soybean-page,
.soybean-page * {
    box-sizing: border-box;
}

.soybean-page {
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: var(--soy-text);
}

    .soybean-page a {
        text-decoration: none;
    }

    .soybean-page button {
        font-family: inherit;
    }

.soybean-container {
    width: min(calc(100% - 40px), var(--soy-container));
    margin: 0 auto;
}


/* ============================================================
   HERO
   ============================================================ */

.soybean-hero {
    position: relative;
    padding: 85px 0;
    background: radial-gradient(circle at 15% 20%, rgba(23,107,58,.09), transparent 30%), linear-gradient(135deg, #f7fbf8, #ffffff 60%);
}

.soybean-hero-grid {
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(450px, 1.1fr);
    align-items: center;
    gap: 80px;
}


/* PRODUCT IMAGE */

.soybean-product-visual {
    display: flex;
    justify-content: center;
}

.product-image-card {
    width: min(100%, 470px);
    min-height: 520px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
    border: 1px solid rgba(23,107,58,.12);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--soy-shadow);
    overflow: hidden;
}

    .product-image-card::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: var(--soy-light);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.soybean-main-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-height: 450px;
    object-fit: contain;
}

.product-image-badge {
    position: absolute;
    z-index: 5;
    top: 20px;
    left: 20px;
    padding: 9px 13px;
    border-radius: 30px;
    background: var(--soy-deep);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
}

    .product-image-badge i {
        margin-right: 5px;
        color: var(--soy-gold-light);
    }

.soybean-image-fallback {
    position: relative;
    z-index: 2;
    display: none;
    width: 100%;
    min-height: 380px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--soy-green);
}

    .soybean-image-fallback i {
        font-size: 75px;
        margin-bottom: 20px;
    }

    .soybean-image-fallback strong {
        font-size: 27px;
        letter-spacing: 1px;
    }

    .soybean-image-fallback span {
        margin-top: 7px;
        color: var(--soy-gold);
        font-size: 12px;
        font-weight: 700;
    }


/* HERO CONTENT */

.product-kicker {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--soy-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.soybean-hero-content h1 {
    margin: 0;
    color: var(--soy-dark);
    font-size: clamp(40px, 5vw, 67px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
}

    .soybean-hero-content h1 span {
        display: block;
        color: var(--soy-green);
    }

.hero-divider {
    width: 75px;
    height: 4px;
    margin: 22px 0;
    border-radius: 10px;
    background: var(--soy-gold);
}

.hero-description {
    max-width: 650px;
    margin: 0;
    color: var(--soy-text);
    font-size: 17px;
    line-height: 1.75;
}

.hero-description-hi {
    max-width: 650px;
    margin: 8px 0 0;
    color: var(--soy-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* HIGHLIGHTS */

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--soy-border);
    border-radius: 12px;
    background: rgba(255,255,255,.9);
}

.highlight-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--soy-light);
    color: var(--soy-green);
}

.highlight-item strong,
.highlight-item small {
    display: block;
}

.highlight-item strong {
    color: var(--soy-dark);
    font-size: 11px;
    font-weight: 800;
}

.highlight-item small {
    margin-top: 4px;
    color: var(--soy-muted);
    font-size: 9px;
}


/* BUTTONS */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.soybean-btn {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    transition: .25s ease;
}

.soybean-btn-primary {
    background: var(--soy-green);
    color: #fff;
}

    .soybean-btn-primary:hover {
        background: var(--soy-dark);
        color: #fff;
        transform: translateY(-2px);
    }

.soybean-btn-outline {
    border: 1px solid var(--soy-green);
    color: var(--soy-green);
    background: #fff;
}

    .soybean-btn-outline:hover {
        background: var(--soy-light);
        color: var(--soy-dark);
    }


/* ============================================================
   LANGUAGE BAR
   ============================================================ */

.language-section {
    padding: 18px 0;
    background: var(--soy-deep);
}

.language-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.language-heading span,
.language-heading small {
    display: block;
}

.language-heading span {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.language-heading small {
    margin-top: 4px;
    color: rgba(255,255,255,.58);
    font-size: 10px;
}

.language-buttons {
    display: flex;
    padding: 3px;
    border-radius: 8px;
    background: rgba(255,255,255,.09);
}

.language-btn {
    min-width: 100px;
    height: 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: rgba(255,255,255,.65);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    transition: .25s ease;
}

    .language-btn.active {
        background: #fff;
        color: var(--soy-dark);
    }


/* ============================================================
   COMMON SECTIONS
   ============================================================ */

.soybean-section {
    padding: 90px 0;
}

.soybean-about {
    background: #fff;
}

.soybean-features-section {
    background: var(--soy-soft);
}

.soybean-varieties-section {
    background: #fff;
}

.technical-section {
    background: #f5f9f6;
}

.packaging-section {
    background: #fff;
}

.quality-section {
    background: var(--soy-soft);
}


/* SECTION HEADING */

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 45px;
}

    .section-heading > span {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: var(--soy-green);
        color: #fff;
        font-size: 12px;
        font-weight: 800;
    }

    .section-heading small {
        display: block;
        margin-bottom: 7px;
        color: var(--soy-gold);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.5px;
    }

    .section-heading h2 {
        margin: 0;
        color: var(--soy-dark);
        font-size: clamp(28px, 4vw, 42px);
        line-height: 1.15;
        font-weight: 700;
    }

        .section-heading h2 strong {
            color: var(--soy-green);
        }

        .section-heading h2 em {
            display: block;
            margin-top: 5px;
            color: var(--soy-muted);
            font-size: 14px;
            font-style: normal;
            font-weight: 500;
        }

    .section-heading p {
        margin: 9px 0 0;
        color: var(--soy-muted);
        font-size: 13px;
    }

    .section-heading.centered {
        justify-content: center;
        text-align: center;
    }

        .section-heading.centered > span {
            display: none;
        }


/* LANGUAGE CONTENT */

.hindi-content {
    display: none;
}

.language-content.active {
    display: block;
}

.content-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

    .content-intro p {
        margin: 0 0 15px;
        color: var(--soy-muted);
        font-size: 16px;
        line-height: 1.85;
    }


/* ============================================================
   FEATURES
   ============================================================ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    position: relative;
    padding: 30px 24px;
    border: 1px solid var(--soy-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.035);
    transition: .3s ease;
}

    .feature-card:hover {
        transform: translateY(-6px);
        border-color: rgba(23,107,58,.25);
        box-shadow: var(--soy-shadow);
    }

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--soy-light);
    color: var(--soy-green);
    font-size: 20px;
}

.feature-card h3 {
    margin: 0;
    color: var(--soy-dark);
    font-size: 15px;
}

.feature-card p {
    margin: 10px 0;
    color: var(--soy-muted);
    font-size: 12px;
    line-height: 1.7;
}

.feature-card small {
    color: var(--soy-gold);
    font-size: 10px;
    font-weight: 700;
}


/* ============================================================
   VARIETIES
   ============================================================ */

.variety-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.variety-card {
    position: relative;
    padding: 25px 18px;
    min-height: 170px;
    border: 1px solid var(--soy-border);
    border-radius: 15px;
    background: #fff;
    transition: .3s ease;
    overflow: hidden;
}

    .variety-card:hover {
        transform: translateY(-4px);
        border-color: rgba(23,107,58,.3);
        box-shadow: var(--soy-shadow);
    }

    .variety-card > span {
        position: absolute;
        top: 13px;
        right: 15px;
        color: #dfe9e2;
        font-size: 18px;
        font-weight: 800;
    }

    .variety-card > i {
        color: var(--soy-green);
        font-size: 22px;
    }

    .variety-card h3 {
        margin: 20px 0 7px;
        color: var(--soy-dark);
        font-size: 18px;
    }

    .variety-card p,
    .variety-card small {
        display: block;
    }

    .variety-card p {
        margin: 0;
        color: var(--soy-muted);
        font-size: 10px;
    }

    .variety-card small {
        margin-top: 4px;
        color: var(--soy-gold);
        font-size: 9px;
        font-weight: 700;
    }


/* ============================================================
   TECHNICAL SECTION
   ============================================================ */

.technical-language-tabs {
    display: flex;
    justify-content: center;
    gap: 5px;
    width: fit-content;
    margin: -15px auto 30px;
    padding: 4px;
    border-radius: 9px;
    background: #e7eee9;
}

.technical-language-btn {
    min-width: 110px;
    height: 38px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--soy-muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    transition: .25s ease;
}

    .technical-language-btn i {
        margin-right: 5px;
    }

    .technical-language-btn.active {
        background: var(--soy-green);
        color: #fff;
        box-shadow: 0 5px 15px rgba(23,107,58,.18);
    }


/* TECH PANEL */

.technical-language-panel {
    display: none;
    animation: technicalFade .3s ease;
}

    .technical-language-panel.active {
        display: block;
    }

@keyframes technicalFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* TABLE CARD */

.technical-table-card {
    overflow: hidden;
    border: 1px solid var(--soy-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--soy-shadow);
}

.technical-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 25px;
    background: var(--soy-deep);
    color: #fff;
}

    .technical-table-header span {
        display: block;
        margin-bottom: 5px;
        color: var(--soy-gold-light);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 1.5px;
    }

    .technical-table-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

.technical-header-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    color: var(--soy-gold-light);
}


/* TABLE */

.technical-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.technical-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

    .technical-table th {
        padding: 15px 18px;
        background: #eef5f0;
        color: var(--soy-dark);
        text-align: left;
        font-size: 11px;
        font-weight: 800;
        border-bottom: 1px solid var(--soy-border);
    }

    .technical-table td {
        padding: 14px 18px;
        color: var(--soy-muted);
        font-size: 11px;
        line-height: 1.6;
        border-bottom: 1px solid #edf1ee;
        vertical-align: middle;
    }

    .technical-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .technical-table tbody tr:hover {
        background: #fafcfb;
    }

    .technical-table td:first-child {
        width: 60px;
        color: var(--soy-gold);
        font-weight: 800;
    }

    .technical-table td:nth-child(2) {
        width: 30%;
        color: var(--soy-dark);
        font-weight: 700;
    }

    .technical-table td strong {
        color: var(--soy-green);
    }


/* TECH NOTE */

.technical-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 18px;
    padding: 18px 20px;
    border-left: 3px solid var(--soy-gold);
    border-radius: 10px;
    background: #fff;
}

    .technical-note > i {
        margin-top: 3px;
        color: var(--soy-gold);
    }

    .technical-note strong {
        display: block;
        margin-bottom: 5px;
        color: var(--soy-dark);
        font-size: 11px;
    }

    .technical-note p {
        margin: 0;
        color: var(--soy-muted);
        font-size: 10px;
        line-height: 1.7;
    }

.hindi-note {
    margin-top: 6px !important;
}


/* ============================================================
   PACKAGING
   ============================================================ */

.packaging-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.packaging-content > p {
    max-width: 600px;
    margin: 0 0 12px;
    color: var(--soy-muted);
    font-size: 14px;
    line-height: 1.8;
}

.packaging-hindi {
    color: var(--soy-gold) !important;
}

.packaging-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pack-card {
    min-height: 190px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 18px;
    background: var(--soy-deep);
    box-shadow: var(--soy-shadow);
}

    .pack-card i {
        margin-bottom: 18px;
        color: var(--soy-gold);
        font-size: 25px;
    }

    .pack-card strong {
        color: #fff;
        font-size: 28px;
    }

    .pack-card span {
        margin-top: 6px;
        color: rgba(255,255,255,.65);
        font-size: 10px;
    }

    .pack-card small {
        margin-top: 5px;
        color: var(--soy-gold-light);
        font-size: 9px;
    }


/* ============================================================
   QUALITY
   ============================================================ */

.quality-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: 90px;
}

.quality-visual {
    display: flex;
    justify-content: center;
}

.quality-circle {
    width: 290px;
    height: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(23,107,58,.15);
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 53%, transparent 54%), var(--soy-light);
    box-shadow: 0 20px 55px rgba(10,50,30,.08);
}

    .quality-circle i {
        margin-bottom: 12px;
        color: var(--soy-green);
        font-size: 35px;
    }

    .quality-circle strong {
        color: var(--soy-dark);
        font-size: 22px;
        letter-spacing: 2px;
    }

    .quality-circle span {
        margin-top: 4px;
        color: var(--soy-gold);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 2px;
    }

.quality-kicker {
    color: var(--soy-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.quality-content h2 {
    margin: 10px 0 18px;
    color: var(--soy-dark);
    font-size: 40px;
    line-height: 1.15;
}

    .quality-content h2 strong {
        color: var(--soy-green);
    }

.quality-content > p {
    max-width: 650px;
    color: var(--soy-muted);
    font-size: 14px;
    line-height: 1.8;
}

.quality-hindi {
    color: var(--soy-gold) !important;
}

.quality-content ul {
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.quality-content li {
    margin-bottom: 13px;
    color: var(--soy-text);
    font-size: 12px;
    font-weight: 600;
}

    .quality-content li i {
        width: 24px;
        color: var(--soy-green);
    }


/* ============================================================
   CTA
   ============================================================ */

.soybean-cta {
    padding: 65px 0;
    background: var(--soy-deep);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

    .cta-inner > div:first-child > span {
        color: var(--soy-gold-light);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.5px;
    }

    .cta-inner h2 {
        max-width: 600px;
        margin: 9px 0 7px;
        color: #fff;
        font-size: clamp(26px, 4vw, 40px);
        line-height: 1.2;
    }

    .cta-inner p {
        margin: 0;
        color: rgba(255,255,255,.6);
        font-size: 12px;
    }

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.soybean-btn-light {
    background: #fff;
    color: var(--soy-dark);
}

    .soybean-btn-light:hover {
        color: var(--soy-green);
        transform: translateY(-2px);
    }

.soybean-btn-gold {
    background: var(--soy-gold);
    color: var(--soy-deep);
}

    .soybean-btn-gold:hover {
        background: var(--soy-gold-light);
        color: var(--soy-deep);
        transform: translateY(-2px);
    }


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .soybean-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .product-image-card {
        min-height: 450px;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .variety-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .quality-grid {
        gap: 50px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .soybean-container {
        width: calc(100% - 28px);
    }

    .soybean-hero {
        padding: 45px 0;
    }

    .soybean-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-image-card {
        min-height: 380px;
        padding: 35px;
        border-radius: 22px;
    }

    .soybean-main-image {
        max-height: 330px;
    }

    .soybean-hero-content h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-description-hi {
        font-size: 12px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .soybean-btn {
        width: 100%;
    }

    .language-control {
        align-items: stretch;
        flex-direction: column;
    }

    .language-buttons {
        width: 100%;
    }

    .language-btn {
        flex: 1;
    }

    .soybean-section {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

        .section-heading h2 {
            font-size: 30px;
        }

    .content-intro {
        text-align: left;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .variety-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .technical-language-tabs {
        width: 100%;
    }

    .technical-language-btn {
        flex: 1;
    }

    .technical-table-header {
        padding: 18px;
    }

        .technical-table-header h3 {
            font-size: 15px;
        }

    .packaging-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .quality-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .quality-content h2 {
        font-size: 32px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   SMALL DEVICES
   ============================================================ */

@media (max-width: 480px) {

    .soybean-container {
        width: calc(100% - 20px);
    }

    .soybean-hero {
        padding: 32px 0;
    }

    .product-image-card {
        min-height: 320px;
        padding: 25px;
        border-radius: 18px;
    }

    .soybean-main-image {
        max-height: 270px;
    }

    .product-image-badge {
        top: 12px;
        left: 12px;
        padding: 7px 9px;
        font-size: 9px;
    }

    .soybean-hero-content h1 {
        font-size: 35px;
    }

    .product-kicker {
        font-size: 10px;
    }

    .hero-highlights {
        gap: 8px;
    }

    .highlight-item {
        padding: 11px;
    }

    .highlight-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .soybean-section {
        padding: 48px 0;
    }

    .section-heading {
        gap: 12px;
    }

        .section-heading > span {
            width: 38px;
            height: 38px;
            flex-basis: 38px;
            font-size: 10px;
        }

        .section-heading h2 {
            font-size: 25px;
        }

            .section-heading h2 em {
                font-size: 12px;
            }

    .variety-grid {
        grid-template-columns: 1fr;
    }

    .variety-card {
        min-height: 135px;
    }

    .packaging-cards {
        grid-template-columns: 1fr;
    }

    .quality-circle {
        width: 220px;
        height: 220px;
    }

        .quality-circle strong {
            font-size: 18px;
        }

    .technical-note {
        padding: 14px;
    }

    .cta-inner h2 {
        font-size: 27px;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .soybean-page *,
    .soybean-page *::before,
    .soybean-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
