/*
  Design System:
  - design-style: warm-vintage
  - border-style: rounded
  - shadow-style: dramatic
  - color-mode: light
*/

/* Color Palette: Terracotta & Earth Tones */
:root {
    --color-primary: #D35400; /* Terracotta Orange */
    --color-secondary: #784212; /* Dark Brown */
    --color-background: #FDF5E6; /* Old Lace / Light Beige */
    --color-text: #4E342E; /* Dark Brown Text */
    --color-light-gray: #EAE0D5;
    --color-white: #FFFFFF;
    
    --font-family-headings: 'Georgia', 'Times New Roman', serif;
    --font-family-body: 'Lato', 'Helvetica Neue', sans-serif;
    --shadow-dramatic: 0 24px 64px rgba(78, 52, 46, 0.22);
    --shadow-dramatic-hover: 0 32px 80px rgba(78, 52, 46, 0.30);
    --border-radius-card: 16px;
    --border-radius-btn: 8px;
}

/* Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-body);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    background-image: repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(78, 52, 46, 0.02) 7px, rgba(78, 52, 46, 0.02) 8px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--color-secondary);
    line-height: 1.3;
    margin-top: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    text-align: center;
    margin-bottom: 24px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-btn);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #E67E22;
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: var(--shadow-dramatic-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
    text-decoration: none;
}

/* Header */
.site-header {
    background-color: rgba(253, 245, 230, 0.8);
    position: sticky;
    top: 0;
    width: 100%;
    padding: 15px 10px;
    z-index: 1000;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-light-gray);
}

.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(--color-secondary);
    font-family: var(--font-family-headings);
}
.logo:hover { text-decoration: none; }

.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;
    margin: 5px 0;
    transition: 0.3s;
    background-color: var(--color-secondary);
}

.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: bold; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on header height */
    left: 0; right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
    background-color: var(--color-background);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid var(--color-light-gray); text-align: center; }
.mobile-nav a { font-size: 18px; font-weight: bold; display: block; }

@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: Circle Image */
.hero-section-circle {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-circle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 30px;
    max-width: 600px;
}
.hero-circle-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-circle-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid var(--color-white);
    box-shadow: var(--shadow-dramatic);
}
@media (min-width: 992px) {
    .hero-circle-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* Asymmetric Benefits Section */
.benefits-asymm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.benefit-card-asymm {
    background-color: var(--color-white);
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card-asymm:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-dramatic-hover);
}
.benefit-card-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-primary);
}
@media (min-width: 768px) {
    .benefits-asymm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .benefits-asymm-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .benefit-card-asymm.featured-card {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    box-shadow: var(--shadow-dramatic);
    border-radius: var(--border-radius-card);
    overflow: hidden;
}
.comparison-table th, .comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-light-gray);
}
.comparison-table th {
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-family: var(--font-family-headings);
}
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.comparison-table tbody tr:nth-child(even) {
    background-color: #F9F3E9;
}

/* Two Column Section */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.two-col-image img {
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}
.two-col-text .section-title {
    text-align: left;
}
.feature-list {
    list-style: none;
    padding-left: 0;
}
.feature-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}
@media (min-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Icon Features Section */
.icon-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.icon-feature-card {
    text-align: center;
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    transition: transform 0.3s ease;
}
.icon-feature-card:hover {
    transform: scale(1.05);
}
.icon-feature-emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}
.icon-feature-title {
    font-size: 20px;
    margin-bottom: 8px;
}
.icon-feature-card p {
    margin-bottom: 0;
}
@media (min-width: 576px) {
    .icon-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .icon-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Accordion FAQ */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius-btn);
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
.accordion-header {
    padding: 16px 24px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    position: relative;
    font-family: var(--font-family-headings);
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 24px;
    font-size: 24px;
    transition: transform 0.3s ease;
}
.accordion-item[open] .accordion-header::after {
    transform: rotate(45deg);
}
.accordion-content {
    padding: 0 24px 24px 24px;
}

/* Page Header */
.page-header {
    background-color: var(--color-light-gray);
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}
.page-title {
    font-size: clamp(32px, 6vw, 56px);
    margin-bottom: 12px;
}
.page-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    max-width: 750px;
    margin: 0 auto;
}

/* Program Page: Numbered Sections */
.numbered-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 80px;
    align-items: center;
}
.numbered-section-number {
    font-size: 100px;
    font-weight: bold;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}
.numbered-section-content {
    flex: 1;
}
.numbered-section-title {
    font-size: 32px;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .numbered-section {
        flex-direction: row;
        gap: 40px;
    }
    .numbered-section.reverse {
        flex-direction: row-reverse;
    }
    .numbered-section-number {
        font-size: 150px;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}
.cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(78, 52, 46, 0.75);
    z-index: 1;
}
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.cta-title {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--color-white);
    margin-bottom: 16px;
}
.cta-text {
    font-size: 20px;
    margin-bottom: 32px;
}
.cta-section .btn-secondary {
    color: var(--color-white);
    border-color: var(--color-white);
}
.cta-section .btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
}

/* Mission Page */
.mission-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: flex-start;
}
.mission-story-image img {
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}
.image-caption {
    font-style: italic;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
}
@media (min-width: 992px) {
    .mission-story-grid {
        grid-template-columns: 2fr 1fr;
    }
}
.values-section {
    background-color: var(--color-light-gray);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    background-color: var(--color-white);
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    text-align: center;
}
.value-title {
    color: var(--color-primary);
    font-size: 24px;
    margin-bottom: 12px;
}
@media (min-width: 576px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-form-wrapper .section-title, .contact-info-wrapper .section-title {
    text-align: left;
}
.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(--color-light-gray);
    border-radius: var(--border-radius-btn);
    font-family: var(--font-family-body);
    font-size: 16px;
}
.contact-info-item {
    margin-bottom: 24px;
}
.contact-info-item h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.contact-info-item p {
    margin: 0;
}
@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
    }
}

/* Legal & Thank You Pages */
.legal-content h1, .legal-content h2 {
    margin-bottom: 16px;
    margin-top: 32px;
}
.text-center { text-align: center; }
.thank-you-section { padding: 80px 0; }
.thank-you-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.next-steps {
    margin-top: 60px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-white);
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}
.next-steps-list {
    list-style-type: disc;
    padding-left: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--color-secondary) !important;
    color: var(--color-background) !important;
    padding: 60px 0 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.site-footer h4 {
    color: var(--color-white) !important;
    font-family: var(--font-family-headings);
    margin-bottom: 16px;
}
.site-footer p, .site-footer a {
    color: var(--color-light-gray) !important;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
    margin: 0;
    font-size: 14px;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(120%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 15px; }
#cookie-banner a { color: var(--color-white) !important; 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: var(--border-radius-btn);
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}
@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; }
}