body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    border-bottom: #0779e4 3px solid;
}

header h1 {
    float: left;
    margin: 0;
}

header nav {
    float: right;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px 0 20px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a.active, header a:hover {
    color: #0779e4;
    font-weight: bold;
}

.hero {
    background: #0056b3;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #0779e4;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #004080;
}

section {
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
}

.features .container {
    display: flex;
    justify-content: space-between;
}

.feature {
    width: 48%;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.feature h3 {
    color: #0056b3;
}

.characters {
    text-align: center;
}

.character-cards {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.card {
    background: #fff;
    padding: 20px;
    width: 30%;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card img {
    border-radius: 50%;
    margin-bottom: 15px;
}

.support {
    background: #fff;
    text-align: center;
}

.support ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
    margin-top: 20px;
}

.support li {
    font-size: 18px;
    margin-bottom: 10px;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1, header nav {
        float: none;
        text-align: center;
        width: 100%;
    }

    header nav ul {
        margin-top: 10px;
    }

    header nav ul li {
        display: block;
        padding: 10px 0;
    }

    .container {
        width: 95%;
    }

    .features .container, .guidance, .character-cards, .contact-container {
        flex-direction: column;
    }

    .feature, .guidance-box, .card, .contact-info, .contact-form {
        width: 100%;
        margin-bottom: 20px;
    }

    .hero h2 {
        font-size: 36px;
    }
    .about-content, .contact-container {
        flex-direction: column;
    }
    .about-image {
        margin-bottom: 20px;
    }
}

.support-list {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
    margin-top: 20px;
}

.support-list li {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.support-list img {
    margin-right: 15px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-content {
    flex: 2;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* Styles for books.html */
.comparison-table {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
}
.comparison-table th, .comparison-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
.comparison-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.section-title {
    text-align: center;
    margin-top: 40px;
    font-size: 28px;
    color: #0056b3;
}
.guidance {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}
.guidance-box {
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.chart-container {
    margin: 40px auto;
    padding: 30px 20px 50px 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.chart {
    display: flex;
    justify-content: space-around;
    height: 200px;
    align-items: flex-end;
}
.bar {
    width: 60px;
    color: white;
    position: relative;
    border-radius: 5px 5px 0 0;
    font-size: 14px;
    padding-top: 8px;
    box-sizing: border-box;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1.2;
}
.bar.practical { background-color: #0779e4; }
.bar.action { background-color: #ff8c00; }
.bar span {
    position: absolute;
    bottom: -35px;
    width: 100%;
    left: 0;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    writing-mode: horizontal-tb;
}

@media (max-width: 480px) {
    .chart {
        gap: 15px;
    }
    .bar {
        width: 50px;
        font-size: 12px;
    }
} 