/* ========== PUBLIC FOOTER STYLES ========== */
/* Extracted from landingpage.css for use across all pages */

footer {
    backdrop-filter: blur(10px);
    padding: 60px 0 0;
    color: white;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(227, 24, 55, 0.5), rgba(59, 130, 246, 0.5), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #E31837 0%, #FF6B6B 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-style: italic;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(227, 24, 55, 0.2);
    border-color: rgba(227, 24, 55, 0.5);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(227, 24, 55, 0.3);
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E31837, #FF6B6B);
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links li a:hover::before {
    width: 100%;
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact li i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E31837;
    font-size: 12px;
    background: rgba(227, 24, 55, 0.15);
    border-radius: 6px;
    flex-shrink: 0;
}

.footer-contact li span {
    line-height: 1.4;
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-made-with i {
    color: #E31837;
    font-size: 12px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 0;
        margin-top: 60px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .footer-heading {
        font-size: 14px;
    }

    .footer-links li a,
    .footer-contact li {
        font-size: 13px;
    }
}
