/* --- Global Reset --- */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
}

/* --- Navbar Core Styling --- */
.custom-navbar {
    background-color: #005dc7 !important; /* Brand Color */
    width: 100% !important;
    padding: 12px 0 !important;
    border: none !important;
}

.custom-navbar .container {
    max-width: 1445px !important;
    width: 100%;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* --- Desktop Alignment (Right) --- */
.nav-top-links {
    display: flex;
    justify-content: flex-end; /* Links daine thakbe */
    width: 100%;
}

.inner-nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.95rem !important;
    font-weight: 500;
    transition: 0.3s;
}

.inner-nav-link:hover {
    color: #02050a;
}

/* Logo Styling */
.navbar-brand {
    font-weight: 700;
    font-size: 2.1rem !important;
    letter-spacing: 1px;
    color: #ffffff !important;
    text-decoration: none;
}

.custom-navbar .navbar-brand img {
    height: 45px;
    width: auto;
    display: block;
}

@media (max-width: 991px) {
    .custom-navbar .navbar-brand img {
        height: 36px;
    }
}

/* --- Search Bar --- */
.search-input {
    border-radius: 50px !important;
    padding: 12px 25px !important;
    border: none !important;
    font-size: 15px !important;
    width: 100%;
}

/* --- Icons & Badge --- */
.navbar-icons i {
    color: #ffffff !important;
    font-size: 1.6rem !important;
}

.badge {
    font-size: 11px !important;
    padding: 4px 7px !important;
    background-color: #02050a !important;
}

/* --- MOBILE RESPONSIVE (TEXT SIZE OPTIMIZED) --- */
@media (max-width: 991px) {
    .custom-navbar {
        padding: 8px 0 !important;
    }

    /* Mobile-e o links show korbe, ektu bame space kom kora holo */
    .nav-top-links {
        display: flex !important;
        justify-content: flex-start !important; /* Mobile-e bame thakle sundor lage */
        flex-wrap: nowrap;
        overflow-x: auto; /* Jayga na hole scroll kora jabe */
        gap: 12px;
        margin-bottom: 10px;
        -ms-overflow-style: none; /* Scrollbar hide korar jonno */
        scrollbar-width: none;
    }

    .nav-top-links::-webkit-scrollbar {
        display: none;
    }

    .inner-nav-link {
        font-size: 0.7rem !important; /* Mobile-e text ektu choto kora holo perfect fit-er jonno */
        white-space: nowrap; /* Text jeno bhenge na jay */
    }

    .navbar-brand {
        font-size: 1.4rem !important;
    }

    .navbar-icons {
        gap: 12px !important;
    }

    .navbar-icons i {
        font-size: 1.3rem !important;
    }

    .search-container {
        margin-top: 8px !important;
    }

    .search-input {
        padding: 8px 15px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
    }
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #f0f0f0; /* Screenshot er moto halka grey background */
    padding: 20px;
}

.hero-container {
    max-width: 1445px;
    margin: 0 auto;
}

/* 1. Top Layout Setup (Sidebar + Banner + Promo) */
.hero-top {
    display: flex;
    gap: 15px;
    height: 420px; /* Screenshot er banner height anujayi */
    align-items: stretch;
}

/* Sidebar Styling */
.sidebar {
    width: 250px;
    background: #ebebeb; /* Screenshot er Sidebar color */
    border-radius: 4px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;

    max-height: 500px; /* Adjust as needed */
    overflow-y: auto;
    overflow-x: hidden; /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
}

.sidebar-menu::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: 0.2s;
}

.sidebar ul li img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.sidebar ul li:hover {
    background-color: #e0e0e0;
}

.view-all {
    margin-top: auto;
    padding: 15px 20px !important;
    font-weight: 500;
    font-size: 13px !important;
    color: #555 !important;
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent; /* removed black */
    color: #fff; /* keep visible on image */
    border: none;
    font-size: 28px;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); /* makes icon visible */
}

.banner-prev {
    left: 10px;
}

.banner-next {
    right: 10px;
}

.banner-prev:hover,
.banner-next:hover {
    color: #f1f1f1;
    transform: translateY(-50%) scale(1.1);
}

/* 2. Main Banner (Text-Included Image Fix) */
.banner {
    flex: 2;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background-color: #fff;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Image jate stretch na hoye pura jayga jure thake */
    display: block;
}

.banner img.active {
    display: block;
}

/* 3. Right Side Promo Cards (Eid & Puja) */
.promo-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 280px;
}

.promo-card {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.promo-card:hover img {
    transform: scale(1.03);
}

/* 4. Categories Grid (Exactly like image_77bb2a.jpg) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* Desktop e 8 ti card line e */
    gap: 12px;
    margin-top: 25px;
}

.cat-card {
    background: #ebebeb; /* Screenshot er grey color */
    border-radius: 6px;
    padding: 20px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.2s;
    cursor: pointer;
}

.cat-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.cat-card:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.cat-card img {
    width: 55px; /* Icon size thik kora hoyeche */
    height: 55px;
    object-fit: contain;
}

.cat-card span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
}

/* --- Responsive Design --- */
/* --- Responsive Design Update --- */

/* Tablet View */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }
}

/* Mobile View Fix */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .sidebar {
        display: none;
    } /* Mobile e sidebar thakbe na */

    .hero-top {
        flex-direction: column; /* Vertical alignment */
        height: auto;
        gap: 10px;
    }

    .banner {
        width: 100%;
        height: 200px;
    }

    /* Right side images mobile e pasapasi thakbe */
    .promo-side {
        display: flex;
        flex-direction: row; /* Row direction for side-by-side */
        width: 100%;
        height: 120px;
        gap: 10px;
    }

    .promo-card {
        flex: 1;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .cat-card {
        padding: 15px 5px;
    }
    .cat-card img {
        width: 45px;
        height: 45px;
    }
    .cat-card span {
        font-size: 11px;
    }
}

/* --- Flash Sale Complete Elite Styles --- */
:root {
    --brand-orange: #005dc7;
    --border-color: #f0f0f0;
}

/* Section & Container Fix */
.flash-sale-section {
    background-color: #f8f8f8;
}

/* Grid Gap Fix: Row-te g-0 thakle card gulo gai gai lege thakbe */
.flash-sale-section .row.g-0 {
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px; /* Header-er niche smooth thakbe */
    overflow: hidden;
}

/* Card Wrapper Border Management */
.flash-sale-section .row.g-0 > .col {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Main Product Card Style */
.flash-sale-section .product-card {
    background: #ffffff;
    border: none !important; /* Row theke border handle kora hoyeche */
    border-radius: 0 !important;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.flash-sale-section .product-card:hover {
    z-index: 5;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
}

/* Image Wrapper */
.flash-sale-section .img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.flash-sale-section .product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* Wishlist Button */
.flash-sale-section .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flash-sale-section .wishlist-btn:hover {
    color: var(--brand-orange);
}

/* Product Info */
.flash-sale-section .card-body {
    padding: 12px !important;
}

.flash-sale-section .product-name {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    height: 40px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px !important;
    text-align: left; /* Desktop preference */
}

/* Pricing Container (Strictly Left Aligned) */
.flash-sale-section .price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alignment to Left */
    margin-bottom: 12px;
}

.flash-sale-section .current-price {
    font-size: 17px;
    font-weight: 700;
    color: #000;
}

.flash-sale-section .old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.flash-sale-section .discount-label {
    background-color: #fff1eb;
    color: var(--brand-orange);
    font-size: 11px;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 3px;
}

/* Action Buttons */
.flash-sale-section .btn-buy {
    background-color: var(--brand-orange) !important;
    border: none;
    font-size: 14px;
    height: 38px;
    border-radius: 6px !important;
}

/* Cart Button & Icon Style Fix */
.flash-sale-section .btn-cart-icon {
    background-color: #005dc7 !important;
    border: 1px solid #005dc7 !important;
    color: #ffffff !important;
    width: 38px;
    height: 38px;
    border-radius: 6px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Icon specific color (Double check) */
.flash-sale-section .btn-cart-icon i {
    color: #ffffff !important; /* Icon-ta shada thakbe */
}

/* Hover effect jate ektu dark blue hoy */
.flash-sale-section .btn-cart-icon:hover {
    background-color: #0052af !important;
    border-color: #0052af !important;
    opacity: 0.9;
}

/* --- Flash Sale Badge Elite Style --- */
.flash-sale-section .badge {
    background-color: #005dc7 !important; /* Brand */
    color: #ffffff !important; /* Text color White */
    padding: 5px 10px !important; /* Ektu beshi padding premium look-er jonno */
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 0 0 8px 0 !important; /* Bottom-right corner ektu beshi rounded */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Halka shadow */
    text-transform: uppercase;
}

/* Timer Box Style (Halka Blackish Background) */
.flash-sale-section .timer-box {
    background: rgba(0, 0, 0, 0.15) !important; /* Halka black transparent bg */
    color: #ffffff !important; /* Text color white */
    min-width: 40px;
    padding: 4px;
    border-radius: 6px;
    text-align: center;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flash-sale-section .timer-box span {
    font-size: 14px;
    font-weight: 700;
}

.flash-sale-section .timer-box small {
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Timer separator (Colon) color */
.flash-sale-header .fw-bold {
    color: #ffffff;
}

/* Responsive Mobile Fixes */
@media (max-width: 576px) {
    .flash-sale-section .product-name {
        font-size: 13px;
        text-align: justify; /* Mobile preference */
    }

    .flash-sale-section .img-wrapper {
        height: 150px;
    }

    /* Grid adjustment for mobile border */
    .flash-sale-section .row.g-0 > .col:nth-child(even) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .flash-sale-section .product-name {
        font-size: 13px;
        /* Justify soriye left korun jate gap thik hoye jay */
        text-align: left !important;
        word-spacing: normal;
    }
}

/* --- Global Section Title --- */
.section-title {
    font-size: 1.5rem;
    color: #333;
    border-left: 5px solid #ff4f00; /* */
    padding-left: 15px;
    margin: 0;
}

.see-more-btn {
    color: #ff4f00;
    font-weight: 600;
    text-decoration: none;
    margin-left: auto;
}

.see-more-btn:hover {
    text-decoration: underline;
}

/* --- Product Card Styling --- */
.product-card {
    border-radius: 10px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    overflow: hidden;
    background: #fff;
    height: 100%; /* Jate shob card soman thake */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.product-card img {
    height: 220px;
    object-fit: cover;
}

/* --- Buttons & Badges --- */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: #888;
    transition: 0.3s;
}

.wishlist-btn:hover {
    background: #f7a400; /* */
    color: white;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    overflow: hidden;
    color: #444;
}

.current-price {
    font-size: 1.1rem;
    color: #02050a; /* */
}

.old-price {
    font-size: 12px;
}

.discount-badge {
    background-color: #005dc7;
    color: white;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.btn-buy {
    background-color: #005dc7;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-buy:hover {
    background-color: #0052af;
}

.btn-cart-icon {
    background-color: #005dc7;
    color: white;
    border-radius: 8px;
    border: none;
    padding: 5px 12px;
    display: flex;
    align-items: center;
}

/* --- MOBILE RESPONSIVENESS (Fixing Side Gaps) --- */
@media (max-width: 767px) {
    /* 1. Parent Container er padding zero kora */
    .flash-sale-section,
    .container,
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 2. Row er negative margin fix kora jate side-e gap na thake */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex;
        flex-wrap: wrap;
    }

    /* 3. Proti ti Column er padding komanu */
    .col,
    .col-6 {
        padding-left: 3px !important; /* Khub e samanyo gap majhkhane */
        padding-right: 3px !important;
        width: 50% !important;
        flex: 0 0 50%;
    }

    /* 4. Card er moddher padding ektu komanu jate content boro dekhay */
    .product-card {
        margin-bottom: 8px;
        padding: 8px !important;
        border-radius: 5px; /* Mobile-e ektu kom radius bhalo lage */
    }

    .product-card img {
        height: 140px; /* Mobile-e choto image */
    }

    .product-name {
        font-size: 11px;
        line-height: 1.3;
        height: 30px;
    }

    .current-price {
        font-size: 14px;
    }

    /* 5. Buttons alignment fix for mobile */
    .btn-buy {
        padding: 5px;
        font-size: 11px;
    }
}

/* --- Main Footer Styles --- */
.main-footer {
    background-color: #05888d; /* Primary Brand Color */
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    /*padding-top: 70px; */
    /* Desktop-e ektu beshi space premium lage */
    padding-bottom: 0;
}

/* Footer Container - Grid System */
.footer-container {
    max-width: 1445px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    /* Desktop-e 4 columns, auto-fit ensure korbe responsive behavior */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px; /* Columns-er majhe space barano hoyeche */
}

/* --- Footer Top (Columns) --- */
.footer-top {
    /*padding-bottom: 40px; */
    /* Columns-er majhe space barano hoyeche */
}

.footer-title {
    font-size: 0.8rem; /* Desktop readability optimized */
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-title img {
    height: 45px;
    width: auto;
}

/* Title underline marker */
.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2.5px;
    /*background-color: #f7a400; */
}

.footer-about-text {
    line-height: 1.8;
    opacity: 1; /* Maximum clarity */
    font-size: 0.8rem; /* Larger text for desktop */
    margin-bottom: 20px;
    max-width: 330px;
}

/* --- SOCIAL ICONS --- */
.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    color: #05888d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: #02050a;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Lists & Links --- */
.footer-contact-list,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.8rem; /* Desktop readable size */
}

.footer-contact-list i {
    font-size: 0.8rem;
    margin-top: 4px;
    width: 20px;
    color: #f7a400; /* Icon accents */
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    opacity: 0.9;
    display: inline-block;
}

.footer-links li a:hover {
    opacity: 1;
    padding-left: 8px;
    color: #02050a;
}

/* --- Footer Bottom (Copyright & Policies) --- */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bottom-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: 0.3s;
}

.bottom-links a:hover {
    opacity: 1;
    color: #f7a400;
}

.divider {
    opacity: 0.3;
    margin: 0 5px;
}

.copyright-text {
    font-size: 0.8rem; /* Larger for desktop */
    color: #ffffff;
    opacity: 1;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.copyright-text a {
    color: #f7a400; /* Brand Color */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copyright-text a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- RESPONSIVENESS --- */

/* Tablet Optimization */
@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile Optimization (Minimized Gaps) */
@media (max-width: 600px) {
    .main-footer {
        padding-top: 45px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px; /* Reduced gap for mobile */
        padding: 0 20px;
    }

    .footer-title {
        margin-bottom: 20px;
        font-size: 0.7rem;
    }

    .footer-top {
        padding-bottom: 20px;
    }

    .footer-about-text,
    .footer-links li a,
    .footer-contact-list li {
        font-size: 0.7rem; /* Mobile-e readability maintain kora hoyeche */
    }

    .bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .bottom-links {
        justify-content: center;
        order: 1;
    }

    .copyright-text {
        order: 2;
        font-size: 0.7rem;
        margin-top: 5px;
    }

    .footer-bottom {
        padding: 20px 0;
    }
}

@media (max-width: 767px) {
    .sidebar {
        background: #fff;
        padding: 10px;
        border: 1px solid #ddd;
    }

    .sidebar ul {
        padding-left: 0;
        margin: 0;
        list-style: none;
    }

    .sidebar ul li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }
    .subcat-btn {
        font-size: 8px;
    }

    .all-subcat-btn {
        font-size: 8px;
    }
}

/* MOBILE BUTTON */
.mobile-menu-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 22px;
    border-radius: 5px;
}

/* OVERLAY */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999998;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: #fff;
    z-index: 999999;
    overflow-y: auto;
    transition: left 0.4s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    padding-bottom: 70px;
}

/* smoother scrolling */
.mobile-sidebar::-webkit-scrollbar {
    width: 4px;
}

.mobile-sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.mobile-sidebar.active {
    left: 0;
}

/* HEADER */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    background-color: #005dc7;
}

.sidebar-header img {
    max-width: 140px;
}

.close-btn {
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: #111;
}

/* CATEGORY */
.sidebar-category {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.sidebar-category li {
    margin: 0;
}

.sidebar-category li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: #111;
    font-size: 12px;
    font-weight: 350;
    transition: 0.2s;
}

.sidebar-category li a:hover {
    background: #f5f5f5;
}

/* IMAGE */
.sidebar-category img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
}

/* DESKTOP HIDE */
@media (min-width: 768px) {
    .mobile-sidebar,
    .sidebar-overlay,
    .mobile-menu-btn {
        display: none;
    }
}

.subcat-btn {
    background-color: #c93301;
    font-size: 14px;
    border-radius: 5px;
    color: #fff;
    padding: 5px;
}

.all-subcat-btn {
    background-color: #000000;
    font-size: 14px;
    border-radius: 5px;
    color: #fff;
    padding: 5px;
}

.live-section-container {
    width: 100%;
    max-width: 1440px; /* এখানে আপনার লিমিট */
    margin: 0 auto;
    padding: 20px;
    display: block; /* ফ্লেক্সের বদলে ব্লক ব্যবহার করে দেখুন */
}
.live-card {
    position: relative;
    border-radius: 5px;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    /* Background Thumbnail Image */

    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark Overlay for Thumbnail Style */
.live-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

/* Floating Icon Box */
.icon-box {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floating 3.5s ease-in-out infinite;
    z-index: 2;
}

.youtube-svg {
    width: 70px;
    height: 70px;
    color: #005dc7;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}

/* Pulse Animation */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 45px;
    border: 2px solid #005dc7;
    animation: pulse-animation 2s infinite;
    z-index: -1;
}

@keyframes floating {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Content Styles */
.content-box {
    z-index: 2;
    text-align: left;
}

.live-tag {
    display: inline-flex;
    align-items: center;
    background: #005dc7;
    color: #fff;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.content-box h2 {
    font-size: 42px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 800;
}

.content-box h2 span {
    color: #005dc7;
}

.btn-live {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #005dc7;
    color: #000;
    padding: 16px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.4s ease;
}

.btn-live:hover {
    background: #005dc7;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.3);
}

/* Mobile Responsive (Compact Height) */
@media (max-width: 992px) {
    .live-card {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px; /* কম প্যাডিং যাতে হাইট কম লাগে */
        gap: 20px;
        border-radius: 5px;
    }

    .content-box {
        text-align: center;
    }

    .icon-box {
        width: 90px; /* ছোট আইকন */
        height: 90px;
        border-radius: 25px;
    }

    .youtube-svg {
        width: 45px;
        height: 45px;
    }

    .pulse-ring {
        border-radius: 25px;
    }

    .content-box h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .btn-live {
        width: 100%;
        max-width: 240px;
        padding: 12px 25px;
        font-size: 15px;
        justify-content: center;
    }

    .live-tag {
        font-size: 11px;
        padding: 4px 14px;
        margin-bottom: 12px;
    }
}

@media (max-width: 900px) {
    .subcat-btn {
        font-size: 10px;
    }

    .all-subcat-btn {
        font-size: 10px;
    }
    .subcat-carousel .owl-nav button {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 767px) {
    .live-section-container {
        padding: 0 12px;
    }

    .live-card {
        flex-direction: column;
        gap: 25px;
        padding: 25px 18px;
        text-align: center;
    }

    .icon-box {
        width: 90px;
        height: 90px;
        border-radius: 25px;
    }

    .youtube-svg {
        width: 45px;
        height: 45px;
    }

    .content-box {
        width: 100%;
    }

    .content-box h2 {
        font-size: 22px;
        line-height: 1.4;
        white-space: normal;
        margin-bottom: 18px;
    }

    .live-tag {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 15px;
    }

    .btn-live {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
        justify-content: center;
        border-radius: 12px;
    }

    .live-card::after {
        width: 80px;
        height: 80px;
        bottom: -20px;
        right: -20px;
    }
}

.whatsapp-float {
    position: fixed !important;
    bottom: 50px;
    right: 15px;

    width: 40px;
    height: 40px;

    background: #25d366;
    color: #fff !important;

    border-radius: 50%;

    display: flex !important;
    align-items: center;
    justify-content: center;

    font-size: 22px;

    text-decoration: none;

    z-index: 999999;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    transition: 0.3s;
}

.whatsapp-float i {
    line-height: 0;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.08);
}

/* Pulse Animation */

.whatsapp-float::before {
    content: "";
    position: absolute;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    background: rgba(37, 211, 102, 0.4);

    animation: whatsappPulse 1.8s infinite;

    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

/* --- Mobile Bottom Navigation --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 6px 0;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
}

.mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 10px;
    padding: 4px 12px;
    transition: color 0.2s;
    position: relative;
}

.mobile-nav-item i {
    font-size: 1.3rem;
    color: #555;
    transition: color 0.2s;
}

.mobile-nav-item:hover,
.mobile-nav-item:active,
.mobile-nav-item.active {
    color: #ff4500;
}

.mobile-nav-item:hover i,
.mobile-nav-item:active i,
.mobile-nav-item.active i {
    color: #ff4500;
}

.mobile-nav-label {
    margin-top: 2px;
    font-weight: 500;
}

.mobile-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.mobile-nav-item:hover .mobile-avatar,
.mobile-nav-item:active .mobile-avatar {
    border-color: #ff4500;
}

.mobile-badge {
    position: absolute;
    top: -2px;
    right: 6px;
    background: #ff4500;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 56px;
    }

    .footer-bottom {
        padding-bottom: 90px;
    }

    .whatsapp-float {
        width: 30px;
        height: 30px;
        font-size: 18px;
        bottom: 115px;
        right: 12px;
    }
}
