* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ── Header & Navigation ── */
header {
    background: #7B3F9E;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.8;
    text-decoration: underline;
}

/* ── Mobile Menu ── */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    display: none;
}

@media (max-width: 968px) {
    .menu-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: #7B3F9E;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        z-index: 999;
    }

    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.2rem; }
    .close-menu { display: block; }
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
    background: #ffffff;
}

.hero-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 700px;
    opacity: 1.0;
    z-index: 1;
    pointer-events: none;
}

.hero-background img { width: 100%; height: auto; }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 70vh;
    padding: 2rem 0;
}

.hero-top  { width: 100%; flex-shrink: 0; margin-top: 4rem; }
.hero-bottom { width: 100%; flex-shrink: 0; margin-top: auto; }

.hero h1 {
    font-size: 3rem;
    color: #7B3F9E;
    margin-bottom: 0;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ── Shared Content ── */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section h2 {
    color: #7B3F9E;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.content-section h3 {
    color: #7B3F9E;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ── Buttons ── */
.cta-button {
    display: inline-block;
    background: #7B3F9E;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(123, 63, 158, 0.4);
}

/* ── Cards & Grids ── */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.resource-card:hover { transform: translateY(-5px); }

.resource-card h4 {
    color: #7B3F9E;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.coming-soon {
    margin-top: 1rem;
    color: #7B3F9E;
    font-weight: 600;
    font-style: italic;
}

/* ── Callout Boxes ── */
.callout {
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 4px;
}

.callout-warning {
    background: #fff3cd;
    border-left: 4px solid #7B3F9E;
}

.callout-danger {
    background: #ffe6e6;
    border-left: 4px solid #dc3545;
}

.callout-danger h3 { color: #dc3545; margin-bottom: 1rem; }
.callout-warning h3 { color: #7B3F9E; margin-bottom: 1rem; }

.callout p:last-child { margin-bottom: 0; }

/* ── Donate Box ── */
.donate-box {
    background: linear-gradient(135deg, #7B3F9E 0%, #9B5FBE 100%);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.donate-box h3 { color: white; margin-bottom: 1rem; }

.donate-box .cta-button {
    background: white;
    color: #7B3F9E;
    margin-top: 1rem;
}

/* ── Store ── */
.store-placeholder {
    background: #f9f9f9;
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    margin: 2rem 0;
}

/* ── Blog ── */
.blog-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-card:hover { transform: translateY(-3px); }

.blog-card-body { padding: 2rem; }

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #777;
}

.blog-category {
    background: #f0e6f8;
    color: #7B3F9E;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.blog-card h3 {
    color: #7B3F9E;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.blog-card p { color: #555; margin-bottom: 1rem; }

.read-more {
    color: #7B3F9E;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
    padding: 0;
}

.read-more:hover { text-decoration: underline; }

/* Full post view */
.blog-post-full { display: none; }
.blog-post-full.active { display: block; }

.back-btn {
    background: none;
    border: none;
    color: #7B3F9E;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover { text-decoration: underline; }

.blog-post-full h2 {
    color: #7B3F9E;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-post-body p { margin-bottom: 1.2rem; font-size: 1.1rem; line-height: 1.8; }
.blog-post-body h3 { color: #7B3F9E; margin: 1.5rem 0 0.75rem; }
.blog-post-body ul, .blog-post-body ol { margin: 1rem 0 1rem 2rem; }
.blog-post-body li { margin-bottom: 0.5rem; font-size: 1.05rem; }

/* ── Contact Form ── */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea { resize: vertical; }

.form-checkbox {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f5f0ff;
    border-radius: 4px;
    border: 1px solid #7B3F9E;
}

.form-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* ── Footer ── */
footer {
    background: #333;
    color: white;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-grid h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-grid ul { list-style: none; padding: 0; }

.footer-grid li { margin-bottom: 0.5rem; }

.footer-grid a {
    color: #ccc;
    text-decoration: none;
}

.footer-grid a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p { color: #ccc; margin-bottom: 0.25rem; }

/* ── Utility ── */
.info-box {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.info-box h3 { color: #7B3F9E; margin-bottom: 1rem; margin-top: 0; }

.transparency-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f0f0f0;
    border-left: 4px solid #7B3F9E;
    border-radius: 4px;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .hero { min-height: 90vh; padding: 1.5rem 1rem 1rem; }
    .hero h1 { font-size: 1.8rem; line-height: 1.2; }
    .hero-background { width: 75%; margin-top: -4rem; }
    .hero-content { min-height: 85vh; padding-bottom: 1rem; gap: 0; }
    .hero-top { margin-top: 0; margin-bottom: 0; }
    .hero-bottom { padding-top: 0; }
    .hero p { font-size: 1rem; line-height: 1.6; }
    .content-section h2 { font-size: 2rem; }
}