/*
* Design Style: corporate-clean
* Border Style: sharp
* Shadow Style: dramatic
* Color Mode: light
* Color Palette: walnut-teal
*/

:root {
    --color-primary: #3E2010;
    --color-secondary: #5C3018;
    --color-accent: #00695C;
    --bg-tint: #FAF3EC;
    --text-dark: #333333;
    --text-light: #f5f5f5;
    --border-color: #e0d8cf;
    --shadow-dramatic: 0 24px 64px rgba(0, 0, 0, 0.22);
    --shadow-dramatic-hover: 0 32px 80px rgba(0, 0, 0, 0.30);
}

/* --- Global Styles & Resets --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-tint);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 20px;
}

/* --- Layout & Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 24px;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
    color: #555;
}

.section-divider-container {
    padding: 0 16px;
}

.section-divider {
    max-width: 1200px;
    margin: 0 auto;
    border: 0;
    height: 1px;
    background-color: var(--border-color);
}

.page-title {
    text-align: center;
}
.page-subtitle {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    color: #555;
}

.page-header-section {
    padding: 40px 0;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 0; /* sharp */
    transition: all 0.3s ease;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-tint);
    border-bottom: 1px solid var(--border-color);
}

.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);
}

.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(--color-primary);
    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 {
    color: var(--color-primary);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px; /* Adjust based on 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(--color-secondary);
}

.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);
}

.mobile-nav a {
    color: var(--text-light);
    display: block;
    width: 100%;
}

/* --- Hero Section (Floating Card) --- */
.hero-section.hero-floating-card {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(62, 32, 16, 0.4); /* Primary color overlay */
}

.hero-floating-card .container {
    position: relative;
    z-index: 2;
}

.hero-card {
    background-color: #ffffff;
    padding: 40px;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-dramatic);
    border-radius: 0; /* sharp */
}

.hero-title {
    color: var(--color-secondary);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: #444;
}

/* --- Benefits Section (2x2 Grid) --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dramatic);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0; /* sharp */
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-dramatic-hover);
}

.card-title {
    color: var(--color-accent);
}

/* --- Two Column Section --- */
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.two-col-image img {
    border-radius: 0; /* sharp */
    box-shadow: var(--shadow-dramatic);
}

.styled-list {
    list-style: none;
    padding: 0;
}
.styled-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
}
.styled-list li::before {
    content: '✓';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* sharp */
}
.gallery-placeholder {
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    color: var(--text-light);
    font-size: 1.5rem;
    font-family: 'Georgia', serif;
}

.full-width-image-container img {
    margin: 0 auto;
}

/* --- Icon Features Section --- */
.icon-features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
.icon-feature-item {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.feature-title {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--color-primary);
}

/* --- Testimonials Section --- */
.testimonials-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}
.testimonial-item {
    background: #fff;
    padding: 30px;
    border-left: 5px solid var(--color-accent);
    box-shadow: var(--shadow-dramatic);
    border-radius: 0; /* sharp */
}
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--border-color);
    border-radius: 0; /* sharp */
    margin-right: 15px;
}
.testimonial-name {
    font-weight: bold;
    margin: 0;
}
.testimonial-rating {
    color: var(--color-accent);
    font-size: 1.2rem;
}
.testimonial-quote {
    font-style: italic;
    color: #555;
    margin: 0;
}

/* --- Program Page: Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-accent);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    padding: 10px 40px;
    padding-left: 60px;
    position: relative;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--color-accent);
    top: 20px;
    left: 11px;
    z-index: 1;
    border-radius: 0; /* sharp */
}
.timeline-content {
    padding: 20px;
    background: #fff;
    position: relative;
    box-shadow: var(--shadow-dramatic);
    border-radius: 0; /* sharp */
}
.timeline-title {
    margin-top: 0;
}

/* --- Mission Page: Vertical Storytelling --- */
.story-block {
    padding: 40px 0;
}
.story-block-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.story-image-wrapper img, .story-placeholder-image {
    box-shadow: var(--shadow-dramatic);
    border-radius: 0; /* sharp */
}
.story-placeholder-image {
    min-height: 300px;
    background: var(--color-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-family: 'Georgia', serif;
}


/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 0; /* sharp */
    font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--color-accent);
}
.contact-info-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dramatic);
    border-radius: 0; /* sharp */
}
.contact-info-card h3 {
    color: var(--color-accent);
}
.contact-info-card p {
    margin: 0;
}

/* --- Policy & Thank You Pages --- */
.policy-page .container,
.thank-you-page .container {
    max-width: 800px;
}
.policy-page h2 {
    margin-top: 2rem;
}
.thank-you-card {
    background: #fff;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dramatic);
}
.thank-you-links {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-secondary);
    color: var(--text-light) !important; /* !important to override browser styles */
    padding: 40px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
}
.footer-column p, .footer-column a {
    color: var(--bg-tint) !important; /* !important to override browser styles */
    font-size: 0.95rem;
}
.footer-heading {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--color-primary);
    color: var(--text-light);
    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 -10px 40px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(120%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: #fff; 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: 1px solid var(--text-light);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 0; /* sharp */
    transition: background-color 0.3s, color 0.3s;
}
.cookie-btn-accept {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}
.cookie-btn-accept:hover {
    background-color: #fff;
    color: var(--color-accent);
}
.cookie-btn-decline:hover {
    background-color: rgba(255,255,255,0.1);
}

/* --- Responsive Design --- */
@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); }
}

@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; }
}

@media (min-width: 600px) {
    .icon-features-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .benefits-grid-2x2 { grid-template-columns: repeat(2, 1fr); }
    .two-col-container { grid-template-columns: 1fr 1fr; }
    .story-block-content { grid-template-columns: 1fr 1fr; }
    .story-block-reverse .story-image-wrapper { order: 2; }
    .contact-grid { grid-template-columns: 2fr 1fr; }
}

@media (min-width: 992px) {
    .footer-container { grid-template-columns: repeat(4, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .icon-features-grid { grid-template-columns: repeat(6, 1fr); }
}