/*
  Version: 1
  Theme: Amber & Earth Palette
  Colors:
  - Primary: #D97706 (Amber/Orange)
  - Secondary: #F3EAD3 (Beige/Cream)
  - Dark: #43382B (Dark Brown)
  - Text: #57534E (Grayish Brown)
  - Light Text: #FFFFFF
*/

:root {
    --primary-color: #D97706;
    --secondary-color: #F3EAD3;
    --dark-color: #43382B;
    --text-color: #57534E;
    --light-text-color: #FFFFFF;
    --background-color: #FFFCF5;
    --border-color: #E7E5E4;
    --footer-bg-color: #43382B;
    --footer-text-color: #F3EAD3;
}

/* Global Resets and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Utility and Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
}

.section-intro-text {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #C26A05;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Header Styles */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-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(--dark-color);
}
.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;
    background-color: var(--dark-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: 500;
    font-size: 1rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px; /* Adjusted for header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
    background-color: var(--dark-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.mobile-nav a {
    color: var(--light-text-color);
    font-size: 1.2rem;
}

@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 */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--light-text-color);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Split Section */
.split-section-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.split-content-container .section-title {
    text-align: left;
}

@media (min-width: 992px) {
    .split-section-layout {
        grid-template-columns: 1fr 1.2fr;
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.testimonial-card blockquote {
    margin: 0;
    font-style: italic;
}

.testimonial-card footer {
    margin-top: 15px;
    font-weight: bold;
    color: var(--dark-color);
    font-style: normal;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* CTA Section */
.cta-section {
    background-color: var(--dark-color);
    color: var(--light-text-color);
    text-align: center;
}

.cta-section h2 {
    color: var(--light-text-color);
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color) !important;
    padding: 50px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.site-footer h3 {
    color: var(--light-text-color) !important;
    margin-bottom: 15px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.site-footer p, .site-footer a {
    color: var(--footer-text-color) !important;
    font-size: 0.95rem;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px 0;
}

/* Program Page - Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 15px;
}

.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--background-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    left: 6px;
    z-index: 1;
}

.timeline-content h3 {
    margin-top: 0;
}

/* Mission Page */
.mission-story-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-image { border-radius: 8px; }
.mission-text-container .section-title { text-align: left; }

@media (min-width: 992px) {
    .mission-story-layout { grid-template-columns: 1fr 1.2fr; }
}

.values-section { background-color: var(--secondary-color); }
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.value-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}
.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
@media (min-width: 992px) {
    .contact-layout { grid-template-columns: 1.5fr 1fr; }
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: 500; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}
.contact-info-container { background-color: var(--secondary-color); padding: 30px; border-radius: 8px; }
.contact-details .contact-item { margin-bottom: 20px; }
.contact-details h3 { font-size: 1.2rem; }

/* Generic Content Pages (Policy, Terms, Thank You) */
.content-page, .thank-you-section {
    padding: 60px 0;
}
.content-page .container, .thank-you-section .container {
    max-width: 800px;
}
.page-title { font-size: clamp(2.2rem, 6vw, 3rem); text-align: center; }
.page-subtitle { text-align: center; font-size: 1.2rem; margin-top: -1rem; margin-bottom: 2rem; }
.content-page h2 { margin-top: 2rem; }
.content-page ul { list-style: disc; padding-left: 20px; }
.thank-you-content { text-align: center; }
.next-steps { margin: 40px 0; padding: 20px; border: 1px solid var(--border-color); border-radius: 8px; }

/* Inner CTA Section */
.cta-section-inner {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    color: var(--light-text-color);
    text-align: center;
}
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}
.cta-section-inner .cta-content {
    position: relative;
    z-index: 2;
}
.cta-section-inner h2 {
    color: var(--light-text-color);
}

/* 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(--dark-color);
    color: var(--light-text-color);
    border-top: 2px solid var(--primary-color);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--secondary-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: 5px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--light-text-color); }
.cookie-btn-decline { background-color: #78716c; 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; }
}