/* css/footer.css */

/* Main footer container (the placeholder tag) */
footer#footer-placeholder {
    background-color: var(--dark-color, #2c3e50);
    color: #a0aec0;
    /* A lighter grey for better readability */

    /* KEY FIX 1: Increased top padding for more space from the section above */
    padding-top: 6rem;
    margin-top: auto;
    /* Pushes footer to the bottom */

    /* KEY FIX 3: Increased base font size for the entire footer */
    font-size: 1rem;
    line-height: 1.7;
}

/* Headings within the footer */
footer#footer-placeholder h3 {
    color: var(--white-color, #ffffff);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

/* Underline effect for headings */
footer#footer-placeholder h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary-color, #43c4a2);
    border-radius: 2px;
}


/* Grid layout for footer columns */
.footer-grid {
    display: grid;
    /* KEY FIX 2: More explicit column layout for responsiveness */
    grid-template-columns: 1fr;
    /* 1 column on mobile */
    gap: 2.5rem;
    /* Space between rows on mobile */
    padding-bottom: 3rem;
}

@media (min-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
        gap: 2rem;
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 columns on desktop */
        gap: 2.5rem;
    }
}


/* About column specific styles */
.footer-about p {
    color: #a0aec0;
    /* Lighter grey for better readability */
}

/* General list styling for Quick Links and Tools */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.85rem;
}

.footer-column ul li a {
    color: #a0aec0;
    /* Lighter grey for links */
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color, #43c4a2);
    padding-left: 5px;
    /* Subtle indent effect on hover */
    text-decoration: none;
}

/* "Get in Touch" section list */
.contact-details-list-footer li {
    display: flex;
    align-items: center;
}

.contact-details-list-footer .fas {
    margin-right: 0.75rem;
    color: var(--primary-color);
    width: 20px;
    /* For alignment */
}

.contact-details-list-footer a {
    color: #a0aec0;
    /* Match other link colors */
}

.contact-details-list-footer a:hover {
    color: var(--primary-color);
}

/* Social media icons */
.social-links {
    margin-top: 1.5rem;
}

.social-links p {
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 0.75rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-color-light, #34495e);
    color: var(--white-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Copyright bar at the very bottom */
.copyright-bar {
    background-color: #1f2c3a;
    /* Even darker shade */
    color: #8492a6;
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.9rem;
    /* Increased font size */
    border-top: 1px solid var(--dark-color-light, #34495e);
}

.copyright-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .copyright-content {
        flex-direction: row;
    }
}

.copyright-bar p {
    margin: 0;
}

.footer-legal-nav a {
    font-size: 16px;
    color: #8492a6;
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.2s ease;
}

.footer-legal-nav a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}