/* General Page Container */
.content-container {
    padding: 20px;
    margin: auto;
    max-width: 1200px;
    background-color: rgb(217, 218, 247); /* Added green background */
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow */
    animation: fadeIn 0.8s ease-in-out;
    color: white; /* Ensures text is readable against the green background */
    font-family: 'Roboto', sans-serif;
}

/* Page Header Styling */
header {
    background: linear-gradient(90deg, #232a84, #3b50a1);
    color: white;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white; /* Keeps cards contrasting against the green container */
    color: #333;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid #0150b1; /* Highlight card border on hover */
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid rgb(40, 30, 230); /* Matches the green theme */
    border-radius: 12px 12px 0 0;
}

/* Card Title and Text */
.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: rgb(0, 5, 107); /* Matches the page theme */
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title:hover {
    color: #4049ad; /* Darker green for hover effect */
    text-decoration: underline;
    
}

 .card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

/* Pagination Buttons */
.pagination a {
    font-size: 1rem;
    margin: 0 5px;
    padding: 8px 16px;
    color: white;
    background-color: rgb(3, 25, 153);
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.pagination a:hover {
    background-color: rgb(3, 25, 153); /* Darker green for hover effect */
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
