/* === GLOBAL STYLES === */
:root {
    /* New 'Colourful' Palette */
    --primary-color: #00796b;  /* A deep, trustworthy teal */
    --secondary-color: #fbc02d; /* A warm, hopeful gold */
    --text-color: #333333;
    --text-light: #555555;
    --bg-color: #f4f7f6;
    --white: #ffffff;
    --border-color: #eeeeee;
    --container-width: 1100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
    color: var(--text-light);
    margin-bottom: 1.2em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 40px 0;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-primary:hover {
    background-color: #fdd835; /* Brighter gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-secondary:hover {
    background-color: #004d40; /* Darker teal */
}

/* === NAVIGATION BAR === */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a.active, .nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu .btn-primary {
    padding: 10px 20px; /* Smaller button for nav */
}

/* === HERO SECTION (Home Page) === */
.hero {
    position: relative;
    color: var(--white);
    text-align: center;
}
.hero-image-container {
    width: 100%;
    height: 65vh;
    overflow: hidden;
}
.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--white);
}
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

/* === MAIN CONTENT (Global) === */
main {
    padding: 40px 0;
}
.page-header {
    background-color: var(--primary-color);
    padding: 40px 0;
    text-align: center;
    color: var(--white);
}
.page-header h1 {
    color: var(--white);
    margin: 0;
}

.content-wrapper {
    background: var(--white);
    padding: 30px 40px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.section-padding {
    padding-top: 50px;
    margin-top: -50px;
}

/* === HOME PAGE SECTIONS (Used in One-Page Site) === */
.mission-vision {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.mission-box {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.focus-areas {
    text-align: center;
    margin-top: 30px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.grid-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 25px 20px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.3s ease;
}
.grid-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.cta {
    background-image: linear-gradient(135deg, var(--primary-color) 0%, #005a4d 100%);
    color: var(--white);
    text-align: center;
    padding: 50px 30px;
    border-radius: 8px;
    margin-top: 30px;
}
.cta h2 {
    color: var(--white);
}
.cta-buttons {
    margin-top: 20px;
}
.cta-buttons .btn {
    margin: 0 10px;
}

/* === ABOUT US PAGE SPECIFIC === */
.about-content {
    display: flex;
    gap: 40px;
}
.about-main {
    flex: 2;
}
.about-sidebar {
    flex: 1;
}
.about-sidebar .registered-office {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
}
.trustees-list {
    list-style: none;
    padding-left: 0;
}
.trustees-list li {
    background-color: var(--bg-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-weight: 700;
}
.trustees-list li span {
    font-weight: 400;
    color: var(--text-light);
    margin-left: 5px;
}

/* === PROGRAMS PAGE SPECIFIC === */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.program-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}
.program-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 0;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}
.program-card ul {
    list-style: none;
    padding-left: 0;
    color: var(--text-light);
}
.program-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
.program-card li::before {
    content: '✓'; /* Simple checkmark */
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* === DONATE & GET INVOLVED (One-Page Sections) === */
.involve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}
.involve-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}
.involve-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* === CONTACT PAGE SPECIFIC === */
.contact-flex {
    display: flex;
    gap: 40px;
}
.contact-info {
    flex: 1;
}
.contact-form {
    flex: 2;
}
.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}
.contact-info strong {
    color: var(--text-color);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-sizing: border-box; /* Important for padding */
    font-family: 'Inter', sans-serif;
}
.form-group textarea {
    min-height: 150px;
}


/* === FOOTER === */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}
.footer-links {
    margin-bottom: 20px;
}
.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--secondary-color);
}
.footer-branches {
    font-weight: 700;
    margin-bottom: 10px;
}
.footer-contact p {
    margin: 5px 0;
    color: #bdc3c7;
}
.copyright {
    margin-top: 20px;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    color: #95a5a6;
}

/* --- Responsive (Simple for mobile) --- */
@media (max-width: 768px) {
    .nav-menu {
        /* Simple hide for mobile to avoid messy navigation */
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .mission-vision, .about-content, .donate-container, .involve-grid, .contact-flex {
        flex-direction: column;
    }
    .involve-grid {
        grid-template-columns: 1fr;
    }
}