.main-footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 20px 40px 20px;
    margin-top: 100px;
    color: white;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.3));
}

.footer-logo-text {
    font-family: 'B4UFFEU-Stylish', sans-serif;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1.5px;

    /* Animation Style from Header */
    --color-1: #00d2ff;
    --color-2: #ffffff;
    background: linear-gradient(to right, var(--color-1), var(--color-2), var(--color-1));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
    margin: 0;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 30px;
    color: #00d2ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 15px;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: #00d2ff;
    color: #000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.4);
    border-color: #00d2ff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 18px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: #00d2ff;
    padding-left: 8px;
}

.link-icon, .ai-link-icon {
    font-size: 16px;
    color: #00d2ff;
    width: 20px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 20px 100px 20px;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr; /* ২ কলামে ভাগ করা হলো */
        gap: 30px 20px;
        text-align: left;
    }

    .footer-section:first-child {
        grid-column: span 2; /* লোগো সেকশনটি পুরো জায়গা নিবে */
        margin-bottom: 10px;
    }

    .footer-logo-container {
        justify-content: flex-start;
    }

    .footer-desc {
        max-width: 100%;
        margin: 0 0 25px 0;
        font-size: 14px;
    }

    .social-links {
        justify-content: flex-start;
        gap: 12px;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .footer-section ul li {
        margin-bottom: 15px;
    }

    .footer-section ul li a {
        justify-content: flex-start;
        font-size: 14px;
    }

    .footer-section ul li a:hover {
        padding-left: 5px;
        transform: none;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr; /* খুব ছোট ফোনে ১ কলাম */
    }
    .footer-section:first-child {
        grid-column: span 1;
    }
}
