/* 
  Palette Name: Terracotta & Warm Sand
  Colors: 
  - Terracotta: #E07A5F
  - Warm Sand: #F4F1DE
  - Dark Brown/Charcoal: #332927
  - Soft Peach: #F2CC8F
*/

:root {
    --primary: #E07A5F;
    --primary-hover: #c9654b;
    --secondary: #F2CC8F;
    --bg-light: #FAFAFA;
    --bg-sand: #F4F1DE;
    --text-dark: #332927;
    --text-light: #F4F1DE;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.center-text {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.w-full {
    width: 100%;
}

.bg-sand {
    background-color: var(--bg-sand);
}

.text-light {
    color: var(--text-light);
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin-bottom: 1rem; font-size: 1.05rem; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--text-dark);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #1a1514;
}

.link-arrow {
    display: inline-block;
    color: var(--primary);
    font-weight: bold;
    margin-top: 1rem;
}

.link-arrow:hover {
    color: var(--text-dark);
}

/* Header Layout (Strictly from prompt) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--text-dark);
    color: var(--text-light);
}

.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(--text-light);
}

.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;
    background-color: var(--text-light);
    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:hover {
    color: var(--primary);
}

.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(--text-dark);
}

.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);
}

@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); }
}

/* --- INDEX.HTML UNIQUE LAYOUTS --- */

/* Diagonal Hero */
.hero-diagonal {
    position: relative;
    background-color: var(--bg-sand);
    overflow: hidden;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}

.hero-text-area {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

.hero-badge {
    background-color: var(--secondary);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-image-area {
    width: 100%;
    height: 400px;
}

.hero-img-diagonal {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-content-wrapper {
        flex-direction: row;
    }
    .hero-text-area {
        width: 50%;
        padding: 80px 5% 80px 10%;
    }
    .hero-image-area {
        width: 50%;
        height: auto;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Stats Bar */
.stats-section {
    background-color: var(--primary);
    color: #fff;
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Intro Layout */
.intro-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .intro-layout {
        grid-template-columns: 1fr 2fr;
    }
    .intro-heading h2 {
        position: sticky;
        top: 20px;
    }
}

/* Horizontal Scroll Benefits */
.benefits-scroller {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0 40px 0;
    scroll-snap-type: x mandatory;
}

.benefits-scroller::-webkit-scrollbar {
    height: 8px;
}
.benefits-scroller::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}
.benefits-scroller::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.benefit-card-v2 {
    flex: 0 0 85%;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    scroll-snap-align: start;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .benefit-card-v2 { flex: 0 0 45%; }
}
@media (min-width: 1024px) {
    .benefits-scroller {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow-x: visible;
    }
    .benefit-card-v2 { flex: auto; }
}

/* Overlap Section */
.overlap-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.overlap-image img {
    width: 100%;
    border-radius: 8px;
}

.overlap-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

@media (min-width: 992px) {
    .overlap-container {
        grid-template-columns: 5fr 6fr;
        align-items: center;
    }
    .overlap-content {
        margin-left: -100px;
        position: relative;
        z-index: 2;
    }
}

/* Masonry Testimonials */
.masonry-grid {
    column-count: 1;
    column-gap: 20px;
    margin-top: 40px;
}

.masonry-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    break-inside: avoid;
    border-top: 4px solid var(--secondary);
}

.quote-text {
    font-style: italic;
    margin-bottom: 15px;
}

.quote-author {
    font-weight: bold;
    color: var(--primary);
}

@media (min-width: 768px) { .masonry-grid { column-count: 2; } }
@media (min-width: 1024px) { .masonry-grid { column-count: 3; } }

/* CTA Banner */
.cta-banner {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.cta-banner h2 { color: var(--text-light); }

/* --- PROGRAM.HTML UNIQUE LAYOUTS --- */

.page-header {
    background-color: var(--bg-sand);
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* Pure CSS Tabs */
.css-tabs {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.css-tabs input[type="radio"] {
    display: none;
}

.css-tabs label {
    padding: 15px 25px;
    background: #eee;
    font-weight: bold;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: background 0.3s;
}

.css-tabs label:hover {
    background: #ddd;
}

.tab-content {
    width: 100%;
    padding: 40px 0;
    display: none;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#tab1:checked ~ label[for="tab1"],
#tab2:checked ~ label[for="tab2"],
#tab3:checked ~ label[for="tab3"] {
    background: var(--primary);
    color: #fff;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3 {
    display: block;
}

.tab-inner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.tab-img img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-box {
    background: var(--secondary);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 8px;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .tab-inner-grid { grid-template-columns: 1fr 1fr; }
}

/* Numbered Steps */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.step-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--secondary);
    opacity: 0.5;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-item h3, .step-item p {
    position: relative;
    z-index: 1;
}

.step-item h3 { margin-top: 30px; }

@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* FAQ Accordion */
.faq-container { max-width: 800px; }

.accordion-wrapper { margin-top: 40px; }

.accordion-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.accordion-item summary {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.accordion-item[open] summary::after { content: '-'; }

.accordion-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 15px;
}

/* --- MISSION.HTML UNIQUE LAYOUTS --- */

.mission-hero {
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
}

.mission-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(51, 41, 39, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-hero h1 { color: #fff; }

/* Vertical Storytelling */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.story-year {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.story-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .story-block { grid-template-columns: 1fr 1fr; }
    .story-block.reverse .story-content { order: 2; }
    .story-block.reverse .story-image { order: 1; }
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    border-bottom: 4px solid var(--primary);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Manifesto */
.manifesto-quote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    font-style: italic;
    color: var(--primary);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

/* --- CONTACT.HTML UNIQUE LAYOUTS --- */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.info-card {
    background: var(--bg-sand);
    padding: 30px;
    border-radius: 8px;
}

.info-card h3 {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-wrapper {
    background: #fff;
    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: bold;
}

.custom-form input, .custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.custom-form input:focus, .custom-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr 2fr;
    }
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
}

.legal-content h2 {
    margin-top: 30px;
    font-size: 1.5rem;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Thank You Page */
.thank-you-box {
    max-width: 600px;
    background: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.action-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* --- FOOTER (Strictly Hardcoded Colors) --- */
.site-footer {
    background-color: #2B211F !important;
    color: #F4F1DE !important;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #F4F1DE !important;
    display: block;
    margin-bottom: 15px;
}

.site-footer h3 {
    color: #F2CC8F !important;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.site-footer p, .site-footer li {
    color: #F4F1DE !important;
    opacity: 0.8;
}

.site-footer ul {
    list-style: none;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: #F4F1DE !important;
}

.site-footer a:hover {
    color: #E07A5F !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(244, 241, 222, 0.1);
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* --- COOKIE BANNER --- */
#cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    padding: 18px 24px;
    background-color: #332927;
    color: #fff;
    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(--secondary);
    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: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-accept {
    background-color: var(--primary);
    color: #fff;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

@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;
    }
}