body {
    background-color: #f8f9fa;
}

.hero-section {
    height: auto;
    background: linear-gradient(to right, #003366, #00509e);
    color: white;
    padding: 120px 20px;
}

#hero-carousel {
    padding-top: 75px;
    max-width: 100%;
    height: auto;
}

#hero-carousel img {
    width: 635px;
    height: 410px;
}

.feature-box,
.stats-box {
    padding: 20px;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.feature-box i,
.stats-box i {
    font-size: 40px;
    color: #00509e;
    margin-bottom: 10px;
}

.news-carousel img {
    height: 250px;
    object-fit: cover;
}

.btn-outline-dark {
    color: #111; /* Default text color */
    border: 2px solid #111; /* Dark border */
    background: transparent;
    transition: all 0.3s ease-in-out;
}

.btn-outline-dark:hover {
    background: #1E1E9F !important; /* Background on hover */
    color: white !important;
    border: 2px solid #1E1E9F !important;
}

/* Feature Card */
.feature-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
}

.feature-card {
    background: #EEF0FF;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #1E1E9F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    margin: 0 auto 15px;
}

/* Change cursor style on hover */
.feature-link:hover {
    cursor: pointer;
    text-decoration: none;
}

#statistics h1 {
    margin-bottom: 30px; /* Spacing between number and title */
    font-size: 60px;
}

#statistics h5 {
    margin-bottom: 50px; /* Spacing between heading and description */
}

#statistics p {
    margin-bottom: 20px; /* Paragraph spacing for better readability */
}

/* News carousel card */
.news-card {
    width: 350px;
    height: 400px;
    border-radius: 12px;
    overflow: auto;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Overlay gradient with pseudo element */
.news-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(30, 30, 159, 0) 30%,
        rgba(30, 30, 159, 0.9) 80%,
        rgba(20, 20, 90, 1) 100%
    );
    z-index: 1; /* Make sure it's on top of image */
}

/* Make text overlay appear above mask */
.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: white;
    z-index: 2; /* Text above overlay */
}

/* News image style */
.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom gradient overlay */
.news-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

/* Metadata like date, author */
.news-meta {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* News title */
.news-title {
    font-size: 18px;
    font-weight: bold;
}

/* News description */
.news-desc {
    font-size: 14px;
    opacity: 0.8;
}

/* Custom carousel arrows */
.custom-arrow {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 30%;
    padding: 30px;
    width: 50px;
    height: 70px;
}

/* Caption style for carousel */
.carousel-caption {
    bottom: 2px;
    left: 30%;
    transform: translateX(-10%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    width: 90%;
    line-height: 1.2;
    text-align: center;
}
