/* senggack.org - Non-profit humanist warm design */
/* Fonts: Merriweather 700, Lato 400/500, IBM Plex Mono 400 */
/* Colors: #FAF7F2 Warm Canvas, #F0EBE0 Soft Linen, #2C2C2C Deep Charcoal */
/* #5A5A5A Warm Gray, #2D8B7A Think Teal, #E89B3F Empower Amber */
/* #D4C8B0 Parchment, #FFFFFF White */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #FAF7F2;
    color: #5A5A5A;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.75;
}

/* Section headings */
.section-heading {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #2C2C2C;
    text-align: center;
    margin-bottom: 2rem;
}

/* Horizontal rules */
.section-rule {
    border: none;
    border-top: 1px solid #D4C8B0;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HERO ===== */
.hero {
    max-width: 700px;
    margin: 0 auto;
    padding: 5rem 2rem 3rem;
    text-align: center;
}

.hero-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #2C2C2C;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.korean-accent {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85em;
    color: #D4C8B0;
}

.hero-mission {
    font-size: 1rem;
    color: #5A5A5A;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-block;
    background: #2D8B7A;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-primary:hover {
    background: #24735f;
    transform: translateY(-1px);
}

.cta-secondary {
    display: inline-block;
    border: 2px solid #E89B3F;
    color: #E89B3F;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.cta-secondary:hover {
    background: #E89B3F;
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* ===== PROGRAMS ===== */
.programs {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.program-card {
    background: #F0EBE0;
    border-left: 4px solid #2D8B7A;
    padding: 1.5rem;
    border-radius: 4px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 44, 44, 0.08);
}

.program-icon {
    margin-bottom: 1rem;
}

/* Lightbulb icon */
.icon-bulb {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 28px;
}

.bulb-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #2D8B7A;
    border-radius: 50%;
}

.bulb-base {
    width: 12px;
    height: 6px;
    border: 2px solid #2D8B7A;
    border-top: none;
    border-radius: 0 0 4px 4px;
    margin-top: -1px;
}

/* Book icon */
.icon-book {
    display: flex;
    gap: 2px;
}

.book-left,
.book-right {
    width: 12px;
    height: 20px;
    border: 2px solid #2D8B7A;
    border-radius: 2px;
}

/* People icon */
.icon-people {
    display: flex;
}

.p-circle {
    width: 18px;
    height: 18px;
    border: 2px solid #2D8B7A;
    border-radius: 50%;
    background: #F0EBE0;
}

.p2 {
    margin-left: -6px;
}

.p3 {
    margin-left: -6px;
}

/* Magnifier icon */
.icon-mag {
    position: relative;
    width: 28px;
    height: 28px;
}

.mag-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #2D8B7A;
    border-radius: 50%;
}

.mag-handle {
    width: 2px;
    height: 10px;
    background: #2D8B7A;
    transform: rotate(45deg);
    position: absolute;
    bottom: -2px;
    right: 2px;
}

.program-name {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #2C2C2C;
    margin-bottom: 0.5rem;
}

.program-desc {
    font-size: 0.9rem;
    color: #5A5A5A;
    margin-bottom: 0.75rem;
}

.program-link {
    font-size: 0.85rem;
    color: #2D8B7A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.program-link:hover {
    color: #24735f;
}

/* ===== IMPACT ===== */
.impact {
    padding: 0;
}

.impact-band {
    background: #F0EBE0;
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.impact-stat {
    text-align: center;
}

.impact-number {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C2C2C;
}

.impact-label {
    font-size: 0.85rem;
    color: #5A5A5A;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #D4C8B0;
    border-radius: 8px;
    padding: 2rem 1.5rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(44, 44, 44, 0.06);
}

/* Amber quotation marks as ::before pseudo-elements on testimonial cards in Empower Amber */
.testimonial-card::before {
    content: '\201C';
    font-family: 'Merriweather', serif;
    font-size: 4rem;
    color: #E89B3F;
    opacity: 0.2;
    position: absolute;
    top: 0.25rem;
    left: 1rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #5A5A5A;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #2C2C2C;
}

.testimonial-school {
    font-size: 0.8rem;
    color: #D4C8B0;
}

/* ===== DONATE CTA ===== */
.donate-cta {
    padding: 0;
}

.donate-band {
    background: #2D8B7A;
    padding: 3rem 2rem;
    text-align: center;
}

.donate-heading {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.donate-desc {
    font-size: 0.95rem;
    color: #FAF7F2;
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.cta-donate {
    display: inline-block;
    background: #E89B3F;
    color: #FFFFFF;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-donate:hover {
    background: #d08a35;
    transform: translateY(-1px);
}

/* ===== PARTNERS ===== */
.partners {
    padding: 0;
}

.partners-band {
    padding: 2.5rem 2rem;
    text-align: center;
}

.partners-label {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: #D4C8B0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo-placeholder {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-logo-placeholder:hover {
    opacity: 1;
}

.partner-svg {
    width: 80px;
    height: 32px;
}

/* ===== FOOTER ===== */
.footer {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-tagline {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2C2C2C;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.flink {
    font-size: 0.85rem;
    color: #2D8B7A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.flink:hover {
    color: #24735f;
}

.footer-copy {
    font-size: 0.7rem;
    color: #D4C8B0;
}

/* ===== ANIMATIONS ===== */
@keyframes countUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.impact-number.counted {
    animation: countUp 0.4s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .program-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .impact-band {
        flex-direction: column;
        align-items: center;
    }

    .partners-logos {
        gap: 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }
}
