/* Footer Styles */
#footer {
    flex-shrink: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 0.9rem;
}

#footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer content layout */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    padding-bottom: 1rem;
}

.footer-section {
    flex: 1 1 220px;
    min-width: 180px;
}

.footer-section h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* Footer links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #81c784;
    text-decoration: underline;
    outline: none;
}

/* Buttons */
.button {
    display: inline-block;
    background-color: #4CAF50;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    transition: background-color 0.3s ease;
}

.button:hover,
.button:focus {
    background-color: #388e3c;
    outline: none;
}

/* Footer bottom */
.footer-bottom {
    margin: 0;           /* remove margin-top that pushes it up */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;     /* keeps spacing inside */
    text-align: center;
    color: #ccc;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
    color: #81c784;
    text-decoration: underline;
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        min-width: 100%;
    }
}
/* Make body a column flex container */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* full viewport height */
    margin: 0;
}

main {
    flex: 1 0 auto; /* expands to fill space above footer */
}
