:root {
    --color-cream: #FDF8F3;
    --color-warm-white: #FFFCF9;
    --color-terracotta: #C4694A;
    --color-terracotta-dark: #A85638;
    --color-forest: #2C4A3E;
    --color-forest-light: #3D6B5A;
    --color-sand: #E8DDD4;
    --color-charcoal: #2D2926;
    --color-text: #3A3632;
    --color-text-light: #6B6560;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(253, 248, 243, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(196, 105, 74, 0.1);
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 0.85rem 4rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-forest);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo img {
    height: 36px;
    width: auto;
}

.logo span {
    color: var(--color-terracotta);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-terracotta);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-terracotta);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-forest) !important;
    color: white !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.nav-cta:hover {
    background: var(--color-forest-light) !important;
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta.active {
    background: var(--color-forest) !important;
    color: white !important;
}

.nav-cta.active::after {
    display: none !important;
    width: 0 !important;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-charcoal);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Page Header */
.page-header {
    padding: 10rem 4rem 4rem;
    text-align: center;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(196, 105, 74, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(44, 74, 62, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-cream) 0%, var(--color-warm-white) 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C4694A' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(196, 105, 74, 0.1);
    color: var(--color-terracotta);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.page-header h1 em {
    font-style: italic;
    color: var(--color-terracotta);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

/* Section Styles */
section {
    padding: 5rem 4rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    color: var(--color-terracotta);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* Content Container */
.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.content-narrow {
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-terracotta);
    color: white;
    box-shadow: 0 4px 20px rgba(196, 105, 74, 0.3);
}

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(196, 105, 74, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-forest);
    border: 2px solid var(--color-forest);
}

.btn-secondary:hover {
    background: var(--color-forest);
    color: white;
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: var(--color-forest);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Cards */
.card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-forest));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(196, 105, 74, 0.1), rgba(44, 74, 62, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-terracotta);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.card p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

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

/* Stats Section */
.stats-section {
    background: var(--color-forest);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 0% 100%, rgba(196, 105, 74, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.stats-content {
    position: relative;
    z-index: 1;
}

.stats-section .section-header h2 {
    color: white;
}

.stats-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.stats-section .section-tag {
    color: rgba(255, 255, 255, 0.6);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-terracotta);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number span {
    color: rgba(255, 255, 255, 0.4);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--color-charcoal);
    color: white;
    padding: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--color-terracotta);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-terracotta);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--color-sand);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 4px rgba(196, 105, 74, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Photo Gallery */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.photo-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-sand);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 3rem;
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-cream) 100%);
}

/* Chapter Card */
.chapter-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.chapter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.chapter-card-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-light) 100%);
    color: white;
}

.chapter-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.chapter-card-header p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.chapter-card-body {
    padding: 1.5rem 2rem 2rem;
}

.chapter-card-body p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.chapter-leader {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-sand);
}

.chapter-leader-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
    font-weight: 600;
}

.chapter-leader-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.chapter-leader-info strong {
    color: var(--color-charcoal);
}

/* Numbered Features */
.numbered-feature {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.5rem;
}

.feature-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Donation Tiers */
.donation-tier {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    position: relative;
}

.donation-tier.featured {
    border: 3px solid var(--color-terracotta);
    transform: scale(1.05);
}

.donation-tier.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-terracotta);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.donation-tier:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.donation-tier.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.donation-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.donation-amount span {
    font-size: 1.5rem;
    color: var(--color-text-light);
}

.donation-tier h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-forest);
    margin-bottom: 1rem;
}

.donation-tier p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: var(--color-warm-white);
    text-align: center;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-forest));
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--color-text-light);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Prose Content */
.prose {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text);
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 2.5rem 0 1rem;
}

.prose h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin: 2rem 0 0.75rem;
}

.prose ul, .prose ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.75rem;
}

.prose blockquote {
    border-left: 4px solid var(--color-terracotta);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: white;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--color-text-light);
}

/* Care Bag Items */
.care-bag-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.care-bag-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.care-bag-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(196, 105, 74, 0.1), rgba(44, 74, 62, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.care-bag-item h4 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.care-bag-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    nav {
        padding: 1rem 2rem;
    }

    section {
        padding: 4rem 2rem;
    }

    .page-header {
        padding: 8rem 2rem 3rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        padding: 3rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .numbered-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .donation-tier.featured {
        transform: none;
    }

    .donation-tier.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2.2rem;
    }

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

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