/* ============================================= */
/* === Footer Section                        === */
/* ============================================= */
.site-footer {
    background-color: #3E593C;
    color: #e0e0e0;
    padding: 50px 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-content-wrapper { /* Flex container for footer columns */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column.footer-info { /* Target the specific column more precisely if needed */
    flex: 2; /* Takes more space */
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 25px; /* Space between footer blocks within this column */
}

.footer-column.footer-logo-area { /* Target the specific column */
    flex: 1;
    min-width: 200px;
    display: flex;
    justify-content: center; /* Center logo horizontally */
    align-items: center; /* Center logo vertically if there's extra space */
}

.footer-logo-area img { /* Footer logo image */
    max-width: 220px;
    height: auto;
}

.footer-block h5 { /* Headings within footer (e.g., "Connect With Us") */
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-block p {
    margin-bottom: 10px;
}

.footer-block a { /* Links in footer */
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-block a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Spacing for pipe-separated links */
.social-links a,
.legal-links a {
    margin-right: 5px;
    margin-left: 5px;
}
.social-links a:first-child,
.legal-links a:first-child {
    margin-left: 0;
}
.social-links a:last-child,
.legal-links a:last-child {
    margin-right: 0;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.8;
}

.tagline {
    opacity: 0.9;
    font-style: italic;
}

/* --- Footer Section (Mobile: max-width: 768px) --- */
@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-column.footer-info {
        flex-basis: 100%; /* Full width when stacked */
        align-items: center; /* Center the blocks within */
        margin-bottom: 30px; /* Space before the logo area */
        order: 1; /* Ensure info comes first */
    }
    .footer-block {
        width: 100%;
        max-width: 400px; /* Max width for readability */
    }
    .footer-column.footer-logo-area {
        flex-basis: 100%; /* Full width when stacked */
        justify-content: center;
        margin-top: 20px; /* Space after the info blocks */
        order: 2; /* Logo area comes after info */
    }
    .footer-logo-area img {
        max-width: 160px; /* Smaller logo on mobile */
    }
    .social-links, .legal-links {
        /* Ensure links wrap nicely if needed */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .social-links a, .legal-links a {
        margin: 0 5px 5px 5px; /* Add bottom margin for wrapped links */
    }
}