/* Footer Enhanced Styles */
.footer-enhanced {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
    z-index: 1;
}

/* Animated Background */
.footer-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.9;
    }
}

/* Floating particles effect */
.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 1;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; width: 10px; height: 10px; }
.particle:nth-child(2) { left: 20%; animation-delay: -5s; width: 6px; height: 6px; }
.particle:nth-child(3) { left: 30%; animation-delay: -10s; width: 8px; height: 8px; }
.particle:nth-child(4) { left: 40%; animation-delay: -15s; width: 12px; height: 12px; }
.particle:nth-child(5) { left: 50%; animation-delay: -20s; width: 14px; height: 14px; }
.particle:nth-child(6) { left: 60%; animation-delay: -25s; width: 7px; height: 7px; }
.particle:nth-child(7) { left: 70%; animation-delay: -30s; width: 9px; height: 9px; }
.particle:nth-child(8) { left: 80%; animation-delay: -35s; width: 11px; height: 11px; }
.particle:nth-child(9) { left: 90%; animation-delay: -40s; width: 5px; height: 5px; }

/* Company logo section enhanced */
.footer-logo-section {
    position: relative;
    z-index: 2;
}

.footer-logo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-logo:hover::before {
    opacity: 1;
}

.footer-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.4);
}

/* Content cards */
.footer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.footer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

/* Social media buttons enhanced */
.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.3s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.social-btn:hover::before {
    width: 100px;
    height: 100px;
}

.social-btn.twitter:hover {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.4);
    transform: translateY(-5px) scale(1.1);
}

.social-btn.linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #005885);
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.4);
    transform: translateY(-5px) scale(1.1);
}

.social-btn.instagram:hover {
    background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
    box-shadow: 0 10px 30px rgba(228, 64, 95, 0.4);
    transform: translateY(-5px) scale(1.1);
}

.social-btn.youtube:hover {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
    transform: translateY(-5px) scale(1.1);
}

/* Quick links enhanced */
.footer-link {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 10px;
    padding-left: 15px;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.footer-link:hover::before {
    transform: scaleY(1);
}

.footer-link:hover {
    color: #ffffff;
    padding-left: 25px;
    background: rgba(102, 126, 234, 0.1);
}

.footer-link i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.footer-link:hover i {
    transform: translateX(-5px);
}

/* Contact info enhanced */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: spin 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover .contact-icon::before {
    opacity: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Newsletter enhanced */
.newsletter-form {
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.subscribe-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

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

.subscribe-btn:hover::before {
    left: 100%;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Footer bottom enhanced */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 30px 0;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 8px;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

.footer-bottom-links a:hover {
    color: #ffffff;
    background: rgba(102, 126, 234, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-card {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .footer-logo {
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
        margin: 5px;
    }
    
    .contact-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        margin-left: 10px;
    }
}

/* Hover effects for company description */
.company-description {
    transition: all 0.3s ease;
    position: relative;
}

.company-description::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.footer-logo-section:hover .company-description::after {
    width: 100%;
}

.footer-logo-section:hover .company-description {
    color: rgba(255, 255, 255, 0.9);
}
