/* ============================================
   Footer Section - Modern Premium Version
   Bogura Bazar Theme
============================================ */

.main-footer {
    background: #0f172a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00A65A, #28B86E, #00A65A);
}

.main-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 166, 90, 0.05), transparent);
    border-radius: 50%;
    pointer-events: none;
}

/* ফুটার গ্রিড */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 30px 0 10px;
    position: relative;
    z-index: 2;
}

/* ফুটার কলাম */
.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 14px;
    color: #ffffff;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #00A65A, #28B86E);
    border-radius: 3px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    max-height: 100px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .footer-logo-img {
        max-height: 75px;
    }
}

@media (max-width: 480px) {
    .footer-logo-img {
        max-height: 32px;
    }
}

.footer-logo i {
    font-size: 34px;
    color: #00A65A;
    filter: drop-shadow(0 2px 8px rgba(0, 166, 90, 0.3));
}

.footer-logo span {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #00A65A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* সোশ্যাল লিংক */
.footer-social {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: #00A65A;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 166, 90, 0.3);
}

/* ============================================
   ফুটার লিংক - এক লাইনে
   ============================================ */

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

.footer-links li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links li a i {
    font-size: 10px;
    color: #00A65A;
    transition: all 0.3s ease;
    width: 14px;
    flex-shrink: 0;
}

.footer-links li a:hover {
    color: #00A65A;
    padding-left: 5px;
}

.footer-links li a:hover i {
    transform: translateX(3px);
}

/* ============================================
   যোগাযোগ তথ্য - এক লাইনে
   ============================================ */

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-contact li:hover {
    transform: translateX(5px);
}

.footer-contact li i {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(0, 166, 90, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #00A65A;
}

.footer-contact li a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact li a:hover {
    color: #00A65A;
}

.footer-contact li span {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* ============================================
   Payment Section - Centered Premium Version
============================================ */

.footer-payment {
    text-align: center;
    padding: 10px 0 10px;
    margin: 0 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.footer-payment h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-payment h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #00A65A, #28B86E);
    border-radius: 2px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.payment-icons img {
    height: 38px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    padding: 6px 14px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.payment-icons img:hover {
    transform: translateY(-4px);
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 166, 90, 0.2);
}

/* ============================================
   Bottom Footer
============================================ */

.footer-bottom {
    padding: 0px 0 10px;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.copyright p i {
    color: #ef4444;
    margin: 0 3px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00A65A;
    transition: width 0.3s;
}

.footer-bottom-links a:hover {
    color: #00A65A;
}

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

.separator {
    color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   রেস্পন্সিভ
   ============================================ */

@media (max-width: 1200px) {
    .footer-grid {
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 30px 0 10px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        margin-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
        padding: 30px 0 10px;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-about {
        text-align: center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    /* মোবাইলে লিংক সেন্টার */
    .footer-links li {
        justify-content: center;
    }

    .footer-links li a {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-payment {
        padding: 10px 0 10px;
    }

    .payment-icons {
        gap: 12px;
    }

    .payment-icons img {
        height: 34px;
        padding: 5px 12px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-footer {
        margin-top: 40px;
    }

    .footer-grid {
        gap: 10px;
        padding: 30px 0 10px;
    }

    .footer-logo i {
        font-size: 28px;
    }

    .footer-logo span {
        font-size: 20px;
    }

    .footer-about {
        font-size: 13px;
    }

    .footer-links li a {
        font-size: 13px;
    }

    .footer-contact li {
        font-size: 12px;
        gap: 10px;
    }

    .footer-contact li i {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 11px;
    }

    .footer-payment {
        padding: 10px 0 10px;
    }

    .footer-payment h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .payment-icons {
        gap: 10px;
    }

    .payment-icons img {
        height: 28px;
        padding: 4px 8px;
    }

    .copyright p {
        font-size: 11px;
    }

    .footer-bottom-links a {
        font-size: 11px;
    }

    .footer-bottom-links {
        gap: 12px;
    }
}
