body {
    padding-top: 56px;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

@media screen and (max-width: 767px) {
    .hero-image {
        height: auto;
        max-width: 100%;
    }

    body {
        padding-top: 0;
    }
}

@media (min-width: 576px) {
    .pagination-container {
        display: block;
    }
}

/* Styling for Hero Section */
.hero-section {
    position: relative;
    height: auto;
    /* You can adjust the height as needed */
    overflow: hidden;
}

.hero-image {
    width: 100%;
    max-height: 405px;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

p {
    text-align: justify;
    margin-top: 0;
    margin-bottom: 1rem;
}

.container mt-4 {
    margin-bottom: 20px;
    /* Adjust as needed */
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

.card {
    background-color: rgba(243, 238, 238, 0.943);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    background-color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(173, 216, 230, 0.8);
    /* Ice Blue Shadow */
}

.card-img-top {
    /* max-height: 200px;
    object-fit: cover; */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-size: 15px;
    text-align: center;
    /* Align the card titles in the center */
    font-weight: bolder;

}

.card-text {
    color: #555;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.read-more-link {
    align-self: center;
}

/* Styling for Read More Link */
.read-more-link {
    background-color: rgba(227, 224, 224, 0.943);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    /* background-color: #f8f9fa; */
    border: 1px solid #ced4da;
    transition: background-color 0.3s;
}

.read-more-link:hover {
    background-color: white;


}

/* Pagination styling */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.page-item {
    display: inline-block;
    margin-right: 5px;
}

.page-link {
    color: #007bff;
    border: 1px solid #007bff;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}

.page-link:hover {
    background-color: #3495f5;
    /* Light gray background on hover */
}

.page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: #e7e7ec;

    .pagination-container {
        display: none;
    }
}