body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #cfe8ff;
    margin: 0;
}
h1, h2, h3, h4 {
    text-align: center;
}
#featured-card {
    transition: opacity 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); /* default */
}

#featured-card.fading {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* softer during fade-out */
}
.content {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: justify;
}
.content-wrapper {
    margin-top: 90px;
    flex: 1;
    background-color: #cfe8ff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    align-content: start;
}
.card.featured {
    background: white;
}
.content-card {
    max-width: 250px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3 8px rgba(0,0,0,0.18);
}
.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: #004a99;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.card-icon {
    font-size: 1.2rem;
    opacity: 0.85;
}
.page-body {
    padding-top: 90px;
    display: flex;
    flex: 1;
    background-color: #e6f2ff; /* slightly lighter than header/footer */
    padding: 1px 0;
}
.side-nav {
    margin-top: 90px;
    width: 150px;
    background-color: #004a99;
    border-right: 1px solid #aaccee;
    color: white;
}
.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav li {
    margin: 10px 0;
    text-align: center;
}

.side-nav a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 0;
}

.side-nav a:hover {
    background-color: #003366;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    background: linear-gradient(to bottom, #b7d8f7 0%, #a7cdef 100%);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #aaccee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.header-left,
.header-right {
    width: 150px; /* keeps the center block centered */
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-center {
    flex: 1;
    text-align: center;
}

.logo {
    height: 80px; /* adjust as needed */
    width: auto;
}

.site-footer {
    width: 100%;
    background-color: #cfe8ff;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #aaccee;
}
.subtext {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
    opacity: 0.85;
    line-height: 1.4;
}
.hero {
    grid-column: 1 / -1; /* span full width of the content grid */
    background: linear-gradient(135deg, #e8f1ff, #ffffff);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 29px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
    text-align: center;
}

.hero h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #003366;
}

.hero p {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #444;
    opacity: 0.9;
}
.home-hero {
    background: linear-gradient(135deg, #dce9ff, #ffffff);
    border-radius: 8px;
    padding: 18px 22px;   /* slim, clean */
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
    text-align: center;
}

.home-hero h2 {
    margin: 0;
    font-size: 1.7rem;
    color: #003366;
}

.home-hero p {
    margin-top: 8px;
    font-size: 1.05rem;
    color: #444;
    opacity: 0.9;
}
