:root {
    --primary: #0a4a8c;
    --accent: #2ecc71;
    --text: #333;
    --bg: #f4f7f9;
    --white: #ffffff;
    --container-max: 1100px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

.logo-link {
    text-decoration: none; /* Removes the underline */
    color: inherit;        /* Tells the link to use the color of the div/text around it */
    display: inline-block;
}

.logo-link:hover {
    opacity: 0.8;          /* Gives a subtle hint when hovered so users know it's clickable */
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Header & Nav */
.site-header {
    background: var(--white);
    padding: 1.2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(10, 74, 140, 0.8), rgba(10, 74, 140, 0.8)), 
                url('../assets/hero.jpg') center/cover;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Grids */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-top: 5px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* News */
.news-section { padding: 4rem 0; }
.news-grid { display: grid; gap: 1rem; }
.news-item {
    background: var(--white);
    padding: 1.5rem;
    border-left: 5px solid var(--accent);
}

/* Footer */
.main-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

/* Resource Banner */
.resources-section { padding: 2rem 0 4rem; }
.resource-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: white;
    border: none;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.btn-dark { background: #1a1a1a; color: white; text-decoration: none; padding: 0.8rem 1.5rem; border-radius: 4px; }






/* LPST Hero */
.content-grid {
    display: block;      /* No more grid, just natural vertical stacking */
    max-width: 900px;    /* Keeps the line length comfortable for reading */
    margin: 0 auto;      /* Centers the content on the screen */
    padding-bottom: 5rem;
}

.project-box {
    background: #eef2f7;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 5px solid var(--primary);
    margin: 2rem 0;      /* Adds spacing above and below */
}