/* Dynamic Footer Styling */
footer {
    background: linear-gradient(135deg, #0a0f1e 0%, #1a1f35 50%, #0f172a 100%);
    color: white;
    padding: 3rem 0 2rem;
    border-top: none;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark), var(--primary-light));
}

footer .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

footer .container > p:first-child {
    text-align: center;
}

footer .footer-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0.5rem auto 0;
    line-height: 1.6;
}

/* Compact social icons + contact — minimal vertical footprint */
.footer-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin: 0.25rem 0;
    line-height: 1.2;
}

.footer-contact-inline {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.96) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 2px;
    margin-left: 0.15rem;
    align-self: center;
}

.footer-contact-inline:hover {
    opacity: 1;
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 7px;
    text-decoration: none !important;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.22);
    opacity: 1;
}

.footer-social-icon svg {
    display: block;
}

footer a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* Footer decorative elements */
footer::after {
    content: '';
    position: absolute;
    right: 2rem;
    bottom: 1.25rem;
    width: 160px;
    height: 160px;
    background-image: url('assets/mind-colored-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
    opacity: 0.95;
}

@media (max-width: 768px) {
    footer::after {
        width: 90px;
        height: 90px;
        right: 1rem;
        bottom: 1rem;
        opacity: 0.8;
    }
}
