@media (max-width: 768px) {
    .mobile-footer {
        background: #1d1d1d;
        padding: 26px 15px;
        color: #fff;
        font-family: Arial, sans-serif;
        margin-top: 30px;
    }

    .footer-section {
        margin-bottom: 15px;
    }

    .footer-section h4 {
        color: #00ff80;
        /* সবুজ শিরোনাম */
        font-size: 14px;
        margin-bottom: 5px;
    }

    .footer-section p {
        font-size: 13px;
        margin: 0;
    }

    .social-icons {
        display: flex;
        gap: 10px;
        margin-top: 5px;
    }

    .social-icons a img {
        width: 38px;
        height: 38px;
        border-radius: 50%;
    }
}

/* ডেস্কটপে হাইড */
@media (min-width: 769px) {
    .mobile-footer {
        display: none;
    }
}

/* CSS */
.footer-image-section {
    display: none;
    /* Hidden by default (desktop view) */
}

@media (max-width: 768px) {
    .footer-image-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 1px;
        align-items: center;
        justify-items: center;
        background: #1d1d1d;
        padding: 26px 15px;
        margin-top: 5px;
    }

    .foter-copywrite {
        background: #1d1d1d;
        padding: 5px 15px;
        margin-top: 5px;
        padding-bottom: 60px;
    }

    .footer-image-section img {
        max-width: 85%;
        height: auto;
        object-fit: contain;
        filter: brightness(0) invert(1);
        /* Makes logos white */
        transition: transform 0.2s ease;
    }

    .footer-image-section img:hover {
        transform: scale(1.05);
        /* Small hover zoom effect */
    }
}

/* Hide on desktop */
.bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #1c1c1c;
        padding: 8px 0;
        border-top: 1px solid #00ff6a;
        z-index: 999;
    }

    .bottom-nav a {
        text-align: center;
        flex: 1;
        color: #aaa;
        font-size: 12px;
        text-decoration: none;
    }

    .bottom-nav a i {
        font-size: 20px;
        display: block;
        margin-bottom: 3px;
    }

    .bottom-nav a.active {
        color: #00ff66;
    }

    /* Active middle button with circle background */

    .bottom-nav a.center-btn i {
        margin-bottom: 0;
        font-size: 20px;
    }
}

/* Floating Menu Container */
.floting-icon-btn-container {
    position: fixed;
    bottom: 130px;
    right: 65px;
    z-index: 9999;
}


/* All Buttons Style */
.floting-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(145deg, #00e676, #00c853);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: absolute;
}

.floting-icon-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.4);
}

/* আগের সব স্টাইল একই থাকবে, শুধু এটা যোগ হবে */

/* Main Icon Always Bounce */
.floting-icon-btn.main {
    animation: mainBounce 1s infinite alternate;
}

@keyframes mainBounce {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.05);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

/* Child Buttons */
.floting-icon-btn.child {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0) scale(0.5);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Show Animation */
.floting-icon-btn-container.active .floting-icon-btn.child {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    animation: bounce 1s infinite alternate;
}

.floting-icon-btn-container.active .floting-icon-btn.child:nth-child(1) {
    transform: translateY(-70px) scale(1);
    animation-delay: 0.1s;
}

.floting-icon-btn-container.active .floting-icon-btn.child:nth-child(2) {
    transform: translateY(-140px) scale(1);
    animation-delay: 0.2s;
}

.floting-icon-btn-container.active .floting-icon-btn.child:nth-child(3) {
    transform: translateY(-210px) scale(1);
    animation-delay: 0.3s;
}

/* Bounce Animation */
@keyframes bounce {
    0% {
        transform: translateY(var(--posY)) scale(1);
    }

    50% {
        transform: translateY(calc(var(--posY) - 10px)) scale(1.05);
    }

    100% {
        transform: translateY(var(--posY)) scale(1);
    }
}

/* Position Variables */
.floting-icon-btn-container.active .floting-icon-btn.child:nth-child(1) {
    --posY: -70px;
}

.floting-icon-btn-container.active .floting-icon-btn.child:nth-child(2) {
    --posY: -140px;
}

.floting-icon-btn-container.active .floting-icon-btn.child:nth-child(3) {
    --posY: -210px;
}