@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; } /* Slight fade */
}

.flash-text {
    animation: flash 1s infinite;
}
/* Container for news carousel items */
.carousel-inner .carousel-item .row {
    margin: 0 -0.5rem; /* optional spacing for gutters */
}

/* Each card column */
.carousel-inner .col-md-3 {
    display: flex;
    align-items: stretch;
    margin-bottom: 1rem; /* bottom margin instead of mb-3 */
}

/* Card styling */
.carousel-inner .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 470px;
}

/* Card image */
.carousel-inner .card img {
    height: 250px;
    object-fit: cover;
    border-radius: 0.25rem; /* matches img-thumbnail default */
}

/* Card body */
.carousel-inner .card-body {
    display: flex;
    flex-direction: column;
}

/* Card title */
.carousel-inner .card-title {
    font-size: 0.875rem; /* small */
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: justify;
}

/* Card description text */
.carousel-inner .card-text {
    font-size: 0.875rem; /* small */
    color: #666666;
    line-height: normal;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* change number of lines to show */
    -webkit-box-orient: vertical;
}

/* Read More button container */
.carousel-inner .card-body .mt-auto {
    margin-top: auto;
    text-align: center;
}
.carousel-inner .card-title a {
    color: #00237d;
    text-decoration: none; /* optional, removes underline */
}
/* Make Read More buttons appear above carousel arrows */
.carousel-inner .card-body .btn {
    position: relative;
    z-index: 5; /* higher than carousel controls */
}
body a {
    text-decoration: none !important;
}
a,
a:-webkit-any-link {
    text-decoration: none !important;
}
a.fw-bold,
.demo4 a,
a.text-iit {
    font-weight: 600 !important;
    font-size: 14px !important;
}

span.fw-bold {
    font-weight: 600 !important;
    font-size: 14px !important;
}
 





