/* Color Palette: Warm Terracotta / Coral */
:root {
    --primary-color: #E57373; /* Soft Coral/Red */
    --secondary-color: #795548; /* Deep Brown */
    --accent-color: #FFB74D; /* Warm Orange */
    --bg-color: #FFF8F5; /* Light Warm Off-white */
    --text-color: #4E342E; /* Dark Brown */
    --light-text-color: #FFFFFF;
    --card-bg-color: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.08);

    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-heading: 'Georgia', serif;
}

/* Global Styles */
body {
    font-family: var(--font-primary);
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-top: 0;
    line-height: 1.3;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #757575;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background-color: #D32F2F;
    color: var(--light-text-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
}

/* Header Layout */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    padding: 15px 10px;
    background-color: var(--card-bg-color);
    box-shadow: 0 2px 4px var(--shadow-color);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--secondary-color);
}

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    font-weight: 600;
    font-size: 1rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--card-bg-color);
    box-shadow: 0 4px 6px var(--shadow-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .mobile-nav {
        display: block;
    }
    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px;
    }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Hero Section - Floating Card */
.hero-floating-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 80px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-floating-card .container {
    position: relative;
    z-index: 2;
}

.floating-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    box-shadow: 0 8px 30px var(--shadow-color);
}

.floating-card h1 {
    color: var(--secondary-color);
    font-size: clamp(2.2rem, 6vw, 3rem);
}

.floating-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Stats Bar */
.stats-section {
    background-color: var(--card-bg-color);
}
.stats-bar {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 20px;
    flex-wrap: wrap;
}
.stat-item {
    flex: 1;
    min-width: 150px;
}
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}
.stat-label {
    font-size: 1rem;
    color: #757575;
}

/* Benefits Grid 2x2 */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.card-title {
    margin-bottom: 15px;
    font-size: 1.5rem;
}
@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Split Section */
.split-section {
    background-color: var(--card-bg-color);
}
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
}
.split-image img {
    border-radius: 12px;
    object-fit: cover;
    height: 100%;
}
@media (min-width: 992px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Accordion */
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--secondary-color);
    position: relative;
    transition: background-color 0.2s;
}
.accordion-header:hover {
    background-color: #f7f7f7;
}
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.accordion-header.active::after {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa;
}
.accordion-content p {
    padding: 20px;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}
.cta-container {
    text-align: center;
}
.cta-container h2 {
    color: var(--light-text-color);
    margin-bottom: 1rem;
}
.cta-container p {
    margin-bottom: 2rem;
}
.cta-section .btn-primary {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}
.cta-section .btn-primary:hover {
    background-color: var(--light-text-color);
}

/* Program Page */
.page-header-section {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 50px 0;
}
.page-header-section .page-title {
    color: var(--light-text-color);
}
.page-header-section .page-subtitle {
    color: rgba(255, 255, 255, 0.8);
}
.program-intro {
    display: grid;
    gap: 40px;
    align-items: center;
}
.program-image img {
    border-radius: 12px;
}
@media (min-width: 768px) {
    .program-intro {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* Mission Page */
.story-container {
    display: grid;
    gap: 40px;
    align-items: center;
}
.story-image img {
    border-radius: 12px;
}
@media (min-width: 768px) {
    .story-container {
        grid-template-columns: 1fr 1.5fr;
    }
}
.values-section {
    background-color: var(--card-bg-color);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    text-align: center;
    padding: 20px;
}
.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.manifesto-section {
    text-align: center;
}
.manifesto-content blockquote {
    border-left: 5px solid var(--primary-color);
    padding-left: 30px;
    font-size: 1.3rem;
    font-style: italic;
    margin: 0 auto;
    max-width: 800px;
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Contact Page */
.contact-info-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
.contact-card {
    background-color: var(--card-bg-color);
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color);
}
.contact-card h3 {
    margin-bottom: 10px;
}
.contact-form-full {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(229, 115, 115, 0.2);
}
@media (min-width: 576px) {
    .contact-info-top {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .contact-info-top {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Legal & Thank You Pages */
.legal-container {
    max-width: 800px;
}
.legal-container h1, .legal-container h2 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.thank-you-section {
    padding-top: 120px;
    padding-bottom: 120px;
}
.thank-you-actions {
    margin-top: 40px;
}
.action-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 40px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
}

.site-footer h3 {
    color: var(--light-text-color) !important;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.site-footer p, .site-footer li, .site-footer a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.site-footer a:hover {
    color: var(--accent-color) !important;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 8px;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px 0;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--light-text-color);
    color: var(--light-text-color);
}
@media (max-width: 600px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}