.custom-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: none;
    overflow: hidden;
    transition: background-color 0.3s ease;
    position: relative;
    border-radius: 10px;
}

.custom-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: opacity 0.3s ease;
}

.custom-card:hover img {
    opacity: 0.7;
    /* Slight dimming effect on hover */
}

/* Styling for the "+" icon */
.overlay-text {
    font-size: 24px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.custom-card:hover .overlay-text {
    background-color: #003366;
    /* Dark blue background */
    opacity: 1;
}

/* Card text alignment and spacing */
.custom-card .card-body {
    padding: 5px 10px;
}

.custom-card .card-body .card-text {
    margin: 5px 0;
    font-size: 18px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-card {
        height: auto;
    }

    .custom-card img {
        height: 180px;
    }
}




.custom-card .card-body .card-text {
    margin: 5px 0;
    font-size: 18px;
    font-weight: 500;
    color: #555;
    /* Default text color */
    transition: color 0.3s ease;
    /* Smooth color transition */
}

.custom-card:hover .card-body p {
    color: blue;
    /* Change text color on hover */
}


/* ************************************blog4******************** */

/* Link styles */
.highlight-link {
    color: green;
    /* Default green color */
    text-decoration: none;
    /* Remove underline */
    transition: color 0.3s ease;
    /* Smooth color transition */
}

.highlight-link:hover {
    color: blue;
    /* Change color to blue on hover */

}


.inline-text {
    display: inline;
    /* Prevent block display */
    white-space: nowrap;
    /* Prevent text wrapping */
}






h5 {
    display: inline;
    /* Ensure h5 content stays inline */
    font-size: 16px;
    /* Adjust font size if needed */
    color: #000;
    /* Default text color for h5 */
    margin: 0;
    /* Remove extra margins */
}

.inline-link {
    color: green;
    /* Default color for the link */
    text-decoration: none;
    /* Remove underline */
    transition: color 0.3s ease;
    /* Smooth hover effect */
    display: inline;
    /* Ensure the link stays inline */
}

.inline-link:hover {
    color: blue;
    /* Change link color on hover */
}

h5 span {
    display: inline;
    /* Ensure the span does not break to a new line */
}


/* *********************************************************************************** */

.reduced-space {
    margin-bottom: -1px;

}

.date-text {
    color: white;
}