/* contact Banner css */
.market-banner-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.market-banner-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#market-banner {
    background-image: url("../img/market-banner.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 460px;
    position: relative;
    display: flex;
    align-items: center;
}

.market-banner h1 {
    font-size: 50px;
    line-height: 2.81;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    text-transform: capitalize;
    font-weight: 200;
}

/* market list filter css */
.market-filter-section {
    padding: 40px 0;
}

.filter-card {
    padding: 15px 28px;
    border-radius: 8px;
    background-color: #232323;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 100;
}

.favorite-btn-div {
    position: relative;

}

.favorite-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #E5403E;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

.favorite-btn {
    position: relative;
    display: inline-block;
    padding: 10px 35px;
    font-size: 16px;
    color: #000;
    background: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    font-weight: 300;
    clip-path: polygon(15px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 15px);
}

.favorite-btn::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -10px;
    width: 22px;
    height: 22px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

.favorite-btn:hover {
    background-color: #fff;
    color: #000;
}

/* market place list css */

.market-list-section {
    padding: 0px;
}

.market-card-div {
    position: relative;
    margin: 80px auto 30px auto;

}

.market-card {
    border-radius: 20px 20px 20px 20px;
    background-color: #232323;
    /* padding: 24px 24.3px 28px 23.7px; */
    padding: 20px;
    color: white;
    margin: 0px auto 30px auto;
    transition: all 0.5s ease-in-out;
    z-index: 2;
    position: relative;


}

.market-card-div-img {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("../img/market-card-bg.webp");
    background-position: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
    z-index: 0;
    border-radius: 20px 20px 0 0;
}

.market-card-div:hover .market-card-div-img {
    transform: translateY(-80px);

}

.market-card-div:hover .market-card {
    border-radius: 0 0 20px 20px;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.location-icon {
    color: #9ca3af;
    font-size: 14px;
}

.location-text {
    color: #fff;
    font-size: 18px;
    font-weight: 200;
}

.heart-icon {
    margin-left: auto;
    margin-top: -10px;
    margin-right: -5px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.heart-icon:hover {
    color: #E5403E;
}

.card-description {
    color: rgba(255, 255, 255, 0.6);
    /* font-size: 16px; */
    font-size: 14px;
    line-height: 1.38;
    margin-bottom: 28px;
    font-weight: 100;
    width: 90%;
}

.detail-list {
    /* padding-left: 5px; */
    padding-left: 15px;
    margin-bottom: 0px;
}

.detail-list li {
    list-style-type: square;
    list-style-position: inside;
    /* font-size: 18px; */
    font-size: 14px;
    font-weight: 100;
    color: #fff;
    margin-bottom: 10px;
}

.detail-list li::marker {
    color: #E5403E;
}

.action-buttons {
    display: flex;
    gap: 10px;
    /* flex-wrap: wrap; */
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-around;
}

.download-btn {
    position: relative;
    display: inline-block;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 0;
    /* padding: 0px 10px; */
    /* font-size: 18px; */
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    clip-path: polygon(15px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 15px);
    text-decoration: none;
    font-weight: 300;
}

.download-btn::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -5.5px;
    width: 22px;
    height: 22px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

.download-btn:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.express-btn {
    position: relative;
    display: inline-block;
    /* padding: 10px 35px; */
    padding: 10px 0px;
    font-size: 14px;
    color: #000;
    background: #fff;
    border: 1px solid #fff;
    align-items: center;
    text-decoration: none;
    font-weight: 300;
    transition: all 0.2s ease;
    clip-path: polygon(15px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 15px);
}

.express-btn::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -10px;
    width: 22px;
    height: 22px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

.express-btn:hover {
    background-color: #E5403E;
    border-color: #E5403E;
    color: #fff;
}

.dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: #E5403E;
}

@media (max-width: 1199px) {
    .download-btn {
        padding: 15px 10px;
    }

    .express-btn {
        padding: 15px 10px;

    }
}

/* responsive design */

@media (max-width: 768px) {
    .market-banner h1 {
        font-size: 32px;
    }

    #market-banner {
        background-image: url("../img/market-mb-banner.webp");
        background-position: center;
        width: 100%;
        height: 450px;
        position: relative;
        display: flex;
        align-items: center;
    }

    .market-banner-section {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        overflow: hidden;
    }

    .market-filter-section {
        padding: 20px 0;
    }

    .dropdown-filters .dropdown {
        display: none;
    }

    .favorite-btn-div {
        display: none;
    }

    .filter-card {
        width: 100%;
        border-radius: 4px;
        padding: 17px 20px;

    }

    .dropdown-filters {
        width: 100%;
    }

    .filter-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: rgba(255, 255, 255, 0.8);
        font-size: 18px;
        width: 100%;
        font-weight: 100;
    }

    .action-buttons {
        flex-direction: column;
    }

    .detail-list li::marker {
        display: none;
    }

    .detail-list li {
        list-style-type: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .detail-list li span {
        opacity: 0;
    }

    /* Offcanvas custom dark style */
    .offcanvas-start {
        background-color: #161616;
    }

    .offcanvas-title {
        font-size: 20px;
        font-weight: 300;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        text-align: left;
        color: #fff;
    }

    .filter-menu {
        background-color: #232323;
        border-color: transparent !important;
        height: 100%;
    }

    .btn-close {
        background-color: transparent;
        opacity: 1;
        filter: none;
        color: #fff !important;
        background-image: url("../img/modal-close.webp");
        background-size: 80%;
    }

    .filter-menu li {
        padding: 18px 24px;
        cursor: pointer;
        font-size: 16px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.25;
        letter-spacing: normal;
        text-align: left;
        color: #fff;
    }

    .filter-menu li.active {
        background-color: #ffffff;
        padding: 18px o 18px 24px;
        color: #161616;
    }

    #filterContent .tab-content p {
        padding: 20px;
        border-bottom: solid 0.8px rgba(255, 255, 255, 0.3);
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 16px;
        font-weight: 100;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.25;
        letter-spacing: normal;
        text-align: left;
        color: rgba(255, 255, 255, 0.8);
    }

    #filterContent .tab-content p .location_mark i {
        font-size: 25px;
    }

    #filterContent .tab-content p .location_mark.active i {
        color: #E5403E !important;
    }

    .btn-reset {
        border: 1px solid #555;
        color: white;
        background: transparent;
        position: relative;
        background-color: transparent;
        border: 1px solid #fff;
        color: #fff;
        padding: 10px 20px;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s ease;
        clip-path: polygon(15px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 15px);
        text-decoration: none;
        font-weight: 300;
        width: 100%;
    }

    .btn-reset::before {
        content: "";
        position: absolute;
        top: -2px;
        left: -5.5px;
        width: 22px;
        height: 22px;
        background-color: #fff;
        clip-path: polygon(0 0, 100% 0, 0 100%);
        z-index: 1;
    }

    .btn-light {
        position: relative;
        width: 100%;

    }

    .btn-light::before {
        content: "";
        position: absolute;
        top: -2px;
        left: -5.5px;
        width: 22px;
        height: 22px;
        background-color: #161616;
        clip-path: polygon(0 0, 100% 0, 0 100%);
        z-index: 1;
    }

    .btn-reset:hover {
        background: #333;
    }

    .market-list-section {
        padding: 0 0 40px 0;
    }

    .market-card {
        border-radius: 0 0 20px 20px
    }

    .market-card-div-img {
        transform: translateY(-80px);
    }

    .company-details {}

    /* .download-btn{
        max-width: 100%;
        padding: 10px 10px;
    }
    .express-btn{
        max-width: 100%;
        padding: 10px 10px;
    } */
}

/* @media (max-width: 576px) {
.company-details .row {
flex-direction: column;
}

.company-details .col-6 {
width: 100%;
max-width: 100%;
}
} */