/* Footer Styles */
.footer {
    background-color: #2a6e36;
    /* Dark green for footer background */
    color: white;

    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 10px 20px;

}

.footer-logo {
    display: flex;
    flex-direction: column;
    /* stack vertically */
    align-items: center;
    /* center horizontally */
    justify-content: center;
    /* center vertically if needed */
    text-align: center;
    /* center text inside <p> */
}

.footer-logo img {
    width: 100px;
    margin-bottom: 10px;

}

.footer-brand-name {
    font-size: 0.80rem !important;
    font-weight: bold;
    color: white;
}

.footer h4 {
    font-size: 1.0rem;
    margin-bottom: 15px;
}

.footer-links,
.footer-contact,
.footer-social,
.footer-newsletter {
    list-style: none;
    padding: 0;
}

.footer-links a,
.footer-social a,
.footer-newsletter button {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    margin: 5px 0;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #a7d08e;
    /* Light green hover effect */
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: left;

}

.social-icon {
    font-size: 1.5rem;
    color: white;
}

.footer-legal {
    text-align: center;
    padding: 20px 0;
    background-color: #1e4a2e;
    font-size: 0.9rem;
}

.footer-legal a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-legal a:hover {
    color: #a7d08e;
    /* Light green hover effect */
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 10px !important;
    right: 10px;
    font-size: 2rem;
    color: rgb(216, 211, 211) !important;
    text-decoration: none;
    background-color: none;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(121, 120, 120, 0.1);
    transition: background-color 0.3s, transform 0.3s;
    z-index: 9998;
}

.back-to-top:hover {
    opacity: 0.7;
    transform: translateY(-5px);
}

.whatsapp-float {
    position: fixed;
    bottom: 10px !important;
    right: 50px;
    /* Adjust this to be beside the back-to-top */
    font-size: 2rem;
    color: #25d366;
    text-decoration: none;
    background-color: transparent;
    padding: 10px;
    border-radius: 50%;

    transition: background-color 0.3s, transform 0.3s;
    z-index: 9998;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    opacity: 0.7;
}

/* Responsive Layout for Mobile Devices */
@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        /* Stacks items in two columns */

        /* Add padding to the left and right */
        font-size: 0.95rem;
        padding-right: 25px !important;
        gap: 20px !important;
    }

    .footer-logo img {
        width: 90px;
    }

    .footer-social {

        justify-content: left;

        /* Center social icons */
        font-size: 0.85 rem !important;
        /* Remove margin-right to avoid pushing layout */
    }

    .social-icon {
        font-size: 1.5rem;
        color: white;
    }

}