/* Modern Footer Styles */
.site-footer {
    background-color: #111827;
    /* Dark background */
    color: #f3f4f6;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #2563eb, #10b981, #f97316);
    /* Primary, Secondary, Accent */
    z-index: 10;
}

/* Footer Background Pattern */
.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    margin-bottom: 0.5rem;
}

.footer-about p {
    color: #9ca3af;
    /* Gray text */
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background-color: #2563eb;
    /* Primary color */
    transform: translateY(-3px);
}

/* Trust Badges - Premium White Card Style */
.footer-branding-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    /* Fixed height for consistency */
    width: auto;
    min-width: auto;
    transition: transform 0.3s ease;
    margin-right: 1.5rem;
}

.trust-badge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.trust-badge-card img {
    max-height: 40px;
    /* Ensure logos fit nicely */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 1;
    /* Reset opacity for these specific images */
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.footer-links h4 {
    color: #fff;
    font-size: 1rem;
    /* Slightly smaller, more refined */
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.9;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 24px;
    /* Shorter accent */
    height: 2px;
    background-color: #2563eb;
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: block;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Google Rating */
.google-rating-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.google-rating-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    padding-left: 1rem !important;
    /* Override hover padding */
}

.google-rating-stars {
    color: #fbbf24;
    /* Amber/Gold */
    font-size: 0.9rem;
}

.google-rating-link span {
    font-size: 0.9rem;
    color: #fff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-about {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-branding-logos {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .site-footer {
        padding: 4rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .footer-branding-logos {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-logo {
        height: 60px;
    }
}