/* Footer Responsive Styles */

.footer-container {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 60px 20px 20px 20px;
}

.footer-top, .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    box-sizing: border-box;
}

.footer-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #000;
}

.footer-section.start {
    text-align: left;
}

.footer-section.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section.end {
    text-align: end;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-section form {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.footer-section button {
    background-color: #ff6600;
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-section button:hover {
    background-color: #000;
    color: #ff6600;
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-icons a {
    color: rgb(0, 0, 0);
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
}

.social-icons a:hover {
    color: #ff6600;
    background-color: rgba(255, 102, 0, 0.1);
    transform: translateY(-3px);
}

.footer-bottom .footer-section {
    display: flex;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* Tablet Styles */
@media (max-width: 768px) {
    .footer-container {
        padding: 40px 15px 15px 15px;
    }
    
    .footer-top, .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section {
        flex: none;
        width: 100%;
        max-width: 400px;
        padding: 20px 15px;
        text-align: center;
        align-items: center;
    }
    
    .footer-section.start,
    .footer-section.center,
    .footer-section.end {
        text-align: center;
        align-items: center;
    }
    
    .footer-section h4 {
        justify-content: center;
        font-size: 1.1rem;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .footer-bottom {
        padding-top: 20px;
        text-align: center;
    }
    
    .footer-bottom .footer-section {
        justify-content: center;
        margin-bottom: 15px;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .footer-container {
        padding: 30px 10px 10px 10px;
    }
    
    .footer-top, .footer-bottom {
        gap: 20px;
        padding: 15px 0;
    }
    
    .footer-section {
        padding: 15px 10px;
        min-width: auto;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .footer-section ul li {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .footer-section button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .footer-bottom .footer-section p {
        font-size: 0.9rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .footer-container {
        padding: 80px 50px 20px 50px;
    }
    
    .footer-section {
        min-width: 300px;
    }
    
    .footer-section h4 {
        font-size: 1.3rem;
    }
    
    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* Additional homepage footer styles for consistency */
.footer-container {
    background: white; /* Match map background */
    margin-top: -25px; /* Pulls the footer up */
    padding-top: 40px; /* Ensures spacing */
    z-index: 2;
}
