/* 
   Palette: Earthy Vintage
   --primary-color: #A93226 (Deep Red);
   --secondary-color: #D35400 (Burnt Orange);
   --accent-color: #F0A55A (Warm Ochre);
   --dark-bg: #1D2A3C (Dark Slate/Charcoal);
   --light-bg: #FDF5E6 (Seashell/Vintage White);
   --text-color-light: #FDF5E6;
   --text-color-dark: #1D2A3C;
*/

:root {
    --primary-color: #A93226;
    --secondary-color: #D35400;
    --accent-color: #F0A55A;
    --dark-bg: #1D2A3C;
    --light-bg: #FDF5E6;
    --text-color-light: #FDF5E6;
    --text-color-dark: #1D2A3C;
    --border-color: #D35400;
}

/* --- Global Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color-dark);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); color: var(--secondary-color); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0; /* Sharp border style */
}

ul {
    list-style-position: inside;
    padding-left: 0;
}

/* --- Layout & Containers --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    opacity: 0.9;
}

.section-dark {
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.05) 10px, rgba(0,0,0,0.05) 20px);
}

.section-dark h2, .section-dark h3 {
    color: var(--accent-color);
}

.section-dark a {
    color: var(--accent-color);
}
.section-dark a:hover {
    color: var(--text-color-light);
}

.section-light {
    background-color: var(--light-bg);
    color: var(--text-color-dark);
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-bg);
    border-bottom: 2px 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-family: 'Lora', serif;
    font-size: clamp(24px, 4vw, 28px);
    font-weight: bold;
    color: var(--accent-color) !important;
    text-decoration: none;
    z-index: 100;
}
.logo:hover {
    text-decoration: none;
    color: var(--text-color-light) !important;
}

.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(--text-color-light);
    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(--text-color-light);
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}
.desktop-nav a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; /* Adjusted for header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--dark-bg);
}

.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(--text-color-light);
    font-size: 1.2rem;
    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); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 0; /* Sharp style */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color-light);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
}

/* --- Hero Section (Circle Image) --- */
.hero-circle-image {
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    padding: 80px 0;
}

.hero-container-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    color: var(--accent-color);
}
.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-circle {
    width: 300px;
    height: 300px;
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 5px solid var(--border-color);
}

@media (min-width: 768px) {
    .hero-container-split { grid-template-columns: 1fr 1fr; }
    .hero-image-circle { width: 350px; height: 350px; }
}
@media (min-width: 1024px) {
    .hero-image-circle { width: 450px; height: 450px; }
}

/* --- Timeline Section --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 19px;
}
.timeline-item {
    padding: 10px 40px;
    padding-left: 60px;
    position: relative;
}
.timeline-icon {
    position: absolute;
    left: 0;
    top: 15px;
    width: 40px;
    height: 40px;
    background-color: var(--light-bg);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    z-index: 1;
}
.timeline-content {
    position: relative;
    padding: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--light-bg);
}

/* --- Testimonials Section --- */
.testimonials-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-card {
    background-color: #2c3e50; /* A slightly lighter shade of dark */
    padding: 24px;
    border: 1px solid var(--accent-color);
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
}
.testimonial-name {
    margin: 0;
    font-weight: bold;
    color: var(--text-color-light);
}
.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.2rem;
}
.testimonial-text {
    font-style: italic;
    opacity: 0.9;
}

/* --- Two Column Image Section --- */
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.two-col-content .styled-list {
    list-style-type: none;
    padding-left: 0;
}
.two-col-content .styled-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.two-col-content .styled-list li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}
@media (min-width: 768px) {
    .two-col-container { grid-template-columns: 1fr 1fr; }
    .two-col-container.reverse .two-col-image { order: 2; }
    .two-col-container.reverse .two-col-content { order: 1; }
}


/* --- Numbered Steps Section --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.step-card {
    text-align: center;
    padding: 24px;
    border: 1px solid var(--border-color);
}
.step-number {
    font-family: 'Lora', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}
@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- FAQ Accordion Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-accordion details {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
}
.faq-accordion summary {
    padding: 16px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Lora', serif;
    position: relative;
    list-style: none; /* Hide default marker */
}
.faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.faq-accordion details[open] summary::after {
    transform: rotate(45deg);
}
.faq-accordion details p {
    padding: 0 16px 16px 16px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
}

/* --- Program Page (Grid 6 Cards) --- */
.program-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.program-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    background-color: var(--light-bg);
}
@media (min-width: 768px) {
    .program-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .program-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Mission Page (Vertical Storytelling) --- */
.story-wrapper .story-block {
    padding: 60px 0;
}
.story-wrapper .story-block-light {
    background-color: #fff9f0; /* Slightly different light shade */
}
.story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.story-image img {
    border: 2px solid var(--border-color);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
}
.value-item {
    padding: 20px;
    border: 1px solid var(--border-color);
}
@media (min-width: 768px) {
    .story-container.reverse .story-image { order: 2; }
    .story-container.reverse .story-content { order: 1; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Contact Page --- */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-item {
    margin-bottom: 20px;
}
.contact-item h3 {
    margin-bottom: 5px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background-color: #fff;
    border-radius: 0;
    font-family: 'Roboto', sans-serif;
}
@media (min-width: 1024px) {
    .contact-page-grid { grid-template-columns: 1fr 1.5fr; }
}

/* --- Page Hero (for internal pages) --- */
.page-hero {
    padding: 60px 0;
    text-align: center;
}
.page-hero .page-title {
    color: var(--accent-color);
}
.page-hero .page-subtitle {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- Legal & Thank You Pages --- */
.legal-content {
    max-width: 800px;
}
.legal-content h1, .legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.thank-you-section {
    padding: 80px 0;
}
.promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
}
.promo-card {
    padding: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
}
@media (min-width: 768px) {
    .promo-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg) !important;
    color: var(--text-color-light) !important;
    padding: 40px 0 0 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.05) 10px, rgba(0,0,0,0.05) 20px);
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.footer-title {
    color: var(--accent-color) !important;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.footer-nav {
    list-style: none;
    padding: 0;
}
.footer-nav li {
    margin-bottom: 8px;
}
.footer-nav a, .footer-column p, .footer-column a {
    color: var(--text-color-light) !important;
    opacity: 0.8;
}
.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
}
.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}
@media (min-width: 600px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-container { grid-template-columns: repeat(4, 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(--dark-bg);
    color: var(--text-color-light);
    border-top: 2px solid var(--border-color);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { color: var(--accent-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: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    cursor: pointer;
    transition: 0.3s;
    border-radius: 0;
}
.cookie-btn-accept:hover {
    background-color: var(--accent-color);
    color: var(--dark-bg);
}
.cookie-btn-decline:hover {
    opacity: 0.7;
}
@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; }
}