:root {
    --primary-color: #1a7f37;
    --primary-hover: #044289;
    --dark-bg: #0d1117;
    --dark-card: #161b22;
    --text-main: #24292f;
    --text-muted: #57606a;
    --light-bg: #f6f8fa;
    --border-color: #d0d7de;
    --accent-orange: #bf8700;
    --accent-orange-bg: #fff8c5;
}

main#about-page {
    line-height: 1.6;
    color: var(--text-main);
    box-sizing: border-box;
}

.about-header {
    max-width: 800px;
    margin: 0 auto;
    padding: 0px 20px 0px;
    text-align: center;
    flex: 1;
}


.about-section {
    text-align: center;
    padding-bottom: 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding 0px 20px 0px;
}

.about-lead {
    font-size: 1.15rem;
    color: #0d1117;
    margin-bottom: 0;
}

section#main-container {
    max-width: 1050px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* History Card */
.history-card h2 {
    font-size: 1.75rem;
    color: #1f2328;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.history-card p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
}

.motto-banner {
    background-color: #f6f8fa;
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
}

.motto-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.motto-quote {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0969da !important;
    margin: 0.25rem 0 0.5rem 0;
}

.motto-sub {
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* Motto Card */
.motto-card {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fa 100%);
    border-top: 4px solid var(--primary-color);
}

.motto-badge,
.card-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.motto-card h2 {
    font-size: 2.2rem;
    color: #0969da;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.motto-card .translation {
    font-style: italic;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.motto-card .description {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Heritage & Values Card */
.heritage-card h2 {
    font-size: 1.6rem;
    color: #1f2328;
    margin-bottom: 1.5rem;
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
}

.heritage-item {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.heritage-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.heritage-item h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.heritage-item p {
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.65;
}

/* Emblem Quote Box */
.emblem-box {
    background-color: #ddf4ff;
    border: 1px solid #54aef5;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emblem-symbol {
    font-size: 2rem;
}

.emblem-quote {
    font-size: 1rem;
    color: #0969da;
    font-style: italic;
    margin-bottom: 0;
}

/* Grid Layout */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: #1f2328;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a7f37;
}

/* Notice Banner */
.notice-banner {
    background-color: var(--accent-orange-bg);
    border: 1px solid #d4a72c;
    border-radius: 6px;
    padding: 1rem;
    margin: 1.25rem 0;
}

.notice-tag {
    display: inline-block;
    background-color: var(--accent-orange);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.notice-banner p {
    color: #4d3800;
    margin-bottom: 0;
    font-size: 0.85rem;
}

.card-action {
    margin-top: 1.25rem;
}
        
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .grid-two-col,
    .heritage-grid {
        grid-template-columns: 1fr;
    }

    .emblem-box {
        flex-direction: column;
        text-align: center;
    }
}