body {
    font-family: 'Poppins', sans-serif;
}
a{
    text-decoration:none;
}
.search-bar-inline {
    background-color: #343a40; 
    border: 1px solid #ffc107;
    flex-grow: 1;
    max-width: 300px;
    transition: width 0.3s ease-in-out;
    padding: 8px 12px; 
    border-radius: 0.25rem; 
}
.search-bar-inline .form-control {
    background-color: transparent;
    color: #ffffff; 
    border: none;
    padding-left: 0;
    box-shadow: none;
}
.search-bar-inline .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 992px) {
    .hero-bg {
        background-image: url(../img/hero-bg.webp);
        background-position: calc(100% - 30px) center; 
        background-repeat: no-repeat;
        background-size: 38% auto; 
    }
}
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.marquee-wrapper {
    width: 100%;
}
.marquee-content {
    width: 200%;
    animation: scroll-left 40s linear infinite;
    flex-wrap: nowrap; 
}
.marquee-item {
    width: 10%;
    text-align: center;
    flex-shrink: 0;
}
.course-carousel-scroll {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.course-card {
    flex: 0 0 auto;
    width: 300px;
}
.course-carousel-scroll::-webkit-scrollbar {
    height: 8px;
}
.course-carousel-scroll::-webkit-scrollbar-thumb {
    background-color: #ced4da;
    border-radius: 4px;
}
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
.badge-half-out {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 10; 
    border-radius: 0.5rem; 
}
.card-relative {
    position: relative;
}
.footer-link-hover:hover {
    color: var(--bs-primary) !important; 
    text-decoration: underline !important;
}
.footer-icons .text-secondary {
    transition: color 0.3s ease;
}
.footer-icons .text-secondary:hover {
    color: #007bff !important;
}
#video-wrapper {
    overflow: visible !important; 
}
.video-play-button {
    width: 100px; 
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.pulse-circle {
    width: 70px; 
    height: 70px;
    background-color: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); 
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-ring 2s infinite; 
}
.pulse-circle .bi-play-fill {
    color: #ffffff; 
    margin-left: 5px; 
}
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
        transform: scale(1.05); 
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
        transform: scale(1);
    }
}
.form-select-lg {
    min-width: 170px;
    white-space: normal;
}
.form-select-lg option {
    white-space: normal;
    overflow: visible; 
}
#course-search-input:focus,
.input-group-lg .form-control:focus {
    border-color: #ced4da;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.nav-pills .nav-link {
    color: #495057;
    background-color: transparent;
    border-radius: 50rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}
.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    color: #4f46e5;
    background-color: #f3f4f6; 
}
.card-immersive {
    border: 1px solid #e5e7eb !important;
    border-radius: 1.5rem !important;
    overflow: hidden;
}
.hanging-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.hanging-list-item .icon-wrapper {
    width: 25px;
    flex-shrink: 0; 
    padding-top: 3px;
}
.hanging-list-item .content-wrapper {
    flex-grow: 1;
}
/* Shared icon styles */
.list-check li::before, 
.list-cross li::before {
    font-family: "bootstrap-icons";
    margin-right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1rem; /* Size of the tick/cross inside */
    border-radius: 50%;
    color: #fff; /* White icon color */
    flex-shrink: 0;
    margin-top: 3px; /* Aligns icon with text baseline */
}

/* Green background with check */
.list-check li::before {
    content: "\F26E"; /* Unicode for bi-check */
    background-color: #198754; /* Success Green */
}

/* Red background with cross */
.list-cross li::before {
    content: "\F62A"; /* Unicode for bi-x */
    background-color: #dc3545; /* Danger Red */
}

/* Ensure the text stays aligned */
.list-check li, .list-cross li {
    display: flex;
    align-items: start;
    margin-bottom: 0.5rem;
}