<footer class="site-footer">
    <div class="footer-container">
        <div class="footer-content">
            <div class="footer-section">
                <h3>🎯 Shubank</h3>
                <p>Your trusted platform for number prediction analytics and strategic insights.</p>
                <div class="footer-social">
                    <a href="https://t.me/shubank_official" target="_blank" title="Join our Telegram Channel" class="telegram-link">
                        <i class="fab fa-telegram-plane"></i>
                        <span class="telegram-text">Join Telegram</span>
                        <span class="telegram-badge">Live Updates</span>
                    </a>
                </div>
            </div>
            
            <div class="footer-section">
                <h4>Quick Links</h4>
                <ul>
                    <li><a href="index.php">Home</a></li>
                    <li><a href="about.php">About Us</a></li>
                    <li><a href="/A+/01/blog/">Blog</a></li>
                    <li><a href="results.php">Results</a></li>
                    <li><a href="rate-timing.php">Rate & Timing</a></li>
                </ul>
            </div>
            
            <div class="footer-section">
                <h4>Legal & Support</h4>
                <ul>
                    <li><a href="terms-conditions.php">Terms & Conditions</a></li>
                    <li><a href="privacy-policy.php">Privacy Policy</a></li>
                    <li><a href="sitemap.xml" target="_blank">Sitemap</a></li>
                    <li><a href="mailto:legal@shubank.com">Legal Inquiries</a></li>
                </ul>
            </div>
            
            <div class="footer-section">
                <h4>Connect With Us</h4>
                <div class="whatsapp-chat">
                    <h5>Quick Support</h5>
                    <a href="https://wa.me/919759907027?text=Hello%20Shubank!%20I%20need%20help%20with..." target="_blank" class="whatsapp-btn">
                        <i class="fab fa-whatsapp"></i>
                        <span>Chat on WhatsApp</span>
                    </a>
                </div>
            </div>
        </div>
        
        <div class="footer-bottom">
            <div class="footer-bottom-content">
                <div class="copyright">
                    <p>© <span id="current-year"></span> Shubank.co | All Rights Reserved.</p>
                </div>
                <div class="footer-links">
                    <a href="terms-conditions.php">Terms</a>
                    <span>|</span>
                    <a href="privacy-policy.php">Privacy</a>
                    <span>|</span>
                    <a href="sitemap.xml" target="_blank">Sitemap</a>
                </div>
            </div>
        </div>
    </div>
</footer>

<style>
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 0 0;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 900;
}

.footer-section h4 {
    color: #ecf0f1;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    display: inline-block;
    min-width: 100%;
    text-align: left;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 2px;
}

.footer-section h5 {
    color: #ecf0f1;
    font-size: 1rem;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 15px;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
}

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

.footer-section ul li a::before {
    content: "▶";
    font-size: 8px;
    margin-right: 8px;
    color: #3498db;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover::before {
    transform: scale(1.2);
}

.footer-social {
    display: flex;
    margin-top: 20px;
    justify-content: flex-start;
}

.telegram-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0088cc 0%, #005c97 100%);
    border: 2px solid #0088cc;
    border-radius: 25px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    min-width: 180px;
    justify-content: center;
}

.telegram-link::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;
}

.telegram-link:hover::before {
    left: 100%;
}

.telegram-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
    border-color: #ffffff;
    background: linear-gradient(135deg, #005c97 0%, #003d66 100%);
    color: white;
    text-decoration: none;
}

.telegram-link i {
    font-size: 20px;
    color: white;
    animation: telegramPulse 2s infinite;
}

.telegram-text {
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.telegram-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

@keyframes telegramPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

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

.contact-info i {
    color: #3498db;
    margin-right: 10px;
    width: 20px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px 0 0 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

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

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 0 25px 25px 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    transform: scale(1.05);
}

.whatsapp-chat {
    margin: 20px 0;
    text-align: center;
}

.whatsapp-chat h5 {
    color: #ecf0f1;
    font-size: 1rem;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    border: 2px solid transparent;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.whatsapp-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.5s;
}

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

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.whatsapp-btn i {
    font-size: 20px;
    color: white;
    animation: pulse 2s infinite;
}

.whatsapp-btn span {
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.footer-bottom {
    border-top: 1px solid rgba(52, 152, 219, 0.3);
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright {
    display: flex;
    align-items: center;
    flex: 1;
}

.copyright p {
    margin: 0;
    color: #ecf0f1;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.footer-links a:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-1px);
}

.footer-links span {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 300;
    margin: 0 4px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0 0;
        margin-top: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 0 15px;
    }
    
    .copyright {
        justify-content: center;
        flex: none;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .footer-links a {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .telegram-link {
        min-width: 160px;
        padding: 10px 16px;
        font-size: 14px;
        gap: 10px;
    }
    
    .telegram-link i {
        font-size: 18px;
    }
    
    .telegram-text {
        font-size: 14px;
    }
    
    .telegram-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .whatsapp-btn {
        display: flex;
        justify-content: center;
        min-width: 180px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .footer-bottom-content {
        padding: 0 10px;
    }
    
    .footer-links {
        gap: 5px;
    }
    
    .footer-links a {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .footer-links span {
        font-size: 12px;
        margin: 0 2px;
    }
    
    .copyright p {
        font-size: 13px;
        text-align: center;
    }
    
    .telegram-link {
        min-width: 140px;
        padding: 8px 12px;
        font-size: 13px;
        gap: 8px;
        flex-direction: row;
        border-radius: 20px;
    }
    
    .telegram-link i {
        font-size: 16px;
    }
    
    .telegram-text {
        font-size: 13px;
    }
    
    .telegram-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .whatsapp-btn {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 160px;
        gap: 10px;
    }
    
    .whatsapp-btn i {
        font-size: 18px;
    }
}
</style>

<script>
// Set current year
document.getElementById('current-year').textContent = new Date().getFullYear();

// Newsletter form submission
document.querySelector('.newsletter-form').addEventListener('submit', function(e) {
    e.preventDefault();
    const email = this.querySelector('input[type="email"]').value;
    if (email) {
        // Here you would typically send the email to your backend
        alert('Thank you for subscribing to our newsletter!');
        this.reset();
    }
});

// Smooth scroll for footer links
document.querySelectorAll('.footer-section a[href^="#"]').forEach(anchor => {
    anchor.addEventListener('click', function (e) {
        e.preventDefault();
        const target = document.querySelector(this.getAttribute('href'));
        if (target) {
            target.scrollIntoView({
                behavior: 'smooth',
                block: 'start'
            });
        }
    });
});

// Add loading state to newsletter button
document.querySelector('.newsletter-form button').addEventListener('click', function(e) {
    const button = this;
    const originalContent = button.innerHTML;
    
    if (document.querySelector('.newsletter-form input').value) {
        button.innerHTML = '<i class="fas fa-spinner fa-spin"></i>';
        button.disabled = true;
        
        setTimeout(() => {
            button.innerHTML = originalContent;
            button.disabled = false;
        }, 2000);
    }
});
</script>

<!-- Font Awesome for Social Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">

</body>
</html>