/* ============================================
   FOOTER STYLES
   ============================================ */

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: white;
    --text-muted: rgba(255, 255, 255, 0.8);
    --white: #ffffff;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --footer-bg: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    --footer-text: rgba(255, 255, 255, 0.9);
    --footer-text-light: rgba(255, 255, 255, 0.75);
    --footer-text-muted: rgba(255, 255, 255, 0.6);
    --footer-text-faint: rgba(255, 255, 255, 0.3);
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-bg-subtle: rgba(255, 255, 255, 0.05);
}

.site-footer {
    display: block !important;
    visibility: visible !important;
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 0;
    position: relative;
    z-index: 1;
    clear: both;
    width: 100%;
    min-height: 400px;
}


@keyframes gradientSlide {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    min-height: 350px !important;
    display: block !important;
}

/* ============================================
   FOOTER CONTENT
   ============================================ */

.footer-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--footer-border);
    min-height: 300px !important;
    height: auto !important;
}

/* ============================================
   FOOTER SECTIONS
   ============================================ */

.footer-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 100px !important;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
    transform: translateX(4px);
}

/* ============================================
   FOOTER ABOUT SECTION
   ============================================ */

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-about .footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-about .footer-logo h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.footer-description {
    color: var(--footer-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   FOOTER CONTACT SECTION
   ============================================ */

.contact-list {
    margin-bottom: 20px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

.footer-hours {
    background: var(--footer-bg-subtle);
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 3px solid var(--primary-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-hours strong {
    color: white;
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    color: var(--footer-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal a {
    color: var(--footer-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal .separator {
    color: var(--footer-text-faint);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
        /* margin-top: 60px; */
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }

    .footer-about {
        grid-column: 1;
        text-align: center;
    }

    .footer-about .footer-logo {
        justify-content: center;
    }

    .footer-about .footer-logo h3 {
        font-size: 1.1rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section h4 {
        font-size: 1rem;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section ul {
        text-align: center;
    }

    .footer-section a:hover {
        transform: translateX(0);
    }

    .contact-list li {
        justify-content: center;
        text-align: left;
    }

    .footer-hours {
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 32px 0 0;
        /* margin-top: 40px; */
    }

    .footer-content {
        gap: 28px;
        padding-bottom: 28px;
    }

    .footer-about .footer-logo img {
        width: 36px;
        height: 36px;
    }

    .footer-about .footer-logo h3 {
        font-size: 1rem;
    }

    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .footer-section a,
    .contact-list li {
        font-size: 1.1rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer-hours {
        font-size: 0.85rem;
        padding: 14px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .copyright,
    .footer-legal a {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile (iPhone SE, small Android) */
@media (max-width: 374px) {
    .site-footer {
        padding: 24px 0 0;
    }

    .footer-content {
        gap: 20px;
        padding: 0 10px;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 12px;
    }

    .social-links {
        gap: 8px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .footer-bottom {
        padding: 12px 10px;
        font-size: 11px;
    }

    .copyright,
    .footer-legal a {
        font-size: 0.8rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
    .site-footer {
        animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
