/* Basic Reset and Variables (Optional but helpful) */
:root {
    --footer-bg: #222;
    --footer-text: #ccc;
    --footer-link: #fff;
    --footer-hover: #00bcd4; /* A light blue/cyan for hover effects */
}

/* Base Footer Styling */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
}

/* Main Content Container (Flexbox for Layout) */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 30px;
    gap: 30px; /* Space between columns */
}

/* Column Styling */
.footer-brand,
.footer-links,
.footer-social {
    min-width: 200px; /* Ensures columns don't get too narrow on desktop */
}

/* Logo/Brand Section */
.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--footer-link);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Links Section */
.footer-links h4,
.footer-social h4 {
    color: var(--footer-link);
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--footer-hover); /* Simple separator */
    padding-bottom: 5px;
    display: inline-block;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--footer-hover);
}

/* Social Icons Section */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 1.2rem;
    border: 2px solid var(--footer-link);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, border-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--footer-hover);
    border-color: var(--footer-hover);
    color: var(--footer-bg);
}

/* Bottom Copyright Section */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333; /* Separator line */
    font-size: 0.85rem;
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand,
    .footer-links,
    .footer-social {
        width: 100%;
        min-width: unset;
        margin-bottom: 20px;
    }

    .footer-links ul {
        /* Center lists on small screens */
        display: inline-block;
    }
    
    .footer-links h4,
    .footer-social h4 {
        border-bottom: none;
    }

    .social-icons {
        justify-content: center;
    }
}