/* General Footer Styles */
.footer {
    background-color: #f4f4f9;
    color: #333;
    padding: 2rem 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 20%;
    margin: 50px 1rem;
    text-align: left;
}

.about {
    flex: 2 1 40%;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.about p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-icons a {
    color: #6a1b9a;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #333;
}

.links h3,
.contact h3,
.newsletter h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links ul li {
    margin-bottom: 0.5rem;
}

.links ul li a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
}

.contact p {
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-map iframe {
    margin-top: 1rem;
    border: none;
    border-radius: 5px;
}

.newsletter-signup {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.newsletter-signup input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
}

.newsletter-signup button {
    padding: 0.5rem 1rem;
    background-color: #6a1b9a;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
}

.newsletter-signup button:hover {
    background-color: #6a1b9a;
}

.footer-bottom {
    background-color: #e4e4e4;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design for 768px and Below */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center; /* Center-align all sections */
        text-align: center; /* Center-align text */
        padding: 1rem;
    }

    .footer-section {
        flex: 1 1 100%; /* Full width for each section */
        margin: 1rem 0; /* Add spacing between sections */
    }

    .footer-logo {
        margin: 0 auto; /* Center the logo */
        max-width: 120px;
    }

    .social-icons {
        justify-content: center; /* Center social icons */
    }

    .newsletter-signup {
        flex-direction: column; /* Stack input and button vertically */
        align-items: center; /* Center-align input and button */
        width: 100%;
    }

    .newsletter-signup input,
    .newsletter-signup button {
        width: 90%; /* Adjust width for smaller screens */
        margin-bottom: 0.5rem;
    }

    .footer-map iframe {
        height: 150px;
        width: 90%; /* Adjust map width */
        margin: 0 auto; /* Center-align map */
    }
}

/* Responsive Design for 480px and Below */
@media screen and (max-width: 480px) {
    .footer-container {
        padding: 1rem;
    }

    .footer-section {
        flex: 1 1 100%; /* Stack sections vertically */
        margin: 0.5rem 0; /* Reduce spacing for small screens */
    }

    .about p {
        font-size: 0.8rem; /* Reduce font size */
    }

    .social-icons a {
        font-size: 1.2rem; /* Adjust icon size */
        margin: 0 0.5rem;
    }

    .newsletter-signup input,
    .newsletter-signup button {
        font-size: 0.8rem;
        padding: 0.4rem;
        width: 100%; /* Full width */
    }

    .footer-map iframe {
        height: 120px;
    }

    .footer-bottom {
        font-size: 0.8rem; /* Reduce footer text size */
    }
}

/* Responsive Design for 700px and Below */
@media screen and (max-width: 700px) {
    .footer-container {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center-align all sections */
        text-align: center; /* Center-align text */
        padding: 1rem;
    }

    .footer-section {
        flex: 1 1 100%; /* Full width for each section */
        margin: 1rem 0; /* Add spacing between sections */
    }

    .footer-logo {
        margin: 0 auto; /* Center the logo */
        max-width: 120px;
    }

    .social-icons {
        justify-content: center; /* Center social icons */
    }

    .newsletter-signup {
        flex-direction: column; /* Stack input and button vertically */
        align-items: center; /* Center-align input and button */
        width: 100%;
    }

    .newsletter-signup input,
    .newsletter-signup button {
        width: 90%; /* Adjust width for smaller screens */
        margin-bottom: 0.5rem;
    }

    .footer-map iframe {
        height: 150px;
        width: 90%; /* Adjust map width */
        margin: 0 auto; /* Center-align map */
    }

    .about p {
        font-size: 0.8rem; /* Slightly smaller font size */
    }

    .links ul li a,
    .contact p {
        font-size: 0.9rem;
    }
}
