/* Variables for easy color changes */
:root {
    --primary-color: #007bff; /* Bright Blue */
    --secondary-color: #f8f9fa; /* Light Gray for background */
    --accent-color: #28a745; /* Green for CTA button */
    --text-color: #333;
    --header-bg: #343a40; /* Dark background for header */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Hero Section --- */
.hero {
    background: var(--header-bg);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
}

.hero h2 {
    font-size: 1.5em;
    font-weight: 400;
    margin-bottom: 20px;
    color: #ced4da;
}

.key-info {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #218838;
}

/* --- Course Details & Plan --- */
main {
    padding: 40px 0;
}

.course-details {
    text-align: center;
    margin-bottom: 40px;
}

.course-details h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8em;
}

/* --- Table Styling --- */
.course-plan table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.course-plan th, .course-plan td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.course-plan th {
    background-color: var(--primary-color);
    color: white;
    font-size: 1.1em;
    text-transform: uppercase;
}

.course-plan tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.course-plan tbody tr:hover {
    background-color: #e9ecef;
    transition: background-color 0.2s ease;
}

/* Bold the Days column */
.course-plan td:first-child {
    font-weight: bold;
    width: 20%; /* Keep the Days column narrower */
    color: var(--primary-color);
}

/* --- Callout Section --- */
.callout {
    background: #e9f5ff; /* Light blue background */
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 40px;
}

.callout h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.callout ul {
    list-style: none;
    padding-left: 0;
}

.callout li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* --- Footer --- */
footer {
    background: var(--header-bg);
    color: #ced4da;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 600px) {
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 2em;
    }
    .course-plan th, .course-plan td {
        padding: 10px;
        display: block; /* Stack cells on small screens */
        width: 100% !important;
        text-align: center;
    }
    .course-plan thead {
        display: none; /* Hide header row on small screens */
    }
    .course-plan tbody tr {
        margin-bottom: 20px;
        display: block;
        border: 1px solid #ddd;
    }
    .course-plan td:first-child {
        background-color: #f2f2f2;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
}