:root[data-theme="light"] {
    --nav-bg: #ffffff;
    --primary-color: #1e3a8a;
    --border-color: #e5e7eb;
    --bg: #f9fafb;
    --text: #111827;
}

:root[data-theme="dark"] {
    --nav-bg: #1f2937;
    --primary-color: #60a5fa;
    --border-color: #374151;
    --bg: #111827;
    --text: #f9fafb;
}
.page-content {
    flex: 1;
}
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg);
    color: var(--text);
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

form {
    max-width: 400px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: 600;
}

input,
textarea {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 0.7rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}
.about-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
    color: var(--text);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color, #1e3a8a);
}

p.intro {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

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

.value-card {
    background: var(--nav-bg, #f0f4f8);
    padding: 1.8rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.value-title {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.value-desc {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary, #4b5563);
}

.blog-list {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

ul.posts {
    list-style: none;
    padding: 0;
}

ul.posts li {
    margin-bottom: 1.5rem;
}

a.post-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

a.post-link:hover {
    text-decoration: underline;
}

.post-date {
    color: #6b7280;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}
