/*====================================
	Header
=====================================*/
.header-logo {
    display: block;
}

.header-logo-title {
    flex-grow: 1;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.header-search-bar {
    font-size: 16px;
    font-weight: 500;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 15px 20px;
    border-radius: 16px;
    width: 100%;
}

.header-logo-wrap {
    flex-grow: 1;
    display: flex;
}

.header-marketplace .nav-link {
    padding: 15px 20px;
    color: #222;
    font-weight: 500;
    font-size: 15px;
}

.header-marketplace .nav-link.active,
.header-marketplace .nav-link.active i {
    color: var(--primary);
}

.header-marketplace .nav-link i {
    color: #222;
}

.header-marketplace .nav-link:hover,
.header-marketplace .nav-link:hover i {
    color: var(--primary);
}

.marketplace-search {
    max-width: 460px;
    width: 100%;
    padding: 8px 0;
}

.marketplace-search .form-control,
.marketplace-search .form-control:focus {
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    border-right: 0;
    background-color: #e6e7e7 !important;
    border-color: #e6e7e7 !important;
    box-shadow: none;
    padding: 20px;
}

.marketplace-search .btn {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    border-left: 0;
    background-color: #e6e7e7 !important;
    border-color: #e6e7e7 !important;
    color: #222222 !important;
}

.text-2-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/** ========================================
	Content Main
========================================== */
#content-main {
    padding: 15px 0;
}

#content-main.marketplace-dashboard {
    padding: 30px 15px 30px 255px;
}

.marketplace-dashboard #sidebar-menu {
    z-index: 995;
    padding-top: 140px;
}


.marketplace-dashboard-with-filter #sidebar-menu {
    width: 300px;
}

#content-main.marketplace-dashboard-with-filter {
    padding: 30px 15px 30px 315px;
}



/** ========================================
	Home
========================================== */
.home-category-name {
    font-size: 14px;
    font-weight: 500;
    color: #222222;
}

.home-category-item img {
    filter: brightness(0) invert(1);
}

.multiselect-container {
    max-width: 100%;
    max-height: 300px;
    overflow-y: auto;

}


.icon-btn {
    background: #fff;
    border: 1px solid #fff;
    padding: 5px;
    margin: 2px;
    font-size: 18px;
    line-height: 1;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    color: var(--primary);
}



.home-category-item {
    position: relative;
    overflow: hidden;
}

.home-cat-arrow {
    position: absolute;
    bottom: 15px;
    right: 15px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 20px;
}

.home-category-item:hover .home-cat-arrow {
    opacity: 1;
    transform: translateX(0);
}

.home-category-item img {
    transition: transform 0.3s ease;
}

.home-category-item:hover img {
    transform: scale(1.1);
}

.home-category-name {
    padding-right: 30px;
}

.counter-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/** ========================================
	Footer
========================================== */
footer {
    z-index: 997;
    position: relative;
}

/* Pradum 30-12-2025 Start */
/** ========================================
	Header Dropdown Responsive
========================================== */
#menu-nav-trig {
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-wrap {
    display: flex;
    align-items: center;
}

.dropdown {
    position: initial !important;
}

@media (max-width: 768px) {
    .dropdown-menu .header-nav {
        flex-direction: column;
        padding: 10px 0;
    }

    .dropdown-menu .nav-item {
        width: 100%;
    }

    .dropdown-menu .nav-link {
        padding: 10px 20px !important;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }

    .dropdown.d-md-none>.dropdown-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        margin: 0 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease-in-out !important;
        display: block !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
        border-radius: 0 !important;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1) !important;
    }

    .dropdown.d-md-none.show>.dropdown-menu {
        transform: translateX(0) !important;
    }

    .dropdown-menu .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 20px !important;
        display: none;
        width: 100% !important;
        height: auto !important;
    }

    /* Support for show class if added manually, but allow jQuery to override */
    .dropdown-menu .dropdown.show>.dropdown-menu,
    .dropdown-menu .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu .marketplace-search {
        max-width: 100%;
        padding: 5px 0;
    }

    .header-logo-title {
        display: none;
    }

    .header-right-profile .btn {
        margin-left: 5px !important;
        margin-top: 5px;
        padding: 6px 10px;
        font-size: 13px;
    }

    .header-right-profile .btn i {
        margin-right: 2px !important;
    }

    body.menu-open {
        overflow: hidden !important;
    }

    /* Convert sidebar-menu to horizontal row on mobile */
    .marketplace-dashboard .page-content,
    .marketplace-dashboard-with-filter .page-content {
        padding-top: 0 !important;
    }

    .marketplace-dashboard #sidebar-menu,
    .marketplace-dashboard-with-filter #sidebar-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        padding-top: 0 !important;
        margin: 0 !important;
        background-color: #fff !important;
        border-bottom: 1px solid #ddd !important;
        z-index: 990 !important;
    }

    .marketplace-dashboard #sidebar-menu .sidebar-content,
    .marketplace-dashboard-with-filter #sidebar-menu .sidebar-content {
        height: auto !important;
        padding: 10px 0 !important;
    }

    .sidebar-nav-wrap .sidebar-nav {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 5px 15px 15px !important;
    }

    .sidebar-nav-wrap .sidebar-nav .nav-item {
        display: block !important;
        width: 100% !important;
        border-bottom: 0 !important;
        margin-right: 15px !important;
    }

    .sidebar-nav-wrap .sidebar-nav .nav-item-box {
        padding: 5px 10px !important;
        border-radius: 20px !important;
        background: #f0f0f0 !important;
        color: #333 !important;
    }

    .sidebar-nav-wrap .sidebar-nav .nav-item.active .nav-item-box {
        background: var(--primary) !important;
        color: #fff !important;
    }

    .sidebar-nav-wrap .sidebar-nav .nav-item-icon {
        margin-right: 5px !important;
        font-size: 14px !important;
    }

    .sidebar-nav-wrap .sidebar-nav .nav-item-text {
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    /* Hide submenus in horizontal row format */
    .sidebar-nav-wrap .sidebar-nav .nav-subitems {
        display: none !important;
    }

    .sidebar-nav-wrap .sidebar-nav .nav-item.has-submenu a.level-1:after {
        display: none !important;
    }

    #sidebar-menu-overlay {
        display: none !important;
    }

    #content-main {
        padding: 25px !important;
    }

    .marketplace-dashboard #sidebar-menu .sidebar-content,
    .marketplace-dashboard-with-filter #sidebar-menu .sidebar-content {
        padding: 25px !important;
    }

    .col-sm-3 {
        text-align: center;
        padding-bottom: 20px;
    }

    .justify-content-center {
        justify-content: left !important;
    }

}


.dropdown-toggle::after {
    float: right;
    margin-top: 10px;
}

.btn-login {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: #fff !important;
}

.btn-login:hover {
    background-color: #0069d9 !important;
    border-color: #0062cc !important;
}

.btn-register {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

.btn-register:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
}

.page-heading {
    padding-top: 20px !important;
}

.social-Media {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
}

.social-Media li a {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #c71d23;
    color: #fff;
}

@media (max-width: 767.98px) {
    .social-Media {
        justify-content: center !important;
        align-items: center !important;
        gap: 10px;
        flex-wrap: wrap;
    }

    .social-Media li a {
        width: 36px;
        height: 36px;
    }
}

/* Pradum 30-12-2025 End */

/* ========================================
   B2B Premium Landing Page - Start
======================================== */

.b2b-premium-landing {
    font-family: 'Inter', 'Check Sm', sans-serif;
    /* Modern font stack */
    background-color: #f8f9fa;
    /* Softer background */
}

/* --- Utilities --- */
.ls-1 {
    letter-spacing: 1px;
}

.z-index-2 {
    z-index: 2;
}

.rounded-xl {
    border-radius: 20px !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

.border-left-primary {
    border-left: 5px solid var(--primary);
}

.border-left-secondary {
    border-left: 5px solid var(--secondary);
}

/* --- Main B2B Feature Cards (Bento Style) --- */
.b2b-main-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-hover-lift:hover {
    transform: translateY(-10px);
}

.b2b-main-card .card {
    background: #ffffff;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border by default */
}

.b2b-main-card:hover .card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-light);
}

.card-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 15rem;
    color: rgba(0, 0, 0, 0.03);
    transform: rotate(-15deg);
    pointer-events: none;
    transition: all 0.5s ease;
}

.b2b-main-card:hover .card-bg-icon {
    transform: rotate(0deg) scale(1.1);
    color: rgba(23, 103, 177, 0.08);
    /* Primary color hint */
}

/* Icon Box Animation */
.icon-box-lg {
    transition: all 0.3s ease;
}

.b2b-main-card:hover .icon-box-lg {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(23, 103, 177, 0.3);
}

.card-action {
    transition: all 0.3s ease;
}

.b2b-main-card:hover .card-action {
    transform: translateX(10px);
    color: var(--primary-dark) !important;
}


/* --- Secondary Cards (Essentials) --- */
.b2b-secondary-card {
    transition: all 0.3s ease;
}

.b2b-secondary-card .card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    border-radius: 12px !important;
    /* Slightly sharper than main cards */
    transition: all 0.3s ease;
    overflow: hidden;
    /* For the border-left effect */
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.b2b-secondary-card:hover .card {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--primary-light);
}

/* Hover Accent Line */
.b2b-secondary-card .card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-light);
    /* Lighter accent */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.b2b-secondary-card:hover .card::after {
    opacity: 1;
}

.b2b-secondary-card .icon-box-md {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.1rem;
    background-color: #f8f9fa;
    /* Light gray default */
    color: var(--primary);
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

.b2b-secondary-card:hover .icon-box-md {
    background-color: var(--primary-light) !important;
    /* Lighter background on hover */
    color: var(--primary-dark) !important;
    /* Dark text for contrast */
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(23, 103, 177, 0.1);
}

.b2b-secondary-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    /* Softer Heading Color */
}

.b2b-secondary-card:hover h5 {
    color: var(--primary);
}


.b2b-secondary-card .fa-chevron-right {
    font-size: 0.8rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.b2b-secondary-card:hover .fa-chevron-right {
    opacity: 1;
    color: var(--primary);
    transform: translateX(3px);
}

/* Support Buttons (Mini Tiles) */
.btn-white.transition-hover {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    justify-content: flex-start !important;
    /* Alignment fix */
    padding-left: 20px !important;
    background: #fff;
    transition: all 0.3s ease;
    color: #555;
    /* Softer text */
}

.btn-white.transition-hover:hover {
    background: #fff;
    border-color: var(--primary-light) !important;
    /* Lighter border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    color: var(--primary) !important;
    /* Switch to primary blue, not red */
    transform: translateY(-2px);
}

.btn-white.transition-hover i {
    color: #999;
    /* Softer icon default */
    transition: color 0.3s ease;
}

.btn-white.transition-hover:hover i {
    color: var(--primary) !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .b2b-main-card .card-body {
        padding: 2rem !important;
    }
}

/* --- Premium Promo Card (Meeting Fix) --- */
.b2b-promo-card {
    /* Premium clean cool background (Primary fade) */
    background: #f0f7ff;
    border: 1px solid rgba(23, 103, 177, 0.15);
    /* Primary subtler border */
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(23, 103, 177, 0.05);
}

.b2b-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 103, 177, 0.1);
    border-color: rgba(23, 103, 177, 0.3);
}

/* Decorative accent */
/* .b2b-promo-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
} */

.b2b-promo-card .promo-icon {
    width: 60px;
    height: 60px;
    background: rgba(23, 103, 177, 0.08);
    /* Primary color ultra light */
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.b2b-promo-card .enroll-btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(23, 103, 177, 0.3);
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.b2b-promo-card .enroll-btn:hover {
    background: var(--primary-dark);
    /* darker shade */
    box-shadow: 0 6px 15px rgba(23, 103, 177, 0.4);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}