/* ============================================================
   FILE: css/footer.css
   PURPOSE: Godrej Developers footer styling
   ============================================================ */

/* ===== Footer Container ===== */
.foot {
    background: #082719;
    color: #e3eee5;
    padding: 65px 0 25px;
    font-family: 'DM Sans', sans-serif;
    width: 100%;
    display: block;
}

.foot .container {
    max-width: 1400px;
    margin: auto;
    padding: 0 24px;
}

/* ===== Grid Layout ===== */
.foot-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 30px;
}

.expanded-footer {
    background: #071e10 !important;
    padding-top: 68px !important;
}

.expanded-footer .five-cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: start;
}

.expanded-footer .five-cols > div {
    min-width: 0;
}

/* ===== Foot Intro (Column 1 — Brand + Description) ===== */
.expanded-footer .foot-intro p {
    line-height: 1.9;
    margin: 22px 0;
    color: #a9bcaa;
    font-size: 13px;
}

/* ===== Column Headings ===== */
.expanded-footer .foot-grid h3 {
    color: white;
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 24px;
    font-family: 'DM Sans', sans-serif;
    position: relative;
    padding-bottom: 0;
}

.expanded-footer .foot-grid h3:after {
    content: '';
    display: block;
    width: 38px;
    height: 2px;
    background: linear-gradient(90deg, #77d43f, #60b9e0);
    margin-top: 9px;
}

/* ===== Footer Links ===== */
.expanded-footer .foot-grid a:not(.footer-phone) {
    display: block;
    color: #acbdac;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 13px;
    text-decoration: none;
    transition: color .3s ease;
}

.expanded-footer .foot-grid a:hover {
    color: #8ed950;
}

/* ===== Brand Name in Footer ===== */
.foot .brand {
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.foot .gradient {
    background: linear-gradient(95deg, #77ca3d, #5fb6df);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Phone Button ===== */
.footer-phone {
    display: inline-block;
    color: #86d944 !important;
    border: 1px solid #315b24;
    border-radius: 30px;
    padding: 12px 18px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 6px;
    font-size: 14px;
    transition: all .3s ease;
}

.footer-phone:hover {
    background: #315b24;
    color: #fff !important;
}

/* ===== Footer Bottom (Disclaimer) ===== */
.footer-bottom {
    border-top: 1px solid #23402b;
    margin-top: 46px;
    padding-top: 30px;
    color: #8ca28f;
    font-size: 13px;
    line-height: 1.9;
}

.footer-bottom strong {
    color: #8bd548;
}

.footer-bottom small {
    color: #8ca28f;
    display: block;
    margin-top: 15px;
}

.footer-bottom p {
    margin: 0 0 10px 0;
}

/* ============================================================
   RESPONSIVE — Godrej Developers Style (2 columns on mobile)
   ============================================================ */

/* Tablet (max 1050px) — 2 columns */
@media(max-width: 1050px) {
    .expanded-footer .five-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .expanded-footer .foot-intro {
        grid-column: span 2;
    }
}

/* Mobile (max 768px) — 2 columns, smaller text */
@media(max-width: 768px) {
    .expanded-footer .five-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 20px;
    }
    .expanded-footer .foot-intro {
        grid-column: span 2;
        padding-bottom: 10px;
    }
    .expanded-footer .foot-grid h3 {
        font-size: 15px;
        margin-bottom: 18px;
    }
    .expanded-footer .foot-grid h3:after {
        width: 32px;
    }
    .expanded-footer .foot-grid a:not(.footer-phone) {
        font-size: 12.5px;
        margin-bottom: 11px;
    }
    .foot {
        padding: 40px 0 22px;
    }
    .foot .container {
        padding: 0 20px;
    }
    .foot .brand {
        font-size: 21px;
    }
    .expanded-footer .foot-intro p {
        font-size: 12.5px;
        margin: 16px 0;
        line-height: 1.75;
    }
    .footer-phone {
        font-size: 13px;
        padding: 10px 18px;
    }
    .footer-bottom {
        font-size: 11.5px;
        margin-top: 28px;
        padding-top: 20px;
    }
}

/* Small Mobile (max 480px) — STILL 2 COLUMNS */
@media(max-width: 480px) {
    .expanded-footer .five-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 16px;
    }
    .expanded-footer .foot-intro {
        grid-column: span 2;
    }
    .expanded-footer .foot-grid h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .expanded-footer .foot-grid h3:after {
        width: 28px;
        margin-top: 7px;
    }
    .expanded-footer .foot-grid a:not(.footer-phone) {
        font-size: 11.5px;
        margin-bottom: 9px;
        line-height: 1.45;
    }
    .foot {
        padding: 32px 0 18px;
    }
    .foot .container {
        padding: 0 14px;
    }
    .foot .brand {
        font-size: 18px;
    }
    .expanded-footer .foot-intro p {
        font-size: 11.5px;
        margin: 14px 0;
    }
    .footer-phone {
        font-size: 12px;
        padding: 9px 15px;
    }
    .footer-bottom {
        font-size: 10.5px;
        margin-top: 22px;
        padding-top: 16px;
        line-height: 1.65;
    }
    .footer-bottom p {
        margin: 0 0 8px 0;
    }
    .footer-bottom small {
        margin-top: 12px;
    }
}

/* Extra Small (max 360px) — still 2 columns */
@media(max-width: 360px) {
    .expanded-footer .five-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 12px;
    }
    .expanded-footer .foot-grid h3 {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .expanded-footer .foot-grid h3:after {
        width: 24px;
        margin-top: 6px;
    }
    .expanded-footer .foot-grid a:not(.footer-phone) {
        font-size: 11px;
        margin-bottom: 8px;
    }
    .foot .container {
        padding: 0 12px;
    }
    .foot .brand {
        font-size: 16px;
    }
    .expanded-footer .foot-intro p {
        font-size: 11px;
    }
}