

.hb-card {
    width: 280px;
    margin: 0 auto;position: relative;
    overflow: hidden;
    border-radius: var(--border-width);
}

.hb-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.hb-image-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.hb-media-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-width);
    min-height: 400px;
}

.hb-media-container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.55) 0%,
        rgba(0,0,0,.20) 40%,
        rgba(0,0,0,0) 100%
    );

    opacity: 0;
    transition: opacity .45s ease;
}
.hb-media-container.color-1::before {
    background: linear-gradient(to top, rgb(226 14 14 / 55%) 0%, rgb(150 56 56 / 20%) 40%, rgba(0, 0, 0, 0) 100%);
}
.hb-media-container.color-2::before {
    background: linear-gradient(to top, #f78a01c4 0%, rgb(150 56 56 / 20%) 40%, rgba(0, 0, 0, 0) 100%);
}
.hb-media-container.color-3::before {
    background: linear-gradient(to top, rgb(216 203 4 / 88%) 0%, rgb(150 56 56 / 20%) 40%, rgba(0, 0, 0, 0) 100%);
}
.hb-media-container.color-4::before {
    background: linear-gradient(to top, rgb(1 125 31 / 80%) 0%, rgb(150 56 56 / 20%) 40%, rgba(0, 0, 0, 0) 100%);
}
.hb-media-container.color-5::before {
    background: linear-gradient(to top, rgb(21 103 229 / 87%) 0%, rgb(150 56 56 / 20%) 40%, rgba(0, 0, 0, 0) 100%);
}
.hb-media-container.color-6::before {
    background: linear-gradient(to top, rgb(255 60 187 / 78%) 0%, rgb(150 56 56 / 20%) 40%, rgba(0, 0, 0, 0) 100%);
}
.hb-media-container:hover::before {
    opacity: 1;
}

.hb-title-tag {
    position: absolute;
    left: 25px;
    bottom: 80px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 3px;
    border-radius: var(--border-width);
     backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .35s ease, backdrop-filter .35s ease;
}

.hb-title-tag h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}


.hb-title-tag::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(100% + 15px);
    width: 175px;
    height: 1px;
    background: #f46021;

    transform: scaleX(.35);
    transform-origin: left center;
    transition: transform .45s ease;
}

.hb-card:hover .hb-title-tag::after {
    transform: scaleX(1);
}


.hb-info-box {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 20px;
    z-index: 3;
}

.hb-action-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hb-action-text {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .8rem;
    font-weight: 600;
}

.hb-btn-circle-trigger {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .35s ease;
}

.hb-arrow-icon {
    color: #fff;
    font-size: 1.1rem;
    position: relative;
    top: -1px;
    transition: transform .35s ease;
}

.hb-card:hover .hb-image-cover {
    transform: scale(1.08);
}


.hb-card:hover .hb-btn-circle-trigger {
    background: #f46021;
}

.hb-card:hover .hb-title-tag {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    transition: background .35s ease, backdrop-filter .35s ease;
}

.hb-carousel-wrapper {
    max-width: 1200px;
}

@media (max-width: 1280px) {
    .hb-carousel-wrapper {
        max-width: 900px;
    }
}

@media (max-width: 991px) {
   

    .hb-title-tag h3 {
        font-size: 1.7rem;
    }
    .hb-carousel-wrapper {
        max-width: 580px;
    }
}

@media (max-width: 768px) {

    .hb-carousel-wrapper {
        max-width: 280px;
    }

    .hb-title-tag {
        left: 20px;
        bottom: 70px;
    }

    .hb-title-tag h3 {
        font-size: 1.5rem;
    }

    .hb-title-tag::after {
        width: 45px;
    }

    .hb-card:hover .hb-title-tag::after {
        width: 90px;
    }
}

@media (max-width: 480px) {
 

    .hb-title-tag h3 {
        font-size: 1.3rem;
    }

    .hb-info-box {
        left: 15px;
        right: 15px;
    }
}