.menu-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin: 0;
    padding: 0.5rem 0;
}

.menu-item {
    text-align: center;
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 35%;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.menu-item i {
    font-size: 1rem;
    color: white;
}

.menu-item img {
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}

.menu-label {
    font-size: 0.7rem;
    margin-top: 4px;
    display: block;
}

/* <!-- end --> */

/* <!-- Css Banner  --> */

.top-rounded-shadow {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.15);
    margin-top: 0 !important;
}

.banner-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.card-feature {
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem;
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
}

.icon-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* <!--End  --> */

/* <!-- Css News Notif Card Luar--> */

.content-news {
    font-size: 0.7rem !important;
}

.content-title {
    font-size: 0.8rem !important;
}



.bg-image-container {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 10px);
    overflow: hidden;
    padding-bottom: 15px;
}

.bg-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-slide {
    position: absolute;
    bottom: 1px;
    left: 5%;
    transform: translateX(-50%);
    width: 90%;
    animation: slideDownUp 6s ease-in-out infinite;
    background-color: #e9d8f0;
    border-radius: 10px;
    border: none;
    margin: 0 auto;
}

@keyframes slideDownUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    20% {
        transform: translateY(0);
        opacity: 1;
    }

    40% {
        transform: translateY(100px);
        opacity: 0;
    }

    60% {
        transform: translateY(100px);
        opacity: 0;
    }

    80% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* <!-- End  --> */

/* <!-- Css Progress Status --> */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1rem 0 1rem 0;
    width: 100%;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
}

.step-milestone {
    width: 80px;
    height: 40px;
    border-radius: 25px;
    background-color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.65rem;
    font-weight: 500;
    transition: background-color 0.5s ease;
    padding: 0 12px;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, rgb(var(--primary)), #28a745, #007bff);
    z-index: 0;
    transform: translateY(-50%);
    width: 0%;
    transition: width 2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.step-order.active .step-milestone {
    background-color: rgb(var(--primary));
}

.step-process.active .step-milestone {
    background-color: #28a745;
}

.step-completed.active .step-milestone {
    background-color: #007bff;
}

.step-order.passed .step-milestone {
    background-color: rgb(var(--primary));
}

.step-process.passed .step-milestone {
    background-color: #28a745;
}

.step-completed.passed .step-milestone {
    background-color: #007bff;
}

.step-milestone {
    height: 30px;
    font-size: 0.65rem;
    width: 80px;
}

.step-text {
    margin-top: 0;
}

.truncate-two-para {
    font-size: 11px;
    max-width: 25rem;
    overflow: hidden;
    display: -webkit-box;
    height: 2rem;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

/* <!-- End  --> */

/* <!-- Detail Popup News Slider --> */

.news-slider .slick-slide>div {
    height: 100%;
}

.news-slider .card {
    height: calc(90vh - 150px) !important;
    padding: 2rem !important;
    display: flex;
}

.news-slider .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-slider .news-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-slider .news-content .mt-auto {
    margin-top: auto;
}

.news-slider .card p {
    text-align: justify;
    font-size: 0.875rem;
    line-height: 1.3em;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* max-height: 3.9em;
        min-height: 3.9em; */
}

.news-slider .card h4 {
    font-size: 1.25rem;
    line-height: 1.4em;
    /* min-height: 2.8em;
        max-height: 2.8em; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.news-slider .card img {
    width: 90%;
    height: auto;
    /* aspect-ratio: 16 / 9; */
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

.news-box-shadow {
    box-shadow: 0 5px 10px -1px rgba(49, 49, 54, 0.8), 0 1px 5px -1px rgba(49, 49, 54, 0.1);
}

.slick-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* cover / contain sesuai kebutuhan */
}

.slick-news-detail .slick-slide {
    margin: 0 8px !important;
}

.slick-news-detail .slick-initialized .slick-slide {
    height: auto !important;
    display: flex !important;
    align-items: stretch !important;
}

.slick-news-detail .slick-dots {
    position: absolute;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 40px;
    list-style: none;
    list-style-type: none;
    text-align: center;
    /* margin-top: 400px; */
    bottom: 0%;
}

.slick-news-detail .slick-dots li {
    display: inline-block;
    margin: 12px 5px;
}

.slick-news-detail .slick-dots li button {
    background: #646464;
    /* White dot by default */
    border: none;
    /* border-radius: 50%; */
    width: 20px;
    height: 2px;
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: background 0.3s ease;
}

.slick-news-detail .slick-dots li.slick-active button {
    background: #ea480a;
    /* Orange dot for active state, matching --primary */
}

.slick-news-detail .slick-dots li button:before {
    content: '';
    /* Remove default content */
}


.slick-news-detail .slick-track {
    padding-top: 1.25rem;
    margin-bottom: 50px;
}

/* <!-- End  --> */
