/* General Footer Styles */
footer {
    background: #FFFBEC;
    padding-top: 2rem; /* Reduced top padding */
    font-family: "Futura Bk BT", Arial, sans-serif;
    color: #313131;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Reduced padding */
}

/* Footer Row */
.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem; /* Reduced gap */
    justify-content: space-between;
    
}

/* Location Section */
.footer-location {
    flex: 1 1 100%;
    max-width: 600px;
    display: flex;
    gap: 0.75rem; /* Further reduced gap */
    background: #FFFBEC;
    border: 1px solid rgba(109, 110, 112, 0.3);
    padding: 1rem 1rem 0.5rem 1rem; /* Reduced bottom padding to fix extra space */
    border-radius: 8px;
    min-height: 150px; /* Added min-height to control footer height */
    margin-bottom: 0; /* Remove extra bottom margin */
}

.map-container {
    flex: 1;
}

.map-assets {
    width: 100%;
    height: 200px; /* Increased map height */
    border: none;
    border-radius: 8px;
}

.location-content {
    flex: 1;
}

.location-content h2 {
    font-size: 1.3rem; /* Further reduced font size */
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #313131;
}

.location-content p {
    font-size: 0.85rem; /* Further reduced font size */
    color: #6D6E70;
    margin-bottom: 0.4rem;
}

.location-content a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-content a:hover {
    color: #003366;
}

/* Footer Links Section */
.footer-links-section {
    flex: 1 1 100%;
    max-width: 400px;
}

.footer-links-wrapper {
    display: flex;
    gap: 1.5rem; /* Reduced gap */
    margin-bottom: 0.5rem !important; /* Reduced margin */
}

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

.footer-links li {
    margin-bottom: 0.5rem; /* Reduced margin */
}

.footer-link {
    color: #6D6E70;
    font-size: 0.9rem; /* Slightly smaller font */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #000;
}

/* Social Section */
.footer-social {
    margin-top: 0.5rem !important;/* Reduced margin */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img {
    max-width: 250px;
    height: auto;
}

.social-links {
    display: flex;
    gap: 0.75rem; /* Reduced gap */
    list-style: none;
    padding: 0;
    margin-top: 0.75rem; /* Reduced margin */
    justify-content: center;
}

.social-links img {
    transition: opacity 0.3s ease;
}

.social-links img:hover {
    opacity: 0.8;
}

/* Copyright Section */
.copyright {
    text-align: center;
    padding: 1rem 0; /* Reduced padding */
    border-top: 1px solid rgba(109, 110, 112, 0.3);
    margin-top: 1.5rem; /* Reduced margin */
}

.copyright p {
    font-size: 0.8rem; /* Slightly smaller font */
    color: #6D6E70;
    margin: 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .footer-row {
        flex-wrap: nowrap;
    }

    .footer-location {
        flex: 1 1 60%;
        max-width: 60%;
    }

    .footer-links-section {
        flex: 1 1 35%;
        max-width: 35%;
    }

    .map-assets {
        height: 250px; /* Increased height for larger screens */
    }

    .location-content h2 {
        font-size: 1.4rem;
    }

    .location-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .footer-location {
        flex-direction: column;
    }

    .map-container,
    .location-content {
        width: 100%;
    }

    .map-assets {
        height: 180px; /* Increased height for mobile */
    }

    .footer-links-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-links {
        width: 100%;
    }

    .footer-logo img {
        max-width: 200px;
    }
}
