﻿/* Footer Styling */
.site-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: auto;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700 0%, #ffffff 100%);
}

.footer-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #667eea;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1rem;
}

    .footer-links a::before {
        content: '⬥';
        position: absolute;
        left: 0;
        color: #ffd700;
        font-weight: bold;
        transition: all 0.3s ease;
    }

.footer-links a:hover {
    color: #ffffff;
    padding-left: 1.25rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-links a:hover::before {
    transform: translateX(3px);
    color: #ffffff;
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

.footer-contact i {
    color: #ffd700;
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
}

.footer-copyright strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
}

.footer-tagline i {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .site-footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-heading {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-text,
    .footer-links a,
    .footer-contact li {
        font-size: 0.85rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a {
        padding-left: 0;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.25rem;
    }

    .footer-copyright,
    .footer-tagline {
        font-size: 0.8rem;
    }
}

/* Mobile Bottom Navigation Adjustment */
@media (max-width: 991.98px) {
    .layout-root {
        padding-bottom: 70px !important; /* Already handled in site.css, but ensuring footer doesn't overlap */
    }
}

/* Footer Pages (Help/FAQ/Terms/Privacy) */
.footer-page {
    max-width: 900px;
    margin: 0 auto;
}

.footer-page .card {
    border: 1px solid rgba(102, 126, 234, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
}

.footer-page .page-title {
    font-weight: 750;
    letter-spacing: -0.2px;
}

.footer-page .page-lead {
    color: rgba(33, 37, 41, 0.75);
    margin: 0 auto;
    max-width: 52rem;
}

.footer-page .section {
    padding: 1.0rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-page .section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Question (title) vs answer (content) */
.footer-page .section-title {
    font-size: 1.05rem;
    font-weight: 750;
    margin-bottom: 0.35rem;
    color: #2d3748;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Small Q badge to visually split question from answer */
.footer-page .section-title::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.18);
    flex: 0 0 22px;
}

.footer-page .section p {
    margin-bottom: 0.5rem;
}

.footer-page .section p:last-child {
    margin-bottom: 0;
}

/* Better bullets */
.footer-page ul,
.footer-page ol {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.footer-page li {
    margin: 0.35rem 0;
}

.footer-page li::marker {
    color: rgba(102, 126, 234, 0.75);
    font-weight: 700;
}

/* Inline callout for important notes */
.footer-page .info-callout {
    background: rgba(102, 126, 234, 0.06);
    border: 1px solid rgba(102, 126, 234, 0.18);
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.footer-page .info-callout .info-title {
    font-weight: 750;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.footer-page a {
    text-underline-offset: 3px;
}

/* Slightly tighter rhythm on small screens */
@media (max-width: 575.98px) {
    .footer-page .card-body {
        padding: 1.25rem !important;
    }

    .footer-page .section {
        padding: 0.85rem 0;
    }
}