/* Footer */
footer {
    background: #312e2e;
    padding: 50px 30px; /* Increased padding for better spacing */
    color: #fff;
    text-align: center;
}

/* Footer container */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    align-items: flex-start;
    gap: 20px; /* Added spacing between sections */
}

/* Footer sections */
.footer-section {
    flex: 1;
    min-width: 280px; /* Adjusted for better responsiveness */
    margin: 15px; /* More spacing around sections */
}

/* Footer headings */
.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #7abd98;
    display: inline-block;
    padding-bottom: 5px;
}

/* Footer links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin: 10px 0; /* Increased spacing between links */
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
    color: #7abd98;
}

/* Contact info */
.contact-info p {
    margin: 8px 0; /* Added more spacing */
    font-size: 1rem;
    color: #ddd;
}

/* Social media section */
.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 15px; /* More space above social icons */
    align-items: center;
}

.social-icons a {
    color: #bbb;
    font-size: 1.6rem;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.social-icons a:hover {
    color: #7abd98;
    transform: scale(1.1); /* Slight zoom effect */
}

/* Copyright text */
.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 12px;
    font-size: 0.95rem;
    color: #bbb;
    text-align: center;
}

/* 🔹 Compact Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        justify-content: center;
        gap: 10px;
        padding: 15px 8px;
    }

    .footer-section {
        min-width: 40%;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 10px;
    }

    .footer-section {
        min-width: 100%;
        margin-bottom: 5px;
    }

    .footer-section h3 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .footer-section p,
    .footer-bottom {
        font-size: 0.75rem;
        margin: 0;
    }

    .social-icons {
        justify-content: center;
        gap: 5px;
    }

    .social-icons a {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 8px 5px;
    }

    .footer-container {
        gap: 5px;
    }

    .footer-section h3 {
        font-size: 0.85rem;
    }

    .footer-section p,
    .footer-bottom {
        font-size: 0.7rem;
    }

    .social-icons {
        gap: 4px;
    }

    .social-icons a {
        width: 20px;
        height: 20px;
    }
}


/* Nationwide Service Section */
.nationwide-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;  /* White background */
    color: #333; /* Darker text for contrast */
    padding: 60px 10%;
    flex-wrap: wrap;
}

/* Text Content */
.text-content {
    flex: 1;
    max-width: 50%;
    font-family: "Poppins", sans-serif; /* Modern and elegant font */
}

.text-content h2 {
    font-size: 2.2rem;
    color: #7abd98; /* Theme color */
    margin-bottom: 15px;
    font-weight: 600;
}

.text-content p {
    font-size: 1.3rem; /* Increased font size */
    line-height: 1.8;
    font-weight: 400;
    font-family: "Merriweather", serif; /* Elegant and stylish font */
}

/* Map Container */
.map-container {
    flex: 1;
    text-align: right;
}

.usa-map {
    max-width: 90%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nationwide-service {
        padding: 50px 8%;
    }

    .text-content h2 {
        font-size: 2rem;
    }

    .text-content p {
        font-size: 1.2rem;
    }

    .usa-map {
        max-width: 85%;
    }
}

@media (max-width: 768px) {
    .nationwide-service {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }

    .text-content {
        max-width: 100%;
    }

    .text-content h2 {
        font-size: 1.8rem;
    }

    .text-content p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .map-container {
        max-width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .usa-map {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .nationwide-service {
        padding: 30px 3%;
    }

    .text-content h2 {
        font-size: 1.6rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .usa-map {
        max-width: 90%;
    }
}