/* Footer Styles for School of Hygiene-Mbale */
:root {
    --primary-red: #e41e26;
    --primary-blue: #1a3d8f;
    --primary-yellow: #ffd600;
    --footer-bg: #1a3d8f;
    --footer-secondary-bg: #133073;
    --footer-text: #ffffff;
    --footer-link-hover: #ffd600;
    --footer-bottom-bg: #0d1e42;
}

/* General Footer Styles */
#site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
}

#site-footer h3, #site-footer h4 {
    color: var(--primary-yellow);
    margin-bottom: 15px;
    font-weight: 600;
}

#site-footer a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

#site-footer a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Footer Main */
.footer-main {
    padding: 40px 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Social Media Icons */
.social-media {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
}

/* Address in Contacts */
address {
    font-style: normal;
    line-height: 1.8;
}

/* Footer Secondary */
.footer-secondary {
    background-color: var(--footer-secondary-bg);
    padding: 30px 0;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.footer-section li {
    margin-bottom: 8px;
}

/* Footer Bottom */
.footer-bottom {
    background-color: var(--footer-bottom-bg);
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    margin: 0;
}

.attribution {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 30px 0;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
} 