#highlights .course-card {
    position: relative;
    background-color: rgb(var(--brand-clr-2));
    /* background: var(--card-bg-clr); */
    padding: 1rem;
    border-radius: 0.5rem;
    color: rgb(var(--text-clr-1));
    width: calc(100vw - 2rem);
    max-width: 300px;
    height: 100%;
    transition: all ease 300ms;
}

#highlights .course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    z-index: 0;
    overflow: hidden;
}

#highlights .course-card::after {
    content: "";
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    border: 2px solid rgb(var(--brand-clr-2));
    z-index: -1;
    transition: all ease 300ms;
}

#highlights .course-card:hover {
    background-color: rgb(var(--brand-clr-2));
    color: rgb(var(--text-clr-1));
}

#highlights .course-card:hover::after {
    border: 2px solid rgb(var(--brand-clr-2));
}

#highlights .course-card .img-container {
    aspect-ratio: 3/2;
}

#highlights .course-card>h3,
#highlights .course-card>span {
    position: relative;
    z-index: 1;
    color: rgb(var(--text-clr-2));
}

#highlights .course-card img {
    position: relative;
    border-radius: 0.4rem;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    z-index: 1;
    transition: all ease 300ms;
}

#highlights .course-card:hover img:not(.bg-image) {
    transform: scale(1.05);
}

#highlights .course-card img.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
    filter: blur(1px) brightness(0.3);
}

#highlights .course-card>span {
    color: rgba(var(--text-clr-2), 0.6);
    transition: all ease 300ms;
}

#highlights .course-card:hover>span {
    color: rgba(var(--text-clr-2), 1);

}

#highlights .course-card span.text-center.position-absolute {
    width: calc(100% - 2rem);
}

#highlights .course-card span.bi.position-absolute {
    transform: translate(-50%, 10%);
    z-index: 0;
    opacity: 0;
}

#highlights .course-card span.bi.position-absolute::before {
    font-size: 14em;
    filter: blur(8px);
}

#highlights .course-card:hover span.bi.position-absolute {
    opacity: 0.05;
    animation: move-up 1000ms linear 0s infinite;
}

#highlights .course-card>span>span {
    position: relative;
    top: 0.25rem;
}

#highlights .modal .modal-content {
    background-color: var(--bs-dark);
}

@keyframes move-up {

    0%,
    100% {
        transform: translate(-50%, 10%);
    }

    80%,
    99% {
        transform: translate(-50%, -110%);
    }
}


#highlights .highlights-card {
    background-color: var(--bs-dark);
    border-radius: 1rem;
    /* overflow: hidden; */
    box-shadow: 0 0 ;
    position: relative;
}

#highlights .highlights-card::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    border: 2px solid var(--bs-dark);
    z-index: -1;
}

.highlights .img img {
    border-radius: .5rem;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}


#highlights .my-card {
    border-radius: 0.5rem;
    background-color: var(--bs-secondary);
    padding: 1rem;
    border: 1px solid white;
    cursor: pointer;
    transition: all ease 300ms;
}

#highlights .my-card > * {
    transition: all ease 300ms 50ms;
}

#highlights .my-card:hover {
    transform: scale(1.05);
}

#highlights .my-card:hover > * {
    transform: scale(1.05);
}

.highlights .card-bg {
    background-color: #6c757d7a;
    border-radius: 0.5rem;
    color: var(--bs-light);
    padding: 0.5rem;
    border:  1px solid #6c757d7a;
}
.highlights .card-bg.heading {
    background-color: rgba(7, 227, 227, 0.3);
}
.highlights .card-bg.form-btn {
    background-color: rgb(var(--brand-clr-4));
}
.highlights .card-bg .mute {
    opacity: 0.7;
}
.highlights .form-btn .btn {
    color: white;
}


#highlights .course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    z-index: 0;
    overflow: hidden;
}

#highlights .course-card::after {
    content: "";
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    border: 2px solid rgb(var(--brand-clr-2));
    z-index: -1;
    transition: all ease 300ms;
}

@media screen and (min-width:768px) {
    .highlights .img img {
        border-radius: .5rem;
        aspect-ratio: auto;
        height: 100%;
    }
}