* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    flex: 1;
    padding: 2rem 0;
    text-align: center;
}

.footer {
    background-color: #121212; /* Black */
    color: #f5f5f5;
    padding: 3rem 0 1.5rem;
    /* Removed margin-top: auto; to prevent extra whitespace */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Apply font specifically to footer */
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.footer-brand p {
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color); /* Primary color accent */
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.7rem;
}

.footer-links ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color); /* Primary color accent */
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-info div {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-info i {
    color: var(--primary-color); /* Primary color accent */
    margin-top: 0.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333333; /* Dark gray */
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a.facebook {
    background-color: #3b5998; /* Facebook blue */
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.social-links a.facebook:hover {
    background-color: #2d4373; /* Darker Facebook blue */
}

.social-links a:not(.facebook):hover {
    background-color: var(--primary-color); /* Primary color accent on hover for other buttons */
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #333333;
    text-align: center;
    color: #cccccc;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand, .footer-links {
        text-align: center;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}
