/* --- General & Body Styling --- */
:root {
    --primary-color: #0a4d68;
    --secondary-color: #088395;
    --accent-color: #f39c12;
    --light-gray: #f4f4f4;
    --dark-gray: #333;
    --white: #ffffff;
    --font-family: 'Georgia', 'Times New Roman', serif;
    --heading-font: 'Verdana', 'Geneva', sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    line-height: 1.2;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.5em; }

/* --- Header & Navigation --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: var(--heading-font);
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--secondary-color);
}

.cta-nav {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.cta-nav:hover {
    background-color: #d68910;
    color: var(--white);
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}
.btn-primary:hover {
    background-color: #d68910;
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}
.btn-secondary:hover {
    background-color: #077181;
}

/* --- Hero Section --- */
.hero {
    background-image: linear-gradient(rgba(10, 77, 104, 0.8), rgba(10, 77, 104, 0.8)), url('https://via.placeholder.com/1500x500.png?text=Ministry+in+Action');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* --- Page Sections --- */
section {
    padding: 60px 0;
}
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}
.page-header h1 { color: var(--white); }
.content-section p {
    margin-bottom: 1.5rem;
}

/* --- Category Navigation --- */
.Category-nav {
    background-color: var(--light-gray);
}
.Category-nav .container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.Category-card {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 5px;
    flex: 1;
}
.Category-card .btn {
    background-color: var(--primary-color);
    color: var(--white);
}
.Category-card .btn:hover {
    background-color: var(--secondary-color);
}


/* --- Home CTA --- */
.facilitator-cta-home {
    background-color: #eaf6f6;
    text-align: center;
}
.facilitator-cta-home h2 {
    color: var(--primary-color);
}
.facilitator-cta-home p {
    max-width: 700px;
    margin: 20px auto 30px auto;
}

/* --- Featured Courses --- */
.featured-courses {
    background-color: #fff;
}
.featured-courses h2 { text-align: center; margin-bottom: 40px; }
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.course-card {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 5px;
    overflow: hidden;
    text-align: left;
}
.course-card img {
    width: 100%;
    height: auto;
    display: block;
}
.course-card h3 {
    padding: 20px 20px 10px 20px;
    margin: 0;
}
.course-card p {
    padding: 0 20px;
}
.course-card a {
    display: block;
    padding: 15px 20px;
    text-align: right;
    font-weight: bold;
    text-decoration: none;
    color: var(--secondary-color);
}

/* --- Trust Section --- */
.trust-section { background-color: var(--light-gray); }
.trust-section h2 { text-align: center; margin-bottom: 40px; }
.trust-points { display: flex; gap: 30px; margin-bottom: 40px; }
.trust-points .point { text-align: center; flex: 1; }
.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-left: 5px solid var(--accent-color);
    border-radius: 5px;
}
.testimonial blockquote { margin: 0; }
.testimonial footer { text-align: right; font-style: italic; margin-top: 15px; }


/* --- Course Catalog Page --- */
.course-catalog .container {
    display: flex;
    gap: 40px;
}
.filters {
    flex-basis: 250px;
    flex-shrink: 0;
}
.course-list {
    flex-grow: 1;
}
.course-card-list {
    display: flex;
    gap: 20px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
}
.course-card-list img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}
.course-card-list .tag {
    display: inline-block;
    background-color: #eaf6f6;
    color: var(--secondary-color);
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.8em;
    margin-right: 5px;
    margin-top: 10px;
}
.course-card-list a {
    margin-top: 15px;
    display: inline-block;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
}


/* --- Facilitator Page --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}
.benefit-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}
.process-steps {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}
.process-steps li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
}
.process-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 15px;
}

/* --- Forms --- */
.form-section { background-color: var(--light-gray); }
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 5px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1em;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    text-align: center;
    padding: 20px 0;
}
footer p { margin: 5px 0; }
footer a { color: var(--white); text-decoration: none; }


/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .course-grid { grid-template-columns: 1fr 1fr; }
    .Category-nav .container { flex-direction: column; }
    .trust-points { flex-direction: column; }
    .benefits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }

    header .container { flex-direction: column; }
    nav ul { margin-top: 15px; }
    nav ul li { margin-left: 15px; }

    .course-grid { grid-template-columns: 1fr; }
    .course-catalog .container { flex-direction: column; }
    .course-card-list { flex-direction: column; }
    .course-card-list img { width: 100%; height: 200px; }
}
