/* Footer Styles with -ftr prefix */
.footer-ftr {
    position: relative;
    padding: 80px 0 0;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    overflow: hidden;
    z-index: 1;
    margin-top: 100px;
}

.footer-ftr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(0,0,0,0.2)"/></svg>');
    opacity: 0.1;
    z-index: -1;
}

/* 3D Layered Wave Effect */
.footer-wave-ftr {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    line-height: 0;
    transform-origin: bottom;
    z-index: 2;
}

.footer-wave-ftr svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    transform: rotateY(180deg);
}

.footer-wave-ftr .shape-fill {
    fill: url(#footer-gradient-ftr);
}

/* Main Content Layout */
.footer-content-ftr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 3;
    padding-bottom: 40px;
}

/* Section Styling */
.footer-section-ftr {
    position: relative;
    z-index: 2;
}

.footer-section-ftr h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #74b9ff, #45b7d1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.footer-section-ftr h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #74b9ff, #45b7d1, transparent);
    border-radius: 3px;
}

.footer-section-ftr h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #f8f9fa;
    position: relative;
    display: inline-block;
}

.footer-section-ftr h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.footer-section-ftr p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Social Links */
.social-links-ftr {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links-ftr a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links-ftr a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #74b9ff, #45b7d1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-links-ftr a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-links-ftr a:hover::before {
    opacity: 1;
}

/* Lists */
.footer-section-ftr ul {
    list-style: none;
    padding: 0;
}

.footer-section-ftr ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.footer-section-ftr ul li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: #74b9ff;
    font-size: 0.8rem;
}

.footer-section-ftr ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-section-ftr ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #74b9ff;
    transition: width 0.3s ease;
}

.footer-section-ftr ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-section-ftr ul li a:hover::after {
    width: 100%;
}

/* Contact Info */
.contact-info-ftr {
    margin-top: 15px;
}

.contact-info-ftr p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info-ftr p i {
    margin-right: 15px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #f39c12;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-info-ftr p:hover i {
    transform: rotate(15deg) scale(1.2);
    background: rgba(255, 255, 255, 0.2);
}

/* Creative Footer Elements */
.creative-footer-ftr {
    position: relative;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    overflow: hidden;
}

/* Inspirational Quote */
.footer-quote-ftr {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-quote-ftr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(243, 156, 18, 0.05), rgba(231, 76, 60, 0.05));
    border-radius: 15px;
    z-index: -1;
}

.footer-quote-ftr i {
    font-size: 2rem;
    color: rgba(243, 156, 18, 0.5);
    margin-bottom: 15px;
    display: block;
}

.footer-quote-ftr p {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    color: #fff;
    margin-bottom: 15px;
}

.quote-author-ftr {
    font-weight: 600;
    color: #f39c12;
    display: block;
}

/* Mini Stats */
.footer-stats-ftr {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.mini-stat-ftr {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mini-stat-ftr:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.stat-icon-ftr {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #f39c12, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.stat-text-ftr {
    display: flex;
    flex-direction: column;
}

.stat-num-ftr {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-desc-ftr {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* Interactive Energy Particles */
.footer-particles-ftr {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.energy-particle-ftr {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #f39c12;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.8);
    animation: particleFloat 15s infinite linear;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Copyright Section */
.copyright-ftr {
    text-align: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: relative;
    z-index: 3;
}

.pulse-heart-ftr {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
    display: inline-block;
    margin: 0 5px;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* 3D Energy Globe */
.footer-globe-ftr {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 100px;
    height: 100px;
    z-index: 4;
    display: none; /* Hidden on mobile, shown on desktop */
}

.globe-core-ftr {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #f39c12, #e74c3c);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.8);
    animation: pulse 2s infinite;
}

.energy-ring-ftr {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(243, 156, 18, 0.3);
    animation: rotate 10s linear infinite;
}

.ring-1-ftr {
    width: 60px;
    height: 60px;
    animation-duration: 10s;
}

.ring-2-ftr {
    width: 80px;
    height: 80px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.ring-3-ftr {
    width: 100px;
    height: 100px;
    animation-duration: 20s;
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* Interactive Elements */
.footer-interactive-ftr {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 5;
}

.interactive-button-ftr {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.interactive-button-ftr:hover {
    background: rgba(243, 156, 18, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.interactive-button-ftr i {
    margin-right: 8px;
}

/* Responsive Design */
@media (min-width: 992px) {
    .footer-globe-ftr {
        display: block;
    }
    
    .footer-content-ftr {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .footer-content-ftr {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-stats-ftr {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mini-stat-ftr {
        width: calc(50% - 20px);
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-ftr {
        padding-top: 60px;
    }
    
    .footer-wave-ftr {
        top: -50px;
        height: 50px;
    }
    
    .footer-wave-ftr svg {
        height: 50px;
    }
    
    .footer-content-ftr {
        gap: 30px;
    }
    
    .footer-section-ftr h3 {
        font-size: 1.5rem;
    }
    
    .footer-section-ftr h4 {
        font-size: 1.2rem;
    }
    
    .footer-quote-ftr {
        padding: 20px;
    }
    
    .footer-quote-ftr p {
        font-size: 1rem;
    }
    
    .mini-stat-ftr {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .stat-icon-ftr {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .stat-num-ftr {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .footer-content-ftr {
        grid-template-columns: 1fr;
    }
    
    .footer-section-ftr {
        text-align: center;
    }
    
    .footer-section-ftr h3::after,
    .footer-section-ftr h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links-ftr {
        justify-content: center;
    }
    
    .footer-section-ftr ul li {
        padding-left: 0;
    }
    
    .footer-section-ftr ul li::before {
        display: none;
    }
    
    .contact-info-ftr p {
        justify-content: center;
    }
    
    .mini-stat-ftr {
        justify-content: center;
    }
}