:root {
    --deep-blue: #1a1a2e;
    --purple-main: #301b3f;
    --purple-light: #4d2d60;
    --white-text: #f0f0f0;
    --accent: #7b68ee;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background: linear-gradient(135deg, var(--deep-blue), var(--purple-main));
    color: var(--white-text);
    line-height: 1.6;
    min-height: 100vh;
}
.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}
.site-header {
    background-color: rgba(26, 26, 46, 0.8);
    padding: 1rem 0;
    border-bottom: 1px solid var(--purple-light);
}
.site-header .container nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header .logo-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white-text);
    text-decoration: none;
}
.site-header .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.site-header .nav-links li { margin-left: 2rem; }
.site-header .nav-links a {
    color: var(--white-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.site-header .nav-links a:hover { color: var(--accent); }
.page-header {
    text-align: center;
    margin-top: 2rem;
}
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}
.tagline { font-size: 1.2rem; opacity: 0.9; }
.form-container, .results {
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    padding: 2.5rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--accent);
}
.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--white-text);
    font-size: 1rem;
}
select.form-control option { background-color: var(--deep-blue); }
.btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, var(--accent), #a78bfa);
    color: white;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
}
.pdf-btn {
    display: inline-block;
    width: auto;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    background: var(--purple-light);
}
.example-btn {
    padding: 0.5rem 1rem;
    background-color: var(--purple-light);
    border: none;
    border-radius: 20px;
    color: var(--white-text);
    cursor: pointer;
    font-size: 0.9rem;
}
.example-btn:hover { background-color: var(--accent); }
.loading, .results, .feedback-prompt, #downloadPdfBtn {
    display: none;
}
.error { display: none; }
.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(123, 104, 238, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { margin-top: 1rem; }
.loading .disclaimer { font-size: 0.9rem; opacity: 0.8; margin-top: 0.5rem; }
.results h2 {
    margin-bottom: 1rem;
    color: var(--accent);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--purple-light);
}
.demo-examples { margin-top: 2rem; text-align: center; }
.feedback-prompt {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
}
.feedback-prompt a { color: var(--accent); font-weight: 600; }

/* New Styles for Detailed Syllabus */
.syllabus-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--purple-light);
}
.syllabus-section h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}
.topic-item {
    margin-bottom: 1.5rem;
}
.topic-item h4 {
    margin-bottom: 0.25rem;
}
.topic-item p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}
.topic-item ul {
    list-style-position: inside;
    padding-left: 1rem;
}
.project-card {
    background-color: rgba(0,0,0,0.2);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}
.project-card h4 {
    margin-bottom: 0.5rem;
}
/* Columns styles for syllabus layout */

.syllabus-title {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--purple-light);
    color: var(--accent);
    font-size: 1.8rem;
}

/* Two-Column Overview using CSS Grid */
.overview-section {
    display: grid; /* Use Grid instead of Flexbox */
    grid-template-columns: 1fr; /* Default to a single column on mobile */
    gap: 2rem; 
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--purple-light);
}

/* On larger screens (tablets and up), switch to two equal columns */
@media (min-width: 768px) {
    .overview-section {
        grid-template-columns: repeat(2, 1fr); /* Creates two equal-width columns */
    }
}

.overview-column {
    flex-basis: 100%; /* Default to full width on mobile */
    
}

.overview-column ul li {
    margin-bottom: 0.5rem; /* Adds a bit of space between each week */
}

/* On larger screens (tablets and up), make them side-by-side */
@media (min-width: 768px) {
    .overview-column {
        flex-basis: 48%; /* Each column takes up roughly half the space */
    }
}