﻿/* =========================================================
   FULL R&D LANGUAGE SYSTEM
   THIS CONTROLS THE ENTIRE PAGE
========================================================= */

.rdf-page .rdf-mr {
    display: none !important;
}

.rdf-page.rdf-lang-en .rdf-en {
    display: block !important;
}

.rdf-page.rdf-lang-en .rdf-mr {
    display: none !important;
}

.rdf-page.rdf-lang-mr .rdf-en {
    display: none !important;
}

.rdf-page.rdf-lang-mr .rdf-mr {
    display: block !important;
}


/* =========================================================
   INLINE LANGUAGE ELEMENTS
========================================================= */

.rdf-page.rdf-lang-en .rdf-filter .rdf-en,
.rdf-page.rdf-lang-mr .rdf-filter .rdf-mr {
    display: inline !important;
}


/* =========================================================
   FLEX LANGUAGE ELEMENTS
========================================================= */

.rdf-page.rdf-lang-en .rdf-badge .rdf-en,
.rdf-page.rdf-lang-mr .rdf-badge .rdf-mr {
    display: inline !important;
}


/* =========================================================
   MAIN PAGE
========================================================= */

.rdf-page {
    --green: #17663a;
    --green-dark: #0c4326;
    --green-soft: #eaf6ee;
    --gold: #c39a3b;
    --gold-soft: #f8efd9;
    --text: #17241c;
    --muted: #69756e;
    --border: #e1e8e3;
    --bg: #f6f9f7;
    width: 100%;
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
}

    .rdf-page *,
    .rdf-page *::before,
    .rdf-page *::after {
        box-sizing: border-box;
    }


/* =========================================================
   CONTAINER
========================================================= */

.rdf-container {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HERO
========================================================= */

.rdf-hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient( circle at 80% 20%, rgba(255,255,255,.12), transparent 28% ), linear-gradient( 120deg, #092f1b 0%, #17663a 55%, #20764a 100% );
}

    .rdf-hero::before {
        content: "";
        position: absolute;
        width: 620px;
        height: 620px;
        right: -250px;
        bottom: -330px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 50%;
    }

    .rdf-hero::after {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        right: 70px;
        top: -220px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 50%;
    }

.rdf-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    color: #ffffff;
}

.rdf-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.rdf-hero h1 {
    margin: 25px 0 16px;
    max-width: 850px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1;
    letter-spacing: -2.5px;
    font-weight: 900;
}

.rdf-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.7;
}

.rdf-hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.rdf-explore-btn,
.rdf-lang-btn {
    min-height: 45px;
    padding: 0 19px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all .25s ease;
}

.rdf-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    background: #ffffff;
    color: var(--green-dark);
}

.rdf-lang-btn {
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.08);
    color: #ffffff;
}


/* =========================================================
   SECTIONS
========================================================= */

.rdf-section-title {
    max-width: 800px;
}

.rdf-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rdf-label {
    display: block;
    margin-bottom: 9px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.rdf-section-title h2 {
    margin: 0;
    color: var(--green-dark);
    font-size: clamp(28px, 4vw, 45px);
    line-height: 1.15;
}

.rdf-section-title p {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   INTRO
========================================================= */

.rdf-intro {
    padding: 90px 0;
    background: #ffffff;
}

.rdf-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.rdf-info-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(20,60,35,.04);
    transition: all .3s ease;
}

    .rdf-info-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(20,60,35,.1);
    }

.rdf-card-number {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #e7ede9;
    font-size: 38px;
    font-weight: 900;
}

.rdf-big-icon {
    margin-bottom: 20px;
    font-size: 36px;
}

.rdf-info-card h3 {
    margin: 0 0 10px;
    color: var(--green-dark);
    font-size: 19px;
}

.rdf-info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CROPS
========================================================= */

.rdf-crops {
    padding: 90px 0;
    background: var(--bg);
}

.rdf-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.rdf-filter {
    min-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: #ffffff;
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

    .rdf-filter:hover,
    .rdf-filter.active {
        background: var(--green);
        border-color: var(--green);
        color: #ffffff;
    }

.rdf-crop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 27px;
}

.rdf-crop-card {
    position: relative;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(20,60,35,.03);
    transition: all .3s ease;
}

    .rdf-crop-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(20,60,35,.1);
    }

.rdf-crop-icon {
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--green-soft);
    font-size: 27px;
}

.rdf-index {
    position: absolute;
    top: 24px;
    right: 22px;
    color: #9aa59e;
    font-size: 10px;
    font-weight: 900;
}

.rdf-crop-card h3 {
    margin: 19px 0 9px;
    color: var(--green-dark);
    font-size: 18px;
}

.rdf-crop-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.rdf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 17px;
}

    .rdf-tags span {
        padding: 5px 8px;
        border-radius: 50px;
        background: #f1f5f2;
        color: #52705c;
        font-size: 8px;
        font-weight: 800;
    }


/* =========================================================
   PROCESS
========================================================= */

.rdf-process {
    padding: 90px 0;
    background: #ffffff;
}

.rdf-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.rdf-process-card {
    position: relative;
    padding: 27px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: #ffffff;
}

.rdf-process-number {
    position: absolute;
    top: 12px;
    right: 15px;
    color: #e8eee9;
    font-size: 28px;
    font-weight: 900;
}

.rdf-process-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--green);
    font-size: 27px;
}

.rdf-process-card h3 {
    margin: 17px 0 8px;
    color: var(--green-dark);
    font-size: 17px;
}

.rdf-process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   PRIORITIES
========================================================= */

.rdf-priorities {
    padding: 90px 0;
    background: var(--green-dark);
    color: #ffffff;
}

.rdf-priority-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.rdf-priorities .rdf-label {
    color: #dfbd68;
}

.rdf-priority-layout h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
}

.rdf-priority-layout > div:first-child p {
    margin: 17px 0 0;
    max-width: 560px;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    font-size: 14px;
}

.rdf-priority-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.rdf-priority {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
}

    .rdf-priority > span {
        width: 28px;
        height: 28px;
        min-width: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        color: #e2bf66;
        font-weight: 900;
    }

    .rdf-priority b {
        font-size: 11px;
    }


/* =========================================================
   FINAL
========================================================= */

.rdf-final {
    padding: 85px 0;
    background: #ffffff;
}

.rdf-final-content {
    max-width: 750px;
    margin: auto;
    text-align: center;
}

.rdf-final-icon {
    margin-bottom: 15px;
    font-size: 45px;
}

.rdf-final-content h2 {
    margin: 0;
    color: var(--green-dark);
    font-size: clamp(27px, 4vw, 43px);
    line-height: 1.15;
}

.rdf-final-content p {
    max-width: 620px;
    margin: 15px auto 25px;
    color: var(--muted);
    line-height: 1.7;
}

.rdf-back-button {
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid var(--green);
    border-radius: 50px;
    background: #ffffff;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .rdf-crop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rdf-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rdf-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }

        .rdf-intro-grid .rdf-info-card:last-child {
            grid-column: span 2;
        }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .rdf-container {
        width: calc(100% - 26px);
    }

    .rdf-hero {
        min-height: 510px;
    }

    .rdf-hero-content {
        width: calc(100% - 26px);
    }

    .rdf-hero h1 {
        font-size: 40px;
        letter-spacing: -1.2px;
    }

    .rdf-hero p {
        font-size: 14px;
    }

    .rdf-badge {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .rdf-hero-buttons {
        flex-wrap: wrap;
    }

    .rdf-intro,
    .rdf-crops,
    .rdf-process,
    .rdf-priorities {
        padding: 60px 0;
    }

    .rdf-intro-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

        .rdf-intro-grid .rdf-info-card:last-child {
            grid-column: auto;
        }

    .rdf-crop-grid {
        grid-template-columns: 1fr;
    }

    .rdf-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

        .rdf-filters::-webkit-scrollbar {
            display: none;
        }

    .rdf-filter {
        flex-shrink: 0;
    }

    .rdf-process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .rdf-process-card {
        padding: 19px 12px;
    }

    .rdf-process-icon {
        width: 52px;
        height: 52px;
        font-size: 23px;
    }

    .rdf-priority-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .rdf-priority-list {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .rdf-hero {
        min-height: 480px;
    }

        .rdf-hero h1 {
            font-size: 34px;
        }

    .rdf-section-title h2 {
        font-size: 27px;
    }

    .rdf-process-grid {
        grid-template-columns: 1fr;
    }

    .rdf-process-card {
        text-align: left;
    }

    .rdf-process-icon {
        margin: 0;
    }

    .rdf-priority-layout h2 {
        font-size: 28px;
    }
}


/* =========================================================
   VERY SMALL
========================================================= */

@media (max-width: 350px) {

    .rdf-hero h1 {
        font-size: 30px;
    }

    .rdf-container {
        width: calc(100% - 18px);
    }

    .rdf-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .rdf-explore-btn,
    .rdf-lang-btn {
        width: 100%;
    }
}
