/* =========================================================
   SAMRUDDHI HOMES - FOOTER
   MATCHING THE FINAL HEADER COLOR PALETTE
========================================================= */

.site-footer {
    background: #E5F0E7;
    color: #263F32;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
}


/* =========================================================
   FOOTER CONTAINER
========================================================= */

.footer-container {
    width: 90%;
    max-width: 1400px;
    margin: auto;

    padding: 65px 0 55px;

    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.35fr;
    gap: 45px;

    align-items: start;
    box-sizing: border-box;
}


/* =========================================================
   BRAND / LOGO
========================================================= */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo img {
    display: block;
    width: auto;
    height: 80px;
    max-width: 260px;
    object-fit: contain;
    object-position: left center;
}


/* BRAND DESCRIPTION */

.footer-description,
.footer-brand > p {
    max-width: 370px;

    color: #263F32 !important;

    font-size: 14px;
    line-height: 1.9;

    margin: 0 0 22px;
}


/* =========================================================
   FOOTER HEADINGS
========================================================= */

.footer-column h3 {
    position: relative;

    color: #315C49;

    font-size: 18px;
    font-weight: 700;

    margin: 5px 0 28px;
    padding-bottom: 13px;
}


/* GOLD ACCENT */

.footer-column h3::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 42px;
    height: 3px;

    background: #B99A62;
    border-radius: 5px;
}


/* =========================================================
   FOOTER LINKS
   SUPPORTS ORIGINAL HTML + NEW HTML
========================================================= */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 13px;
}


/* Original HTML links */

.footer-column > a:not(.footer-logo) {

    display: block;

    color: #263F32 !important;

    text-decoration: none;

    font-size: 14px;

    margin-bottom: 13px;

    transition: all 0.3s ease;
}


/* Updated HTML links */

.footer-links a {
    display: inline-block;

    color: #263F32 !important;

    text-decoration: none;

    font-size: 14px;

    transition: all 0.3s ease;
}


/* Hover */

.footer-column > a:not(.footer-logo):hover,
.footer-links a:hover {
    color: #B99A62 !important;
    transform: translateX(5px);
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
    margin-top: 8px;
}

.footer-social a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FAF9F5;

    color: #315C49 !important;

    border: 1px solid rgba(49, 92, 73, 0.15);
    border-radius: 50%;

    text-decoration: none;
    font-size: 16px;

    transition: all 0.3s ease;
}

.footer-social i {
    font-family: "bootstrap-icons" !important;
    font-style: normal;
}

.footer-social a:hover {
    background: #315C49;
    color: #FFFFFF !important;

    border-color: #315C49;

    transform: translateY(-3px);

    box-shadow: 0 5px 12px rgba(49, 92, 73, 0.15);
}


/* =========================================================
   CONTACT SECTION
   SUPPORTS ORIGINAL AND UPDATED HTML
========================================================= */

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 12px;
    margin-bottom: 18px;
}


/* CONTACT ICON */

.footer-contact-icon {
    flex-shrink: 0;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FAF9F5;

    color: #315C49;

    border: 1px solid rgba(49, 92, 73, 0.10);
    border-radius: 10px;

    font-size: 16px;

    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: #315C49;
    color: #FFFFFF;
}


/* CONTACT TEXT */

.footer-column p {
    color: #263F32 !important;

    font-size: 14px;
    line-height: 1.8;

    margin: 0 0 12px;
}

.footer-contact-item p,
.footer-contact-item a {
    color: #263F32 !important;

    font-size: 14px;
    line-height: 1.8;

    margin: 0;

    text-decoration: none;

    overflow-wrap: anywhere;
}

.footer-contact-item a:hover {
    color: #B99A62 !important;
}


/* ORIGINAL HTML CONTACT LINKS */

.footer-column:nth-child(4) > a:not(.footer-logo) {
    color: #263F32 !important;
}


/* =========================================
   FOOTER COPYRIGHT - CENTER ALIGNMENT
========================================= */
.footer-bottom {
    background: #28543F;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 15px;
}

.footer-bottom-container {
    width: 86%;
    max-width: 1440px;
    margin: 0 auto;

    display: flex;
    flex-direction: row; /* Horizontal line */
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #F4F7E9;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.footer-credit a {
    color: #B7E65B !important;
    text-decoration: none;
    font-weight: 600;
}

.footer-credit a:hover {
    color: #FFFFFF !important;
}
/* =========================================================
   REMOVE CTA / FOOTER GAP
========================================================= */

.cta-section {
    margin-bottom: 0 !important;
}

.site-footer {
    margin-top: 0 !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .footer-container {
        grid-template-columns: 1.3fr 1fr;
        gap: 40px;
        padding: 55px 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .footer-container {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 32px;

        padding: 45px 0;
    }

    .footer-logo img {
        height: 65px;
        max-width: 190px;
    }

    .footer-column h3 {
        font-size: 17px;
        margin: 0 0 22px;
    }

    .footer-column p {
        font-size: 13px;
    }

    .footer-links li {
        margin-bottom: 11px;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
    }

    .footer-bottom-container {
        width: 90%;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        text-align: center;

        gap: 7px;

        padding: 18px 0;
    }

    .footer-bottom p {
        font-size: 11px;
    }

}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .footer-social a {
        width: 35px;
        height: 35px;
    }

}
/* ==============================
   FLOATING WHATSAPP BUTTON
============================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 50px;
    height: 50px;

    background: #25D366;
    color: #ffffff;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;
    text-decoration: none;

    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);

    z-index: 9999;

    transition: all 0.3s ease;

    animation: whatsappPulse 2s infinite;
}

/* Hover Effect */
.whatsapp-float:hover {
    background: #1ebe5d;
    color: #ffffff;

    transform: translateY(-5px) scale(1.08);

    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;

    background: #192B56;
    color: #ffffff;

    padding: 10px 16px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transform: translateX(10px);
    transition: all 0.3s ease;
}

/* Tooltip Arrow */
.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;

    transform: translateY(-50%);

    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #192B56;
}

/* Show Tooltip */
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulse Animation */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;

        bottom: 20px;
        right: 18px;

        font-size: 29px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}