/* Cool Amethyst Color Palette: #630E76, #9C1C66, #34495E, #B2B3B1, #FFFFFF */
:root {
    --primary-color: #630E76; /* Dark Purple */
    --secondary-color: #9C1C66; /* Magenta */
    --dark-color: #34495E; /* Dark Slate */
    --light-gray-color: #B2B3B1; /* Light Gray */
    --text-color: #333;
    --background-color: #FFFFFF;
    --footer-bg-color: #2c3e50;
    --footer-text-color: #ecf0f1;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* General Styles */
body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.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.8rem);
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.text-center {
    text-align: center;
}

/* Header Layout */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    padding: 15px 10px;
    background-color: var(--background-color);
    box-shadow: 0 2px 5px 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;
    color: var(--primary-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;
    color: var(--dark-color);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    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(--dark-color);
}

.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(--background-color);
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.btn-secondary:hover {
    background-color: var(--dark-color);
    color: white;
}

/* Intro Section */
.intro-text-block {
    max-width: 900px;
    margin: 20px auto 0;
    text-align: left;
    columns: 2;
    column-gap: 40px;
}

@media (max-width: 768px) {
    .intro-text-block {
        columns: 1;
    }
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-top: 0;
}

/* Split Section */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.split-image {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.split-content-container .section-title {
    text-align: left;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: #f4f0f5;
    padding: 30px;
    border-radius: 8px;
    border-top: 5px solid var(--secondary-color);
}

.testimonial-card blockquote {
    margin: 0;
    font-style: italic;
}

.testimonial-card cite {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: var(--primary-color);
    font-style: normal;
}

.image-feature-section {
    display: flex;
}

/* CTA Section */
.cta-section {
    background-color: var(--dark-color);
    color: white;
}

.cta-container {
    text-align: center;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Page Header */
.page-header {
    background-color: #f9f9f9;
    text-align: center;
    padding: 50px 0;
}

.page-title {
    font-size: 3rem;
    color: var(--dark-color);
    margin: 0;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 10px auto 0;
}

/* Timeline Section (Program Page) */
.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;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 0 20px 60px;
    position: relative;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 28px;
    left: 10px;
    z-index: 1;
}

.timeline-content {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 6px;
}

/* FAQ Section */
.faq-accordion details {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.faq-accordion summary {
    font-weight: bold;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.faq-accordion p {
    padding-top: 10px;
}

/* Mission Page */
.story-container {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 50px;
    align-items: center;
}

.story-image {
    border-radius: 8px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.manifesto-section {
    background-color: var(--dark-color);
    color: white;
}

.manifesto-container {
    max-width: 800px;
    text-align: center;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.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 #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-info-container {
    background-color: #f4f0f5;
    padding: 30px;
    border-radius: 8px;
}

.contact-info-item {
    margin-bottom: 20px;
}

.contact-info-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Legal & Thank You Pages */
.legal-page .container, .thank-you-section .container {
    max-width: 900px;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 30px;
}

.thank-you-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color) !important;
    padding: 50px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.site-footer h3 {
    color: white !important;
    margin-bottom: 15px;
}

.site-footer p, .site-footer a {
    color: var(--footer-text-color) !important;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #444;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--dark-color);
    color: white;
    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; }
#cookie-banner a { color: var(--light-gray-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: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--secondary-color); color: white; }
.cookie-btn-decline { background-color: #555; color: white; }

/* Responsive Styles */
@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); }

    .benefits-grid, .testimonials-grid, .split-container, .story-container, .contact-grid {
        grid-template-columns: 1fr;
    }

    .story-image-container {
        order: -1; /* Move image to top on mobile */
    }

    .section {
        padding: 40px 0;
    }
}

@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; }
}