 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
}

 /* Shimmer animation */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.shimmer {
    background: linear-gradient(to right, #f6f6f6 8%, #e0e0e0 18%, #f6f6f6 33%);
    background-size: 800px 104px;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}

 /* Loading overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}

 /* Navbar shimmer */
.navbar-shimmer {
    height: 60px;
    width: 100%;
    margin-bottom: 20px;
}

 /* Banner shimmer */
.banner-shimmer {
    height: 250px;
    width: 100%;
    margin-bottom: 30px;
}

 /* Card container */
.card-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

 /* Card shimmer */
.card-shimmer {
    height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.card-image-shimmer {
    height: 180px;
    width: 100%;
    margin-bottom: 15px;
}

.card-title-shimmer {
    height: 20px;
    width: 85%;
    margin-bottom: 10px;
}

.card-text-shimmer {
    height: 15px;
    width: 70%;
    margin-bottom: 8px;
}

.card-meta-shimmer {
    height: 15px;
    width: 60%;
    margin-top: auto;
}

 /* Section title shimmer */
.section-title-shimmer {
    height: 30px;
    width: 200px;
    margin: 20px 0;
}

 /* Responsive styles */
@media (min-width: 576px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 767px) {
    .card-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
