/* Palette: Earthy Warm (Brown, Terracotta, Sand, Beige) - NO BLUE, NO GREEN */
:root {
    --primary-color: #8B4513; /* Saddle Brown */
    --secondary-color: #E87A5D; /* Terracotta */
    --dark-color: #2C1E16; /* Dark Brown */
    --light-color: #FFF8DC; /* Cornsilk */
    --sand-color: #D2B48C; /* Tan */
    --text-color: #332822;
    --bg-color: #FAFAFA;
    --white: #FFFFFF;
    --transition: 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-color);
}

.bg-dark {
    background-color: var(--dark-color);
}

.text-white {
    color: var(--white);
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.text-white h1, .text-white h2, .text-white h3, .text-white p {
    color: var(--white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 15px; font-size: 1.05rem; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.btn-secondary:hover {
    background-color: var(--dark-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Header Layout (Strictly from prompt) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    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(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.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: 600;
    color: var(--dark-color);
}

.desktop-nav a:hover {
    color: var(--secondary-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--white);
    box-shadow: 0 4px 10px 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 rgba(0,0,0,0.05);
}

.mobile-nav a {
    color: var(--dark-color);
    font-weight: 600;
    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); }
}

/* V3 Unique: Floating Hero Section */
.hero-floating-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 30, 22, 0.6);
}

.hero-floating-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.floating-card {
    background: var(--white);
    padding: 50px;
    max-width: 550px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-left: 8px solid var(--secondary-color);
}

.badge {
    display: inline-block;
    background: var(--sand-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-floating-container { justify-content: center; padding: 40px 20px; }
    .floating-card { padding: 30px; }
}

/* V3 Unique: Asymmetrical Grid */
.asym-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.asym-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--sand-color);
}

@media (min-width: 768px) {
    .asym-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }
    .card-large { grid-column: span 2; grid-row: span 2; }
    .card-medium { grid-column: span 2; }
    .card-small { grid-column: span 1; }
}

/* V3 Unique: Overlap Section */
.overlap-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.overlap-image {
    width: 100%;
}

.overlap-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.overlap-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: -50px;
    position: relative;
    z-index: 2;
    width: 90%;
    align-self: center;
}

@media (min-width: 992px) {
    .overlap-wrapper { flex-direction: row; align-items: center; }
    .overlap-image { width: 60%; }
    .overlap-image img { height: 500px; }
    .overlap-content { width: 50%; margin-top: 0; margin-left: -10%; padding: 60px; }
}

/* V3 Unique: Accordion FAQ */
.accordion-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
}

.accordion-body {
    padding: 0 20px 20px;
    border-top: 1px solid var(--light-color);
}

/* V3 Unique: Quotes Grid */
.quotes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.quote-card {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    font-style: italic;
}

.quote-card::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: 10px;
    left: 20px;
    color: var(--secondary-color);
    opacity: 0.5;
    font-family: serif;
}

.quote-card cite {
    display: block;
    margin-top: 20px;
    font-weight: bold;
    font-style: normal;
    color: var(--sand-color);
}

@media (min-width: 768px) {
    .quotes-grid { grid-template-columns: 1fr 1fr; }
}

/* V3 Unique: Numbered Steps (Program) */
.numbered-step {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
    align-items: center;
    gap: 30px;
}

.step-number {
    font-size: 6rem;
    font-weight: 900;
    color: var(--sand-color);
    line-height: 1;
    opacity: 0.5;
}

.step-content {
    flex: 1;
}

@media (min-width: 768px) {
    .numbered-step { flex-direction: row; }
    .numbered-step.reverse { flex-direction: row-reverse; text-align: right; }
    .step-number { font-size: 8rem; width: 200px; text-align: center; }
}

/* Program Image Banner */
.program-image-section {
    padding: 40px 0;
}

.image-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.banner-overlay {
    background: rgba(139, 69, 19, 0.8);
    padding: 30px 50px;
    border-radius: 8px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--secondary-color);
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* V3 Unique: Story Section with Float */
.float-img-right {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .float-img-right {
        width: 40%;
        float: right;
        margin: 0 0 20px 30px;
    }
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Manifesto */
.manifesto-container {
    max-width: 800px;
}

.manifesto-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.8;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-info-box {
    background: var(--light-color);
    padding: 40px;
    border-radius: 8px;
}

.info-item {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.contact-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.custom-form input, .custom-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.custom-form input:focus, .custom-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1.5fr; }
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.legal-content h2 {
    margin-top: 30px;
    font-size: 1.5rem;
}

/* Thank You Page */
.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.thank-you-links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 500px) {
    .thank-you-links { flex-direction: row; justify-content: center; }
}

/* Footer */
.site-footer {padding-top: 2em;}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-bottom {padding-bottom: 20px;}
.footer-bottom p {margin: 0;}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .footer-grid { 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(--dark-color);
    color: var(--white);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    border-top: 3px solid var(--secondary-color);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; color: var(--white); }
#cookie-banner a { color: var(--sand-color); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold;
}
.cookie-btn-accept { background-color: var(--secondary-color); color: var(--white); }
.cookie-btn-decline { background-color: transparent; color: var(--white); border: 1px solid var(--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; }
}