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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    position: relative;
    margin: 0;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000;
    padding: 1.1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.home-logo {
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: white;
    transition: transform 0.2s ease;
}

.home-logo:hover {
    transform: scale(1.05);
}

.about-link {
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    font-weight: 300;
    color: white;
    transition: color 0.2s ease;
}

.about-link:hover {
    color: #ccc;
}

header {
    background: transparent;
    color: #333;
    padding: 0;
    margin: 0;
    text-align: center;
}

.logo-container {
    position: relative;
    margin: 0;
    margin-top: 80px;
    margin-bottom: 1.5rem;
    padding: 0;
    background: #2C2C34;
    margin-left: -100vw;
    margin-right: -100vw;
    padding-left: 100vw;
    padding-right: 100vw;
}

.header-logo {
    display: block;
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.nav-link {
    color: #3498db;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #3498db;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: #3498db;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.tagline {
    font-size: 1.4rem;
    opacity: 0.9;
    font-style: italic;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

body:not(.index-page) main {
    padding-top: calc(80px + 2rem);
}

body:not(.index-page) header {
    padding-top: calc(80px + 2rem);
}

ul:not(.capabilities-list) {
    padding-left: 2rem;
    margin: 1rem 0;
}

ul:not(.capabilities-list) li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    padding-left: 0.5rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    color: #34495e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.hero {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.curriculum-philosophy ul {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-left: 0;
    padding-left: 3rem;
}

.curriculum-philosophy li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    line-height: 1.6;
}

.curriculum-structure {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.structure-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.flow-item {
    background: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
}

.arrow {
    font-size: 1.5rem;
    color: #3498db;
    font-weight: bold;
}

.progression-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.phase {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.elementary {
    border-left-color: #e74c3c;
}

.middle {
    border-left-color: #f39c12;
}

.high {
    border-left-color: #27ae60;
}

.grade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.grade-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.grade-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.grade-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.grade-card p {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.duration {
    display: block;
    font-size: 0.85rem;
    color: #95a5a6;
    margin-bottom: 0.5rem;
}

.status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.available .status {
    background: #27ae60;
    color: white;
}

.coming-soon {
    opacity: 0.7;
}

.coming-soon .status {
    background: #bdc3c7;
    color: #7f8c8d;
}

.coming-soon:hover {
    transform: none;
    cursor: default;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 0;
}

.grade-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
}

.stat .label {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.subject-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid #3498db;
}

.subject-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.subject-card h4 {
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.subject-card .weeks {
    display: block;
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 1rem;
    font-weight: 500;
}

.week-pattern {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1rem;
}

.day {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.day:last-child {
    border-bottom: none;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.principle {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 3px solid #e74c3c;
}

.principle h4 {
    color: #e74c3c;
    margin-bottom: 0.8rem;
}

.key-capabilities {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #27ae60;
}

.key-capabilities h3 {
    color: #27ae60;
    border-bottom: none;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capabilities-list li {
    padding: 1rem 0 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    line-height: 1.6;
}

.capabilities-list li:before {
    content: "✓";
    position: absolute;
    left: 0.5rem;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.capabilities-list li:last-child {
    border-bottom: none;
}

.subject-overview {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.quarter {
    margin-bottom: 3rem;
}

.quarter h4 {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 1.5rem;
    margin: 0 0 1.5rem 0;
    border-radius: 8px;
    font-size: 1.2rem;
}

.weeks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.week-card {
    background: white;
    padding: 1.25rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 3px solid #e74c3c;
    transition: transform 0.2s, box-shadow 0.2s;
}

.week-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.week-card h5 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.3;
}

.week-card h5 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.week-card h5 a:hover {
    color: #3498db;
}

.week-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.philosophy-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.point {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 3px solid #3498db;
}

.point h4 {
    color: #3498db;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.point p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .header-logo {
        max-width: 100%;
        padding: 0;
    }
    
    .logo-container {
        margin-top: 70px;
        margin-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        background: #2C2C34;
    }
    
    .tagline {
        margin-top: 1.5rem;
        font-size: 1.1rem;
    }
    
    .structure-flow {
        flex-direction: column;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
}