﻿/* ============================================================
   SAMRUDDHI AGRI TECH
   MANAGING DIRECTOR PAGE
   File: Content/css/managing-director.css
   ============================================================ */

.rds-md-page {
    --rds-md-navy: #14213d;
    --rds-md-blue: #2563eb;
    --rds-md-cyan: #0891b2;
    --rds-md-green: #16803c;
    --rds-md-orange: #f97316;
    --rds-md-yellow: #eab308;
    --rds-md-purple: #7c3aed;
    --rds-md-text: #263244;
    --rds-md-muted: #64748b;
    --rds-md-light: #f7f9fc;
    --rds-md-border: #e5eaf1;
    --rds-md-white: #ffffff;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at 8% 5%, rgba(37, 99, 235, 0.07), transparent 25%), radial-gradient(circle at 92% 22%, rgba(249, 115, 22, 0.07), transparent 25%), #ffffff;
    color: var(--rds-md-text);
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

    .rds-md-page *,
    .rds-md-page *::before,
    .rds-md-page *::after {
        box-sizing: border-box;
    }


/* ============================================================
   CONTAINER
   ============================================================ */

.rds-md-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 65px;
}


/* ============================================================
   LANGUAGE
   ============================================================ */

.rds-md-lang {
    display: none;
}

.rds-md-page.rds-md-language-en .rds-md-en {
    display: inline;
}

.rds-md-page.rds-md-language-mr .rds-md-mr {
    display: inline;
}


/* ============================================================
   TOP AREA
   ============================================================ */

.rds-md-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 38px;
}

.rds-md-top-content {
    max-width: 790px;
}

.rds-md-eyebrow,
.rds-md-section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--rds-md-blue);
}

.rds-md-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rds-md-orange);
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.12);
}

.rds-md-main-title {
    margin: 12px 0 12px;
    color: var(--rds-md-navy);
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -1.6px;
}

.rds-md-top-description {
    max-width: 720px;
    margin: 0;
    color: var(--rds-md-muted);
    font-size: 16px;
    line-height: 1.75;
}


/* ============================================================
   LANGUAGE SWITCH
   ============================================================ */

.rds-md-language-box {
    flex: 0 0 auto;
    background: #ffffff;
    border: 1px solid var(--rds-md-border);
    padding: 9px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(20, 33, 61, 0.08);
}

.rds-md-language-label {
    display: block;
    margin: 1px 4px 7px;
    color: #7a8699;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rds-md-language-switch {
    display: flex;
    gap: 4px;
}

.rds-md-language-btn {
    min-width: 88px;
    min-height: 38px;
    border: 0;
    border-radius: 9px;
    background: #f1f4f8;
    color: #536174;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

    .rds-md-language-btn:hover {
        transform: translateY(-1px);
    }

    .rds-md-language-btn.active {
        color: #ffffff;
        background: var(--rds-md-navy);
        box-shadow: 0 6px 16px rgba(20, 33, 61, 0.18);
    }


/* ============================================================
   PROFILE
   ============================================================ */

.rds-md-profile {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 44px;
    padding: 34px;
    background: #ffffff;
    border: 1px solid var(--rds-md-border);
    border-radius: 28px;
    box-shadow: 0 22px 55px rgba(20, 33, 61, 0.09);
    position: relative;
    overflow: hidden;
}

    .rds-md-profile::before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        right: -70px;
        top: -70px;
        background: rgba(37, 99, 235, 0.06);
        pointer-events: none;
    }


/* ============================================================
   PHOTO
   ============================================================ */

.rds-md-photo-column {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.rds-md-photo-card {
    width: 100%;
    max-width: 300px;
}

.rds-md-photo-frame {
    width: 100%;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(145deg, #eef4ff, #ffffff 55%, #fff4ec);
    border: 1px solid #e1e7f0;
    box-shadow: 0 15px 35px rgba(20, 33, 61, 0.12);
    overflow: hidden;
}

.rds-md-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
}


.rds-md-photo-caption {
    margin-top: 14px;
    padding: 13px 15px;
    background: #f8fafc;
    border: 1px solid var(--rds-md-border);
    border-radius: 14px;
    text-align: center;
}

    .rds-md-photo-caption span,
    .rds-md-photo-caption strong {
        display: block;
    }

.rds-md-photo-role {
    color: var(--rds-md-blue);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.rds-md-photo-caption strong {
    color: var(--rds-md-navy);
    font-size: 14px;
}


/* ============================================================
   PROFILE CONTENT
   ============================================================ */

.rds-md-profile-content {
    min-width: 0;
    padding: 7px 0;
}

.rds-md-name {
    margin: 7px 0 3px;
    color: var(--rds-md-navy);
    font-size: clamp(30px, 3.5vw, 43px);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -1px;
}

.rds-md-designation {
    color: var(--rds-md-orange);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 23px;
}


/* ============================================================
   EDUCATION
   ============================================================ */

.rds-md-education {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 17px;
    border-radius: 15px;
    background: #f7faff;
    border: 1px solid #dfe8f8;
    margin-bottom: 22px;
}

.rds-md-education-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eaf1ff;
    font-size: 21px;
}

.rds-md-small-title {
    display: block;
    margin-bottom: 4px;
    color: var(--rds-md-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.rds-md-education strong {
    display: block;
    color: var(--rds-md-navy);
    font-size: 14px;
    line-height: 1.45;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.rds-md-description p {
    margin: 0 0 12px;
    color: #586679;
    font-size: 14px;
    line-height: 1.75;
}


/* ============================================================
   HIGHLIGHTS
   ============================================================ */

.rds-md-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.rds-md-highlight {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e7ebf1;
    border-radius: 13px;
    background: #ffffff;
}

.rds-md-highlight-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f5f9;
    font-size: 16px;
}

.rds-md-highlight strong,
.rds-md-highlight span {
    display: block;
}

.rds-md-highlight strong {
    color: var(--rds-md-navy);
    font-size: 12px;
    margin-bottom: 2px;
}

.rds-md-highlight div > span {
    color: #788496;
    font-size: 10px;
    line-height: 1.4;
}


/* ============================================================
   VALUES SECTION
   ============================================================ */

.rds-md-values {
    margin-top: 58px;
}

.rds-md-values-heading {
    margin-bottom: 24px;
}

    .rds-md-values-heading h2 {
        margin: 7px 0 0;
        color: var(--rds-md-navy);
        font-size: clamp(25px, 3vw, 35px);
        line-height: 1.2;
    }


/* ============================================================
   VALUE GRID
   ============================================================ */

.rds-md-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rds-md-value-card {
    position: relative;
    min-width: 0;
    padding: 27px 25px 25px;
    min-height: 275px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--rds-md-border);
    background: #ffffff;
    box-shadow: 0 13px 35px rgba(20, 33, 61, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .rds-md-value-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 42px rgba(20, 33, 61, 0.12);
    }

.rds-md-vision-card {
    border-top: 4px solid var(--rds-md-blue);
}

.rds-md-mission-card {
    border-top: 4px solid var(--rds-md-green);
}

.rds-md-motto-card {
    border-top: 4px solid var(--rds-md-orange);
}

.rds-md-value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 22px;
    background: #f3f6fa;
    margin-bottom: 19px;
}

.rds-md-vision-card .rds-md-value-icon {
    background: #eaf1ff;
}

.rds-md-mission-card .rds-md-value-icon {
    background: #eaf8ef;
}

.rds-md-motto-card .rds-md-value-icon {
    background: #fff3e9;
}

.rds-md-value-number {
    position: absolute;
    top: 20px;
    right: 23px;
    color: #e8edf4;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}

.rds-md-value-card h3 {
    margin: 0 0 11px;
    color: var(--rds-md-navy);
    font-size: 21px;
    font-weight: 850;
}

.rds-md-value-card p {
    margin: 0;
    color: #687689;
    font-size: 13px;
    line-height: 1.75;
}

.rds-md-motto-text {
    color: var(--rds-md-navy) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    font-weight: 800;
}


/* ============================================================
   CLOSING
   ============================================================ */

.rds-md-closing {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 25px 28px;
    border-radius: 20px;
    background: linear-gradient( 120deg, #14213d 0%, #1e3a67 55%, #224d58 100% );
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(20, 33, 61, 0.16);
}

.rds-md-closing-mark {
    flex: 0 0 auto;
    font-family: Georgia, serif;
    font-size: 70px;
    line-height: 0.8;
    color: rgba(255,255,255,0.25);
}

.rds-md-closing-content {
    min-width: 0;
}

    .rds-md-closing-content p {
        margin: 0 0 8px;
        color: rgba(255,255,255,0.92);
        font-size: 15px;
        line-height: 1.7;
    }

    .rds-md-closing-content strong {
        color: #ffffff;
        font-size: 13px;
    }


/* ============================================================
   LANGUAGE TRANSITION
   ============================================================ */

.rds-md-page.rds-md-switching .rds-md-lang {
    animation: rdsMdLanguageFade 0.32s ease;
}

@keyframes rdsMdLanguageFade {

    0% {
        opacity: 0;
        transform: translateY(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1000px) {

    .rds-md-container {
        width: min(920px, calc(100% - 32px));
        padding-top: 42px;
    }

    .rds-md-profile {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 30px;
        padding: 26px;
    }

    .rds-md-photo-frame {
        height: 310px;
    }

    .rds-md-value-grid {
        grid-template-columns: 1fr;
    }

    .rds-md-value-card {
        min-height: auto;
    }
}


/* ============================================================
   TABLET / SMALL LAPTOP
   ============================================================ */

@media (max-width: 760px) {

    .rds-md-container {
        width: min(680px, calc(100% - 26px));
        padding: 34px 0 48px;
    }

    .rds-md-top {
        display: block;
        margin-bottom: 27px;
    }

    .rds-md-main-title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .rds-md-top-description {
        font-size: 14px;
        line-height: 1.65;
    }

    .rds-md-language-box {
        display: inline-block;
        margin-top: 20px;
    }

    .rds-md-profile {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 22px;
        border-radius: 22px;
    }

    .rds-md-photo-card {
        max-width: 240px;
        margin: 0 auto;
    }

    .rds-md-photo-frame {
        height: 280px;
        padding: 13px;
    }

    .rds-md-photo-caption {
        margin-top: 10px;
    }

    .rds-md-profile-content {
        padding: 0;
    }

    .rds-md-name {
        font-size: 31px;
    }

    .rds-md-highlights {
        grid-template-columns: 1fr 1fr;
    }

    .rds-md-values {
        margin-top: 43px;
    }

    .rds-md-closing {
        padding: 21px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 520px) {

    .rds-md-container {
        width: calc(100% - 20px);
        padding: 28px 0 40px;
    }

    .rds-md-eyebrow,
    .rds-md-section-label {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .rds-md-main-title {
        margin-top: 9px;
        font-size: 28px;
        line-height: 1.15;
    }

    .rds-md-top-description {
        font-size: 13px;
    }

    .rds-md-language-box {
        width: 100%;
        max-width: 260px;
    }

    .rds-md-language-switch {
        width: 100%;
    }

    .rds-md-language-btn {
        flex: 1;
        min-width: 0;
        font-size: 12px;
    }

    .rds-md-profile {
        padding: 17px;
        border-radius: 18px;
    }

    .rds-md-photo-card {
        max-width: 205px;
    }

    .rds-md-photo-frame {
        height: 245px;
        padding: 10px;
        border-radius: 17px;
    }

    .rds-md-photo {
        border-radius: 10px;
    }

    .rds-md-name {
        font-size: 27px;
    }

    .rds-md-designation {
        font-size: 13px;
        margin-bottom: 17px;
    }

    .rds-md-education {
        align-items: flex-start;
        padding: 12px;
    }

    .rds-md-education-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 18px;
    }

    .rds-md-education strong {
        font-size: 12px;
    }

    .rds-md-description p {
        font-size: 13px;
        line-height: 1.7;
    }

    .rds-md-highlights {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .rds-md-highlight {
        padding: 10px;
    }

    .rds-md-value-card {
        padding: 22px 19px;
        border-radius: 17px;
    }

        .rds-md-value-card h3 {
            font-size: 19px;
        }

        .rds-md-value-card p {
            font-size: 12px;
        }

    .rds-md-motto-text {
        font-size: 15px !important;
    }

    .rds-md-closing {
        align-items: flex-start;
        gap: 12px;
        padding: 18px;
        border-radius: 17px;
    }

    .rds-md-closing-mark {
        font-size: 50px;
    }

    .rds-md-closing-content p {
        font-size: 12px;
    }
}


/* ============================================================
   EXTRA SMALL DEVICES
   ============================================================ */

@media (max-width: 350px) {

    .rds-md-container {
        width: calc(100% - 14px);
        padding-top: 22px;
    }

    .rds-md-main-title {
        font-size: 24px;
    }

    .rds-md-top-description {
        font-size: 12px;
    }

    .rds-md-profile {
        padding: 13px;
    }

    .rds-md-photo-card {
        max-width: 180px;
    }

    .rds-md-photo-frame {
        height: 215px;
    }

    .rds-md-name {
        font-size: 24px;
    }

    .rds-md-education {
        gap: 9px;
    }

    .rds-md-education-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .rds-md-value-card {
        padding: 19px 15px;
    }

    .rds-md-closing {
        padding: 15px;
    }
}
