body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f9f4;
    color: #333;
    line-height: 1.6;
}

nav {
    background-color: #2e7d32;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.logo { 
    font-size: 1.5rem; 
    font-weight: bold; 
    margin-bottom: 0; 
}

.links a { 
    color: white; 
    text-decoration: none; 
    margin-left: 2rem;
    margin-right: 0; 
    font-weight: 500;
}

.links a:hover {
    text-decoration: underline;
}

.hero {
    text-align: center;
    padding: 4rem 2rem 2rem 2rem;
    background-color: #e8f5e9;
}
.hero h1 { color: #1b5e20; margin-bottom: 0.5rem; }
.btn {
    background-color: #2e7d32;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: background 0.3s;
}
.btn:hover { background-color: #1b5e20; }

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

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    transition: transform 0.2s;
}

.hero-feature-card {
    max-width: 1000px; 
    margin: 40px auto 0; 
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.intro-content h2 {
    color: #2e7d32;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 10px;
    margin-top: 0;
}

.intro-content h3 {
    color: #2e7d32;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 1.5rem; 
}

.intro-content p {
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
}

.intro-subsection {
    margin-top: 30px; 
    padding-top: 20px; 
    border-top: 1px solid #e0e0e0;
}

.intro-subsection ul {
    list-style-type: none; 
    padding-left: 0;
}

.intro-subsection li {
    margin-bottom: 12px; 
    color: #555; 
    display: flex;
}

#result-area {
    margin-top: 20px;
    padding: 15px;
    border: 2px dashed #a5d6a7;
    background-color: #f1f8e9;
    border-radius: 8px;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}
.section-header h2 {
    font-size: 2rem;
    color: #1b5e20;
    display: inline-block;
    position: relative;
}

.data-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px; 
}

.chart-card {
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 400px; 
    align-items: stretch;
}
.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.img-wrapper {
    flex: 0 0 65%; 
    background-color: #fff; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid #eee; 
    padding: 10px; 
}
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.caption-area {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    text-align: left;
    background-color: #fafafa;
}
.caption-area h4 {
    margin: 0 0 15px 0;
    color: #2e7d32;
    font-size: 1.4rem; 
}
.caption-area p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

footer { text-align: center; padding: 20px; background: #2e7d32; color: white; margin-top: 60px; }

@media (max-width: 900px) {
    .chart-card {
        flex-direction: column;
        height: auto; 
    }
    .img-wrapper {
        width: 100%;
        height: 300px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .caption-area {
        padding: 20px;
    }
}