/* Footer Styles */
.footer {
    background-color: #5B7FCC;
    color: white;
    margin-top: auto;
}

/* Ensure footer content is left-aligned */
.footer .container {
    text-align: left;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 3rem 0 2rem;
    align-items: start;
}

/* Footer Logo Section */
.footer-logo-section {
    display: flex;
    align-items: flex-start;
}

.footer-logo-img {
    height: 180px;
    width: auto;
    filter: brightness(0) invert(1); /* Makes logo white */
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Follow Section */
.footer-follow-section {
    padding-left: 1rem;
}

.footer-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.footer-social a {
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-social img {
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1); /* Makes icons white */
}

.footer-social a:hover img {
    transform: scale(1.1);
}

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact-text {
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.footer-email {
    margin: 0;
}

.footer-email a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.footer-email a:hover {
    text-decoration: underline;
}

/* Footer Copyright Bar */
.footer-copyright-bar {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-text {
    color: white;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-legal .separator {
    color: white;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-follow-section {
        grid-column: 1 / -1;
        padding-left: 0;
        margin-top: 1rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 2rem 0 1.5rem;
    }
    
    .footer-logo-section {
        grid-column: 1 / -1;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .copyright-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-follow-section {
        padding-left: 0;
    }
    
    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-legal .separator {
        display: none;
    }
}