﻿/* ============================================================
   SAMRUDDHI AGRI TECH
   PROFESSIONAL COMPACT FOOTER
   File: Content/css/footer.css

   IMPORTANT:
   Footer Middle Strip / Trust Strip has been completely removed.
   ============================================================ */


/* ============================================================
   FOOTER ROOT
   ============================================================ */

.rds-footer {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #ffffff;
    isolation: isolate;
    font-family: Arial, Helvetica, sans-serif;
}


/* ============================================================
   BACKGROUND IMAGE
   ============================================================ */

.rds-footer-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url('/Content/Images/paddy-rice-field.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.02);
}


.rds-footer-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient( 110deg, rgba(3, 30, 17, 0.96) 0%, rgba(5, 53, 29, 0.90) 38%, rgba(4, 65, 35, 0.82) 70%, rgba(2, 30, 18, 0.94) 100% );
}


/* ============================================================
   MAIN FOOTER
   ============================================================ */

.rds-footer-main {
    position: relative;
    padding: 42px 0 34px;
}


.rds-footer-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(220px, 1.15fr);
    gap: 34px;
    align-items: start;
}


/* ============================================================
   BRAND
   ============================================================ */

.rds-footer-brand {
    min-width: 0;
}


.rds-footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    padding: 8px;
    margin-bottom: 13px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


    .rds-footer-logo-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    }


.rds-footer-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.rds-footer-company {
    margin: 0;
    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #ffffff;
}


.rds-footer-tagline {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #d9f99d;
}


.rds-footer-description {
    max-width: 390px;
    margin: 11px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}


/* ============================================================
   CONTACT ACTIONS
   ============================================================ */

.rds-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}


.rds-footer-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 180px;
    padding: 9px 12px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(7px);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}


    .rds-footer-action:hover {
        color: #ffffff;
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.34);
    }


.rds-footer-action-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 16px;
}


.rds-footer-action small {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.68);
}


.rds-footer-action strong {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    color: #ffffff;
}


/* ============================================================
   FOOTER COLUMNS
   ============================================================ */

.rds-footer-column {
    min-width: 0;
}


.rds-footer-title {
    margin: 5px 0 8px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
    color: #ffffff;
}


.rds-footer-title-line {
    width: 38px;
    height: 3px;
    margin-bottom: 13px;
    border-radius: 20px;
    background: linear-gradient( 90deg, #bef264, #facc15 );
}


/* ============================================================
   FOOTER LINKS
   ============================================================ */

.rds-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}


    .rds-footer-links li {
        margin: 0;
        padding: 0;
    }


    .rds-footer-links a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 0;
        color: rgba(255, 255, 255, 0.80);
        text-decoration: none;
        font-size: 12.5px;
        line-height: 1.4;
        transition: color 0.2s ease, transform 0.2s ease;
    }


        .rds-footer-links a > span:first-child {
            width: 20px;
            flex: 0 0 20px;
            text-align: center;
            font-size: 13px;
        }


        .rds-footer-links a:hover {
            color: #d9f99d;
            transform: translateX(4px);
        }


/* ============================================================
   CONTACT COLUMN
   ============================================================ */

.rds-footer-contact-column {
    min-width: 0;
}


.rds-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 2px;
}


.rds-footer-contact-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(190, 242, 100, 0.15);
    color: #d9f99d;
    font-size: 17px;
}


.rds-footer-contact-item strong {
    display: block;
    margin: 0 0 5px;
    font-size: 11px;
    font-weight: 700;
    color: #d9f99d;
}


.rds-footer-contact-item p {
    margin: 0;
    max-width: 260px;
    font-size: 12px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.80);
}


/* ============================================================
   DIRECTIONS
   ============================================================ */

.rds-footer-direction {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 11px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}


    .rds-footer-direction:hover {
        color: #ffffff;
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.32);
    }


.rds-footer-direction-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #bef264;
    color: #173b22;
    font-size: 15px;
    font-weight: 800;
}


.rds-footer-direction strong {
    display: block;
    font-size: 12px;
    line-height: 1.35;
}


.rds-footer-direction small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.65);
}


/* ============================================================
   EMAIL
   ============================================================ */

.rds-footer-email {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 11.5px;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}


    .rds-footer-email:hover {
        color: #d9f99d;
    }


.rds-footer-email-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
}


/* ============================================================
   BOTTOM BAR
   ============================================================ */

.rds-footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 24, 12, 0.58);
    backdrop-filter: blur(7px);
}


.rds-footer-bottom-container {
    width: min(1200px, calc(100% - 40px));
    min-height: 55px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}


.rds-footer-copyright,
.rds-footer-developed {
    font-size: 10.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.68);
}


.rds-footer-developed {
    text-align: right;
}


    .rds-footer-developed a {
        margin-left: 4px;
        color: #d9f99d;
        font-weight: 800;
        text-decoration: none;
    }


        .rds-footer-developed a:hover {
            color: #ffffff;
            text-decoration: underline;
        }


/* ============================================================
   LANGUAGE SUPPORT
   ============================================================ */

.rds-footer-lang {
    display: none;
}


.rds-footer-en {
    display: inline;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .rds-footer-container {
        grid-template-columns: minmax(240px, 1.3fr) minmax(145px, 0.8fr) minmax(145px, 0.8fr);
        gap: 30px;
    }

    .rds-footer-contact-column {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
        align-items: start;
    }

        .rds-footer-contact-column .rds-footer-title,
        .rds-footer-contact-column .rds-footer-title-line {
            grid-column: 1 / -1;
        }

    .rds-footer-direction {
        margin-top: 0;
    }

    .rds-footer-email {
        margin-top: 10px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 760px) {

    .rds-footer-main {
        padding: 34px 0 27px;
    }


    .rds-footer-container {
        width: min(100% - 28px, 560px);
        grid-template-columns: 1fr;
        gap: 27px;
    }


    .rds-footer-brand {
        text-align: center;
    }


    .rds-footer-logo-link {
        width: 72px;
        height: 72px;
        margin-bottom: 11px;
    }


    .rds-footer-company {
        font-size: 23px;
    }


    .rds-footer-tagline {
        font-size: 12px;
    }


    .rds-footer-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 12px;
    }


    .rds-footer-actions {
        justify-content: center;
    }


    .rds-footer-action {
        min-width: 0;
        flex: 1 1 190px;
        justify-content: center;
        text-align: left;
    }


    .rds-footer-column {
        text-align: left;
    }


    .rds-footer-contact-column {
        display: block;
    }


    .rds-footer-contact-item {
        max-width: 520px;
    }


    .rds-footer-direction {
        max-width: 520px;
    }


    .rds-footer-email {
        max-width: 520px;
    }


    .rds-footer-bottom-container {
        width: min(100% - 28px, 560px);
        min-height: auto;
        padding: 15px 0;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        text-align: center;
    }


    .rds-footer-developed {
        text-align: center;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 430px) {

    .rds-footer-main {
        padding: 30px 0 24px;
    }


    .rds-footer-container {
        width: calc(100% - 22px);
        gap: 24px;
    }


    .rds-footer-logo-link {
        width: 66px;
        height: 66px;
        border-radius: 15px;
    }


    .rds-footer-company {
        font-size: 21px;
    }


    .rds-footer-tagline {
        font-size: 11px;
    }


    .rds-footer-description {
        font-size: 11.5px;
        line-height: 1.6;
    }


    .rds-footer-actions {
        flex-direction: column;
        align-items: stretch;
    }


    .rds-footer-action {
        width: 100%;
        flex: none;
    }


    .rds-footer-title {
        font-size: 14px;
    }


    .rds-footer-links a {
        font-size: 12px;
        padding: 5.5px 0;
    }


    .rds-footer-contact-item p {
        font-size: 11.5px;
    }


    .rds-footer-direction {
        padding: 9px 10px;
    }


    .rds-footer-email {
        font-size: 10.5px;
    }


    .rds-footer-copyright,
    .rds-footer-developed {
        font-size: 9.5px;
    }
}


/* ============================================================
   VERY SMALL DEVICES
   ============================================================ */

@media (max-width: 350px) {

    .rds-footer-container {
        width: calc(100% - 18px);
    }


    .rds-footer-company {
        font-size: 19px;
    }


    .rds-footer-tagline {
        font-size: 10px;
    }


    .rds-footer-description {
        font-size: 10.5px;
    }


    .rds-footer-action {
        padding: 8px 9px;
    }


        .rds-footer-action strong {
            font-size: 11px;
        }


    .rds-footer-links a {
        font-size: 11.5px;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .rds-footer *,
    .rds-footer *::before,
    .rds-footer *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
