/* ===== MOBILE FOOTER ===== */

.mobile-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.mobile-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(29, 78, 216, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mobile-footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Footer Header */
.mobile-footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-footer-brand {
    display: flex;
    align-items: center;
}

.mobile-footer-logo {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

.mobile-footer-logo:hover {
    transform: scale(1.05);
}

/* Legacy text logo styling (keep for fallback) */
.mobile-footer-logo.text-logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    height: auto;
}

/* Social Links */
.mobile-footer-social {
    display: flex;
    gap: 12px;
}

.mobile-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.mobile-social-link i {
    font-size: 16px;
}

/* Footer Content */
.mobile-footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 480px) {
    .mobile-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.mobile-footer-section:nth-child(1) { animation-delay: 0.1s; }
.mobile-footer-section:nth-child(2) { animation-delay: 0.2s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin: 0 0 15px 0;
    position: relative;
}

.mobile-footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 1px;
}

/* Quick Links */
.mobile-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-footer-section ul li {
    margin-bottom: 8px;
}

.mobile-footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.mobile-footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    transition: transform 0.3s ease;
}

.mobile-footer-section ul li a:hover {
    color: white;
    padding-left: 20px;
    text-decoration: none;
}

.mobile-footer-section ul li a:hover::before {
    transform: translateX(3px);
}

/* Contact Info */
.mobile-footer-contact {
    font-size: 14px;
    line-height: 1.6;
}

.mobile-footer-contact p {
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.mobile-footer-contact p:first-child {
    font-weight: 600;
    color: white;
}

.mobile-footer-contact i {
    color: #3b82f6;
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.mobile-footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-footer-contact a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Footer Bottom */
.mobile-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 480px) {
    .mobile-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.mobile-footer-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: center;
}

@media (min-width: 480px) {
    .mobile-footer-info p {
        text-align: left;
    }
}

/* Desktop Switch Button */
.desktop-switch-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.desktop-switch-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.desktop-switch-btn:active {
    transform: translateY(0);
}

.desktop-switch-btn i {
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 479px) {
    .mobile-footer {
        padding: 30px 0 15px;
    }
    
    .mobile-footer-container {
        padding: 0 15px;
    }
    
    .mobile-footer-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .mobile-footer-logo {
        font-size: 22px;
    }
    
    .mobile-social-link {
        width: 35px;
        height: 35px;
    }
    
    .mobile-social-link i {
        font-size: 14px;
    }
    
    .mobile-footer-content {
        gap: 25px;
    }
    
    .mobile-footer-section h4 {
        font-size: 15px;
        text-align: center;
    }
    
    .mobile-footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mobile-footer-contact {
        text-align: center;
    }
    
    .mobile-footer-contact p {
        justify-content: center;
    }
    
    .desktop-switch-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Background decorative elements */
.mobile-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #3b82f6);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
