/*
 * =========================================================
 *              WEBSITE DEVELOPMENT CREDITS
 * =========================================================
 *
 * Co-Developer
 * AFM_1337_ — Md Arafat Hossen Mugdho
 * GitHub  : https://github.com/AFM-1337
 * Website : https://afm1337.shop
 * WhatsApp: https://wa.me/+8801310329198
 * Telegram: https://t.me/afm1337
 *
 * Co-Developer
 * DARK LMNx9 — Limon Hossain
 * GitHub  : https://github.com/LMNx9-JOHNY
 * Website : https://dark.lmnx9.workers.dev
 * WhatsApp: https://wa.me/+8801882168975
 * Telegram: https://t.me/x_LMNx9
 *
 * ---------------------------------------------------------
 *          Designed & Developed Together
 * =========================================================
 */

/* ============================================================
   BeBrainer SSC - Footer (FIXED)
   ============================================================ */

.bb-footer {
    position: relative;
    background: #fff;
    color: var(--bbx-ink-2);
    overflow: hidden;
    border-top: 1px solid var(--bbx-line);
}

/* ══════ ANIMATED BG ══════ */
.bb-footer__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.bb-footer__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.25;
    animation: footer-float 10s ease-in-out infinite;
}
.bb-footer__shape--1 {
    width: 300px; height: 300px;
    background: #1A56DB;
    top: -80px; right: -60px;
}
.bb-footer__shape--2 {
    width: 240px; height: 240px;
    background: #DB2777;
    bottom: -60px; left: -50px;
    animation-delay: -4s;
}
.bb-footer__shape--3 {
    width: 180px; height: 180px;
    background: #3B82F6;
    top: 40%; left: 60%;
    animation-delay: -7s;
}
@keyframes footer-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.08); }
    66% { transform: translate(-18px, 18px) scale(0.94); }
}

/* ══════ TOP ══════ */
.bb-footer-top {
    padding: 48px 0 24px;
    position: relative;
    z-index: 1;
}

/* ══════ GRID: Brand | Quick+Support | Contact+Legal ══════ */
.bb-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}
@media (max-width: 768px) {
    .bb-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .bb-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .bb-footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .bb-footer-brand { grid-column: span 1; }
}

/* ══════ BRAND (1st column) ══════ */
.bb-footer-brand {
    display: flex;
    flex-direction: column;
}
.bb-footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
    margin-top: -10px;
}
.bb-footer-tagline {
    font-size: 13px;
    line-height: 1.7;
    color: var(--bbx-ink-1);
    max-width: 320px;
    margin-bottom: 14px;
}

/* ══════ HEADING ══════ */
.bb-footer-heading {
    color: var(--bbx-ink);
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 10px;
    padding-bottom: 8px;
    position: relative;
}
.bb-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 22px;
    height: 2.5px;
    border-radius: 3px;
    background: var(--bbx-grad);
}

/* ══════ DOUBLE COLUMN INSIDE ══════ */
.bb-footer-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}
.bb-footer-double::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--bbx-line), transparent);
}
@media (max-width: 480px) {
    .bb-footer-double {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* ══════ LINKS — BLUE+PINK ══════ */
.bb-footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bb-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    text-decoration: none;
    padding: 3px 0;
    transition: all 0.2s ease;
    background: linear-gradient(90deg, #1A56DB, #DB2777);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.bb-footer-link i {
    width: 15px;
    text-align: center;
    font-size: 13px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1A56DB, #DB2777);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bb-footer-link:hover {
    transform: translateX(4px);
    opacity: 0.8;
}

/* ══════ SOCIAL ══════ */
.bb-social {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bb-social-item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bbx-tint);
    border: 1px solid var(--bbx-line);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, #1A56DB, #DB2777);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bb-social-item:hover {
    background: linear-gradient(135deg, #1A56DB, #DB2777);
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #fff;
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26,86,219,.18);
}

/* ══════ BOTTOM ══════ */
.bb-footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--bbx-line);
    padding: 14px 0;
    background: var(--bbx-tint);
}
.bb-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* Copyright — gradient text */
.bb-footer-copy {
    font-size: 12.5px;
    margin: 0;
    font-weight: 600;
    background: linear-gradient(90deg, #1A56DB, #DB2777);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bb-footer-links-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bb-footer-links-row a {
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    background: linear-gradient(90deg, #1A56DB, #DB2777);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: opacity 0.2s ease;
}
.bb-footer-links-row a:hover {
    opacity: 0.7;
}
.bb-footer-sep {
    color: var(--bbx-line);
    font-size: 11px;
}

