/* Footer Component Styles all pages*/
.footer-container {
    background: linear-gradient(to top,  #334155,#2B3F6D);
    color: white;
    margin-top: auto;
    padding: 2rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 1.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Brand Section */
.footer-brand {
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Links Section */
.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(4px);
}

/* Bottom Section */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-user-info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-section {
        align-items: center;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Ensure footer stays at bottom */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto;
}

.footer-container {
    flex-shrink: 0;
}