/*
 * Meta Humans Enterprise Software
 *
 * @package    Enterprise Software
 * @author     Meta Humans LTD (Pieter Rubeus - owner)
 * @copyright  Copyright (c) Meta Humans LTD® 2025
 * @license    Licensed
 * @link       https://metahumans.one
 */
/* Footer Styles - Professional & Modern Design */

/* Global Dropdown Styling Fix */
select {
    background: #2a2a2a !important;
    color: #00d4ff !important;
    border: 1px solid #333 !important;
}

select option {
    background: #2a2a2a !important;
    color: #00d4ff !important;
}

select:focus {
    border-color: #00d4ff !important;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2) !important;
}
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 60px 0 20px;
    margin-top: 100px;
    width: 100vw;
    font-family: 'Merriweather', serif;
    position: relative;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

/* Brand Logo Styles */
.footer-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img,
.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 240px;
    max-height: 120px;
    /* filter: brightness(0.9) contrast(1.1); */
    transition: all 0.3s ease;
}

.brand-logo:hover {
    /* filter: brightness(1) contrast(1); */
    transform: scale(1.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 25px;
    font-weight: 700;
    font-family: 'Merriweather', serif;
    letter-spacing: -0.5px;
}

.footer-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #00d4ff;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, transparent);
    border-radius: 1px;
}

.footer-section p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
}

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

.footer-links li {
    margin-bottom: 15px;
    display: block;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: space-between;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.footer-links a::after {
    content: '→';
    font-size: 16px;
    font-weight: 600;
    color: #00d4ff;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.15),
        0 0 0 1px rgba(0, 212, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-links a:hover::before {
    left: 100%;
}

.footer-links a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.contact-email {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 15px;
    position: relative;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.contact-email:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    width: 100%;
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.footer-bottom p {
    color: #888;
    font-size: 12px;
    margin: 0;
    font-weight: 400;
}

/* Container styles */
.footer .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 40px;
    }
    
    .footer-links a {
        min-width: 180px;
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-section h3 {
        font-size: 24px;
    }
    
    .footer-section h4 {
        font-size: 18px;
    }
    
    .footer {
        padding: 40px 0 15px;
        margin-top: 60px;
    }
    
    .footer-links a {
        min-width: 100%;
        padding: 12px 20px;
    }
    
    .brand-logo {
        width: 180px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 22px;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
    
    .footer-bottom {
        padding-top: 15px;
    }
    
    .footer .container {
        padding: 0 20px;
    }
    
    .footer-links a {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .brand-logo {
        width: 160px;
        height: 80px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* Go to Top Button Styles */
.go-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;

    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.go-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.go-to-top:hover {
    background: linear-gradient(135deg, #0099cc 0%, #006699 100%);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.go-to-top i {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Responsive Go to Top Button */
@media (max-width: 768px) {
    .go-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .go-to-top i {
        font-size: 1rem;
    }
}