/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --primary-color: #003366; /* Dark Navy Blue */
    --secondary-color: #f4f4f4; /* Light Grey for backgrounds */
    --text-color: #333;
    --header-font: 'Playfair Display', serif;
    --body-font: 'Roboto', sans-serif;
    --accent-color: #0056b3; /* Lighter Blue for highlights */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* --- HEADER (Navigation Bar) --- */
.header {
    background-color: #fff;
    border-bottom: 3px solid var(--primary-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-logo {
    height: 140px;
    width: auto;
    display: block;
}

.nav-links a {
    margin-left: 25px;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s, border-bottom 0.3s;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* --- PAGE-SPECIFIC STYLES (TRAINING PAGE) --- */

/* Hero Section */
.hero-training {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 0;
}

.hero-training h1 {
    font-family: var(--header-font);
    font-size: 3em;
    margin-bottom: 15px;
}
 
.hero-training p {
    font-size: 1.2em;
}

/* Training Section General Styles */
.training-section {
    padding: 60px 0;
}

.training-section h2 {
    font-family: var(--header-font);
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}
 
.training-section h3 {
    font-family: var(--header-font);
    font-size: 1.5em;
    color: var(--accent-color);
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Capacity Building Section (Top) */
.capacity-building-section {
    background-color: white;
}

.capacity-building-section h2 {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 5px;
}

/* Masterclass Section (Bottom) */
.masterclass-section {
    background-color: var(--secondary-color);
}

.masterclass-section h2 {
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 5px;
}

/* List Styling */
.content-block ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
}

.content-block ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #ccc;
}

.content-block ul.bulleted-list {
    list-style: disc;
    margin-left: 25px;
}

.content-block ul.bulleted-list li {
    border-bottom: none;
    padding: 2px 0;
}

/* Action Button */
.action-button {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 20px;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

/* --- FOOTER STYLES --- */
.main-footer {
    background-color: var(--primary-color);
    color: white;
    padding-top: 40px;
    font-size: 0.9em;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-family: var(--header-font);
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    background-color: #002244;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #004488;
}

.footer-bottom a {
    color: #9bd7ff;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-training h1 {
        font-size: 2em;
    }
    /* Add responsiveness for other sections/pages here */
}