/*
 * Color Palette: Bordeaux-Cream
 * Primary: #8D2D56 (Bordeaux)
 * Secondary: #F5E8C7 (Cream)
 * Dark: #3A3845 (Charcoal)
 * Light: #F7F7F7 (Almost White)
*/

:root {
    --primary-color: #8D2D56;
    --secondary-color: #F5E8C7;
    --dark-color: #3A3845;
    --light-color: #F7F7F7;
    --text-color: #333;
    --white-color: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 40px;
}

.section-paragraph {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 20px;
}

/* Header Styles */
.site-header {
    background-color: var(--white-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 15px 10px;
    position: sticky;
    top: 0;
    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;
    color: var(--dark-color);
    z-index: 100;
}

.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;
    font-size: 16px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; /* Header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background-color: var(--white-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 99;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    font-size: 18px;
    font-weight: 600;
    display: block;
    width: 100%;
}

@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); }
}


/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: var(--white-color);
}

.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(--white-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.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: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--white-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin-bottom: 30px;
    font-weight: 300;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--white-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.benefit-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Split Section */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-container { grid-template-columns: 1fr 1fr; }
}

.split-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.split-content-container .section-title {
    text-align: left;
}

.split-content-container .section-paragraph {
    text-align: left;
    margin-left: 0;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

/* CTA Section */
.cta-container {
    text-align: center;
}
.cta-title {
    font-size: 2rem;
    margin-bottom: 15px;
}
.cta-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color) !important;
    color: var(--light-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, .site-footer h4 {
    color: var(--white-color) !important;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-title {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer p, .site-footer li {
    font-size: 0.95rem;
    color: #ccc !important;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 10px;
}

.site-footer a {
    color: #ccc !important;
}

.site-footer a:hover {
    color: var(--white-color) !important;
}

.footer-copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #4a4a4a;
}

/* Page Header (for inner pages) */
.page-header-section {
    background-color: var(--secondary-color);
    padding: 50px 0;
    text-align: center;
}

.page-title {
    font-size: clamp(2.2rem, 6vw, 3rem);
    margin: 0;
}

.page-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 15px auto 0;
}

/* Program Page: Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    top: 20px;
    left: 12px;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.6rem;
    margin-top: 0;
}
.content-image {
    width: 100%;
    margin-top: 20px;
    border-radius: var(--border-radius);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #ddd;
}
.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-answer {
    padding: 0 10px 20px;
}

/* Mission Page */
.story-container {
    display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 992px) { .story-container { grid-template-columns: 1fr 0.8fr; } }
.story-image { width: 100%; border-radius: var(--border-radius); }
.values-section { background-color: var(--white-color); }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px) { .values-grid { grid-template-columns: 1fr 1fr; } }
.value-card { padding: 20px; border: 1px solid #ddd; border-radius: var(--border-radius); }
.manifesto-section { background-color: var(--secondary-color); }
.manifesto-content blockquote { border-left: 5px solid var(--primary-color); padding-left: 30px; font-size: 1.3rem; font-style: italic; margin: 0; }

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 40px;
}
@media(min-width: 992px) { .contact-layout { grid-template-columns: 1.2fr 1fr; } }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
}
.form-group { display: flex; flex-direction: column; }
.form-group label { margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
}
.form-submit-btn { width: 100%; padding: 15px; font-size: 1.1rem; }

.contact-info-item { margin-bottom: 25px; }
.contact-info-item h4 { margin-bottom: 5px; color: var(--primary-color); }
.contact-info-item p { margin: 0; }

/* Legal & Thank You Pages */
.legal-page-section, .thank-you-section { padding: 60px 0; }
.legal-page-section h2 { margin-top: 40px; }
.thank-you-container { text-align: center; max-width: 700px; }
.thank-you-title { font-size: 2.8rem; }
.next-steps { margin-top: 50px; padding-top: 30px; border-top: 1px solid #ddd; }
.next-steps-list { list-style: none; padding: 0; }
.next-steps-list li { margin-bottom: 10px; }
.next-steps-list a { font-weight: 600; }

/* 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(--white-color);
    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-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: 600;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--white-color); }
.cookie-btn-decline { background-color: #555; color: var(--white-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; }
}