﻿/* ============================================================
   MALWA AGRITECH
   FULL RESEARCH & DEVELOPMENT PAGE
   ============================================================ */

.malwa-rd-page,
.malwa-rd-page * {
    box-sizing: border-box;
}

.malwa-rd-page {
    color: #152019;
    background: #fff;
}

.malwa-rd-page-container {
    width: min(100% - 40px, 1320px);
    margin: auto;
}


/* ============================================================
   HERO
   ============================================================ */

.malwa-rd-hero {
    min-height: 440px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #073b22 0%, #116b3a 65%, #0d5a31 100%);
    color: #fff;
}

.malwa-rd-hero-content {
    max-width: 760px;
    padding: 75px 0;
}

.malwa-rd-page-eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 7px 13px;
    border-radius: 30px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;
}

.malwa-rd-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
}

.rd-hero-subtitle {
    max-width: 680px;
    margin: 0 0 15px;
    color: #f4d77b;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
}

.rd-hero-description {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.8;
}

.rd-hero-actions {
    margin-top: 28px;
}

.rd-primary-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 7px;
    background: #d6a72c;
    color: #073b22;
    font-size: 12px;
    font-weight: 800;
    transition: .25s ease;
}

    .rd-primary-button:hover {
        background: #f4d77b;
        color: #073b22;
        transform: translateY(-2px);
    }


/* ============================================================
   LANGUAGE
   ============================================================ */

.rd-language-section {
    background: #f7faf8;
    border-bottom: 1px solid #e8eee9;
}

.rd-language-bar {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

    .rd-language-bar strong {
        display: block;
        color: #073b22;
        font-size: 14px;
    }

    .rd-language-bar span {
        display: block;
        margin-top: 3px;
        color: #66736b;
        font-size: 10px;
    }

.rd-language-switch {
    display: flex;
    padding: 4px;
    background: #fff;
    border: 1px solid #dfe8e1;
    border-radius: 8px;
}

.rd-lang-btn {
    border: 0;
    background: transparent;
    padding: 8px 17px;
    border-radius: 5px;
    cursor: pointer;
    color: #66736b;
    font-size: 11px;
    font-weight: 800;
}

    .rd-lang-btn.active {
        background: #116b3a;
        color: #fff;
    }


/* ============================================================
   LANGUAGE CONTENT
   ============================================================ */

.rd-lang-content {
    display: none;
}

    .rd-lang-content.active {
        display: block;
    }


/* ============================================================
   INTRODUCTION
   ============================================================ */

.rd-introduction {
    padding: 85px 0;
    background: #fff;
}

.rd-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.rd-section-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #116b3a;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rd-intro-content h2 {
    margin: 13px 0 16px;
    color: #073b22;
    font-size: 34px;
    line-height: 1.2;
}

.rd-intro-content p {
    color: #66736b;
    font-size: 13px;
    line-height: 1.85;
    margin: 0 0 14px;
}

.rd-intro-image {
    height: 400px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

    .rd-intro-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.rd-image-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 11px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,.94);
    color: #073b22;
    font-size: 11px;
    font-weight: 800;
}


/* ============================================================
   FOCUS
   ============================================================ */

.rd-focus-section {
    padding: 85px 0;
    background: #f6faf7;
}

.rd-section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

    .rd-section-heading h2 {
        margin: 12px 0 9px;
        color: #073b22;
        font-size: 32px;
    }

    .rd-section-heading p {
        color: #66736b;
        font-size: 13px;
    }

.rd-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rd-focus-card {
    background: #fff;
    border: 1px solid #e2ebe5;
    border-radius: 14px;
    padding: 25px;
    transition: .25s ease;
}

    .rd-focus-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,.08);
    }

.rd-focus-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eaf6ee;
    color: #116b3a;
    font-size: 18px;
}

.rd-focus-card h3 {
    margin: 16px 0 8px;
    color: #073b22;
    font-size: 17px;
}

.rd-focus-card p {
    margin: 0;
    color: #66736b;
    font-size: 11px;
    line-height: 1.75;
}


/* ============================================================
   CROP SECTIONS
   ============================================================ */

.rd-crop-section {
    padding: 85px 0;
    background: #fff;
}

.rd-crop-alt {
    background: #f7faf8;
}

.rd-crop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rd-crop-image {
    height: 390px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.11);
}

    .rd-crop-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.rd-crop-label {
    display: inline-block;
    color: #8c6510;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.rd-crop-content h2 {
    margin: 12px 0 14px;
    color: #073b22;
    font-size: 30px;
}

.rd-crop-content p {
    margin: 0;
    color: #66736b;
    font-size: 13px;
    line-height: 1.85;
}

.rd-crop-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

    .rd-crop-points span {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #073b22;
        font-size: 11px;
        font-weight: 700;
    }

    .rd-crop-points i {
        color: #116b3a;
    }


/* ============================================================
   FUTURE
   ============================================================ */

.rd-future-section {
    padding: 70px 0;
    background: #f6faf7;
}

.rd-future-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    border-radius: 18px;
    background: #073b22;
    color: #fff;
}

.rd-future-icon {
    width: 65px;
    height: 65px;
    flex: 0 0 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.1);
    color: #f4d77b;
    font-size: 26px;
}

.rd-future-card h2 {
    margin: 0 0 8px;
    font-size: 25px;
}

.rd-future-card p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.8;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1000px) {

    .rd-focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rd-intro-grid,
    .rd-crop-grid {
        gap: 35px;
    }

    .rd-intro-image,
    .rd-crop-image {
        height: 330px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .malwa-rd-page-container {
        width: calc(100% - 24px);
    }

    .malwa-rd-hero {
        min-height: auto;
    }

    .malwa-rd-hero-content {
        padding: 55px 0;
    }

    .malwa-rd-hero h1 {
        font-size: 32px;
    }

    .rd-hero-subtitle {
        font-size: 15px;
    }

    .rd-hero-description {
        font-size: 12px;
    }

    .rd-language-bar {
        min-height: 100px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .rd-introduction,
    .rd-focus-section,
    .rd-crop-section {
        padding: 55px 0;
    }

    .rd-intro-grid,
    .rd-crop-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rd-intro-content h2,
    .rd-section-heading h2,
    .rd-crop-content h2 {
        font-size: 27px;
    }

    .rd-intro-image,
    .rd-crop-image {
        height: 250px;
    }

    .rd-focus-grid {
        grid-template-columns: 1fr;
    }

    .rd-crop-points {
        grid-template-columns: 1fr;
    }

    .rd-future-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }
}


/* ============================================================
   SMALL DEVICES
   ============================================================ */

@media (max-width: 380px) {

    .malwa-rd-page-container {
        width: calc(100% - 18px);
    }

    .malwa-rd-hero h1 {
        font-size: 28px;
    }

    .rd-language-switch {
        width: 100%;
    }

    .rd-lang-btn {
        flex: 1;
    }

    .rd-intro-image,
    .rd-crop-image {
        height: 210px;
    }

    .rd-primary-button {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .malwa-rd-page * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
