﻿/* ============================================================
   SAMRUDDHI AGRITECH
   WHEAT PRODUCTS
   File: Content/css/wheat-products.css
   ============================================================ */

.rds-wheat-section,
.rds-wheat-section * {
    box-sizing: border-box;
}

.rds-wheat-section {
    width: 100%;
    padding: 70px 20px 80px;
    background: radial-gradient(circle at 8% 10%, rgba(245, 184, 72, .12), transparent 28%), radial-gradient(circle at 92% 30%, rgba(61, 120, 72, .10), transparent 30%), linear-gradient(180deg, #fffdf8 0%, #f8faf7 100%);
    overflow: hidden;
}

    .rds-wheat-section img {
        max-width: 100%;
    }


/* ============================================================
   INTRO
   ============================================================ */

.rds-wheat-intro {
    width: min(1380px, 100%);
    margin: 0 auto 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
    min-height: 470px;
    border-radius: 32px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(40, 60, 40, .12), 0 5px 20px rgba(40, 60, 40, .06);
    border: 1px solid rgba(90, 110, 80, .12);
}


/* ============================================================
   INTRO CONTENT
   ============================================================ */

.rds-wheat-intro-content {
    padding: 65px 65px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.rds-wheat-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #7c5a18;
    margin-bottom: 22px;
}

.rds-wheat-eyebrow-line {
    width: 42px;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient( 90deg, #d59b2a, #e6bd64 );
}

.rds-wheat-intro-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    color: #233627;
    letter-spacing: -1.5px;
}

.rds-wheat-intro-heading p {
    max-width: 680px;
    margin: 0 0 15px;
    font-size: 17px;
    line-height: 1.8;
    color: #617064;
}

.rds-wheat-intro-highlight {
    font-weight: 800 !important;
    color: #8b651d !important;
}


/* ============================================================
   INTRO SWITCH
   ============================================================ */

.rds-wheat-intro-switch {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    padding: 5px;
    border-radius: 50px;
    background: #eef2eb;
    border: 1px solid rgba(50, 80, 50, .10);
}

.rds-wheat-lang-btn {
    border: 0;
    outline: none;
    min-width: 92px;
    height: 40px;
    padding: 0 18px;
    border-radius: 40px;
    background: transparent;
    color: #667266;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background .28s ease, color .28s ease, transform .2s ease, box-shadow .28s ease;
}

    .rds-wheat-lang-btn:hover {
        color: #273c2b;
    }

    .rds-wheat-lang-btn:active {
        transform: scale(.96);
    }

    .rds-wheat-lang-btn.is-active {
        color: #ffffff;
        background: linear-gradient( 135deg, #557b4d, #304f38 );
        box-shadow: 0 7px 18px rgba(48, 79, 56, .22);
    }


/* ============================================================
   INTRO IMAGE
   ============================================================ */

.rds-wheat-intro-image {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient( 135deg, #d8dfc8, #eef2dc );
}

.rds-wheat-intro-image-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .50);
    filter: blur(3px);
}

.rds-wheat-intro-image img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.rds-wheat-image-badge {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    border-radius: 17px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 35px rgba(20, 35, 20, .20);
    backdrop-filter: blur(10px);
}

.rds-wheat-badge-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #f3e5bd;
    font-size: 22px;
}

.rds-wheat-image-badge strong {
    display: block;
    font-size: 13px;
    color: #2b3e2f;
}

.rds-wheat-image-badge small {
    display: block;
    margin-top: 3px;
    color: #7d877d;
}


/* ============================================================
   SECTION HEADING
   ============================================================ */

.rds-wheat-section-heading {
    width: min(1380px, 100%);
    margin: 0 auto 38px;
    text-align: center;
}

.rds-wheat-section-kicker {
    display: inline-block;
    margin-bottom: 9px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.5px;
    color: #9b711f;
}

.rds-wheat-section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.1;
    color: #243529;
    letter-spacing: -1px;
}

.rds-wheat-section-heading p {
    margin: 13px 0 0;
    color: #748078;
    font-size: 15px;
    font-weight: 600;
}

.rds-heading-divider {
    margin: 0 8px;
    color: #c69b45;
}


/* ============================================================
   GRID
   2 CARDS PER ROW
   ============================================================ */

.rds-wheat-grid {
    width: min(1380px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}


/* ============================================================
   CARD
   ============================================================ */

.rds-wheat-card {
    --rds-card-accent: #557b4d;
    --rds-card-soft: #edf4ea;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    background: #ffffff;
    border: 1px solid rgba(60, 75, 60, .11);
    box-shadow: 0 17px 45px rgba(35, 55, 35, .09);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .rds-wheat-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 25px 55px rgba(35, 55, 35, .15);
    }


/* ============================================================
   INDIVIDUAL CARD COLORS
   ============================================================ */

.rds-wheat-tone-01 {
    --rds-card-accent: #52764d;
    --rds-card-soft: #edf5eb;
}

.rds-wheat-tone-02 {
    --rds-card-accent: #a06d27;
    --rds-card-soft: #faf1df;
}

.rds-wheat-tone-03 {
    --rds-card-accent: #3f6684;
    --rds-card-soft: #eaf2f8;
}


/* ============================================================
   CARD TOP
   ============================================================ */

.rds-wheat-card-top {
    min-height: 108px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    padding: 18px 21px;
    position: relative;
    background: linear-gradient( 135deg, var(--rds-card-soft), #ffffff );
    border-bottom: 1px solid rgba(50, 70, 50, .08);
}

    .rds-wheat-card-top::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: var(--rds-card-accent);
    }

.rds-wheat-card-number {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--rds-card-accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 9px 20px rgba(30, 50, 30, .15);
}

.rds-wheat-card-label {
    display: block;
    margin-bottom: 4px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.7px;
    color: var(--rds-card-accent);
}

.rds-wheat-card-title h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.1;
    color: #26372b;
    letter-spacing: -.3px;
}

.rds-wheat-card-title p {
    margin: 5px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: #788178;
}


/* ============================================================
   CARD LANGUAGE SWITCH
   ============================================================ */

.rds-wheat-switch {
    display: inline-flex;
    padding: 4px;
    border-radius: 40px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(50, 70, 50, .10);
}

    .rds-wheat-switch .rds-wheat-lang-btn {
        min-width: 72px;
        height: 34px;
        padding: 0 12px;
        font-size: 11px;
    }

        .rds-wheat-switch .rds-wheat-lang-btn.is-active {
            background: var(--rds-card-accent);
            box-shadow: 0 5px 13px rgba(30, 50, 30, .18);
        }


/* ============================================================
   CARD BODY
   ============================================================ */

.rds-wheat-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(230px, .92fr);
    min-height: 350px;
}


/* ============================================================
   SPEC CONTENT
   ============================================================ */

.rds-wheat-spec-content {
    padding: 27px 25px 25px;
}

.rds-wheat-spec-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(60, 75, 60, .09);
}

    .rds-wheat-spec-heading span {
        font-size: 13px;
        font-weight: 900;
        color: #354539;
        letter-spacing: .3px;
    }

    .rds-wheat-spec-heading small {
        font-size: 10px;
        color: #929b92;
    }


/* ============================================================
   SPEC LIST
   ============================================================ */

.rds-wheat-spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .rds-wheat-spec-list li {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        align-items: start;
        gap: 7px;
        padding: 10px 11px;
        border-radius: 11px;
        background: #fafbf9;
        border: 1px solid rgba(50, 70, 50, .06);
        color: #647067;
        font-size: 13px;
        line-height: 1.5;
        transition: transform .25s ease, background .25s ease;
    }

        .rds-wheat-spec-list li:hover {
            transform: translateX(3px);
            background: var(--rds-card-soft);
        }

.rds-spec-icon {
    color: var(--rds-card-accent);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 900;
}

.rds-wheat-spec-list strong {
    color: #2e4032;
    font-weight: 800;
}


/* ============================================================
   LANGUAGE PANEL
   ============================================================ */

.rds-language-panel {
    animation: rdsWheatLanguageIn .32s ease both;
}

    .rds-language-panel[hidden] {
        display: none !important;
    }

@keyframes rdsWheatLanguageIn {

    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================================
   CARD IMAGE
   ============================================================ */

.rds-wheat-card-image {
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 18px 18px;
    background: radial-gradient( circle at 50% 45%, rgba(255,255,255,.95), transparent 63% ), var(--rds-card-soft);
    border-left: 1px solid rgba(50, 70, 50, .07);
}

.rds-wheat-image-frame {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(50, 70, 50, .08);
    box-shadow: inset 0 0 30px rgba(50, 70, 50, .04);
}

    .rds-wheat-image-frame img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        padding: 12px;
        transition: transform .45s ease;
    }

.rds-wheat-card:hover .rds-wheat-image-frame img {
    transform: scale(1.035);
}

.rds-wheat-image-caption {
    margin-top: 11px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--rds-card-accent);
    text-align: center;
}


/* ============================================================
   BOTTOM CTA
   ============================================================ */

.rds-wheat-bottom {
    width: min(1380px, 100%);
    margin: 45px auto 0;
    padding: 23px 27px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-radius: 21px;
    background: linear-gradient( 110deg, #263d2c, #3e5d43 );
    box-shadow: 0 18px 40px rgba(30, 55, 35, .17);
}

.rds-wheat-bottom-icon {
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: rgba(255,255,255,.12);
    font-size: 25px;
}

.rds-wheat-bottom-content {
    flex: 1;
}

    .rds-wheat-bottom-content h3 {
        margin: 0 0 4px;
        color: #ffffff;
        font-size: 18px;
    }

    .rds-wheat-bottom-content p {
        margin: 0;
        color: rgba(255,255,255,.75);
        font-size: 13px;
        line-height: 1.5;
    }

.rds-wheat-bottom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 135px;
    min-height: 45px;
    padding: 0 19px;
    border-radius: 50px;
    background: #ffffff;
    color: #304b35;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .rds-wheat-bottom-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 22px rgba(0,0,0,.18);
    }

    .rds-wheat-bottom-btn span {
        font-size: 17px;
    }


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .rds-wheat-section {
        padding: 55px 16px 65px;
    }

    .rds-wheat-intro {
        grid-template-columns: 1fr .85fr;
    }

    .rds-wheat-intro-content {
        padding: 45px 38px;
    }

    .rds-wheat-card-body {
        grid-template-columns: 1fr;
    }

    .rds-wheat-card-image {
        min-height: 300px;
        border-left: 0;
        border-top: 1px solid rgba(50, 70, 50, .07);
    }

    .rds-wheat-image-frame {
        height: 270px;
        max-width: 430px;
    }
}


/* ============================================================
   TABLET / SMALL LAPTOP
   ============================================================ */

@media (max-width: 850px) {

    .rds-wheat-intro {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .rds-wheat-intro-image {
        min-height: 380px;
    }

        .rds-wheat-intro-image img {
            min-height: 380px;
        }

    .rds-wheat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .rds-wheat-card-top {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .rds-wheat-switch {
        grid-column: 1 / -1;
        width: fit-content;
        margin-left: 69px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .rds-wheat-section {
        padding: 38px 11px 50px;
    }

    .rds-wheat-intro {
        margin-bottom: 45px;
        border-radius: 22px;
    }

    .rds-wheat-intro-content {
        padding: 35px 23px;
    }

    .rds-wheat-intro-heading h2 {
        font-size: 34px;
    }

    .rds-wheat-intro-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .rds-wheat-intro-image {
        min-height: 290px;
    }

        .rds-wheat-intro-image img {
            min-height: 290px;
        }

    .rds-wheat-image-badge {
        left: 15px;
        bottom: 15px;
    }

    .rds-wheat-section-heading {
        margin-bottom: 25px;
    }

    .rds-wheat-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .rds-wheat-card {
        border-radius: 20px;
    }

    .rds-wheat-card-top {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 16px;
        gap: 12px;
    }

    .rds-wheat-card-number {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .rds-wheat-card-title h3 {
        font-size: 20px;
    }

    .rds-wheat-switch {
        grid-column: 1 / -1;
        margin-left: 58px;
    }

    .rds-wheat-card-body {
        display: flex;
        flex-direction: column;
    }

    .rds-wheat-spec-content {
        padding: 22px 16px;
    }

    .rds-wheat-spec-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .rds-wheat-spec-list li {
        font-size: 13px;
        padding: 10px;
    }

    .rds-wheat-card-image {
        min-height: 285px;
        padding: 18px;
    }

    .rds-wheat-image-frame {
        height: 235px;
    }

    .rds-wheat-bottom {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 20px;
    }

    .rds-wheat-bottom-content {
        min-width: calc(100% - 75px);
    }

    .rds-wheat-bottom-btn {
        width: 100%;
    }
}


/* ============================================================
   VERY SMALL DEVICES
   ============================================================ */

@media (max-width: 420px) {

    .rds-wheat-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .rds-wheat-intro-content {
        padding: 30px 18px;
    }

    .rds-wheat-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .rds-wheat-intro-heading h2 {
        font-size: 30px;
    }

    .rds-wheat-intro-switch {
        width: 100%;
    }

        .rds-wheat-intro-switch .rds-wheat-lang-btn {
            flex: 1;
        }

    .rds-wheat-card-top {
        padding: 14px;
    }

    .rds-wheat-card-title h3 {
        font-size: 18px;
    }

    .rds-wheat-switch {
        margin-left: 0;
        width: 100%;
    }

        .rds-wheat-switch .rds-wheat-lang-btn {
            flex: 1;
        }

    .rds-wheat-card-image {
        min-height: 255px;
    }

    .rds-wheat-image-frame {
        height: 205px;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .rds-wheat-card,
    .rds-wheat-card:hover,
    .rds-wheat-lang-btn,
    .rds-wheat-image-frame img,
    .rds-wheat-spec-list li {
        transition: none !important;
        transform: none !important;
    }

    .rds-language-panel {
        animation: none !important;
    }
}
