/*
  Color Palette: Sunset Glow
  --primary-color: #FF6F61; (Coral)
  --secondary-color: #6A1E9C; (Deep Purple)
  --accent-color: #F7B7A3; (Light Peach)
  --text-color: #333333;
  --light-bg: #FFF8F6;
*/

:root {
    --primary-color: #FF6F61;
    --secondary-color: #6A1E9C;
    --accent-color: #F7B7A3;
    --text-color: #333333;
    --text-light: #ffffff;
    --light-bg: #FFF8F6;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --footer-bg: #2d2d2d;
    --footer-text: #cccccc !important;
}

/* --- Global Resets & Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
}
.logo:hover {
    color: var(--primary-color);
}

.navigation ul {
    display: none;
    list-style: none;
}

.navigation ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
}
.navigation ul li a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.hidden-toggle {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1002;
    margin-left: auto;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease-in-out;
    padding-top: 80px;
    z-index: 1001;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li a {
    display: block;
    padding: 15px 25px;
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}
.mobile-nav ul li a:hover {
    background-color: var(--light-bg);
}

#menu-toggle:checked ~ .mobile-nav {
    right: 0;
}

#menu-toggle:checked ~ .hamburger .line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
#menu-toggle:checked ~ .hamburger .line:nth-child(2) {
    opacity: 0;
}
#menu-toggle:checked ~ .hamburger .line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (min-width: 768px) {
    .header-container {
        padding: 15px 10px;
    }
    .hamburger, .mobile-nav {
        display: none;
    }
    .navigation ul {
        display: flex;
        gap: 1rem;
    }
}

/* --- 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);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(45, 45, 45, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* --- Intro Section --- */
.intro-section {
    background-color: var(--light-bg);
}
.section-intro-text {
    max-width: 800px;
    margin: 0 auto 1rem;
    text-align: center;
    font-size: 1.1rem;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-icon svg {
    width: 32px;
    height: 32px;
    color: var(--secondary-color);
}

.benefit-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Split Section --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.split-image {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.split-content .section-title {
    text-align: left;
}

@media (min-width: 992px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
    .split-container:nth-child(even) .split-image-wrapper {
        order: 2;
    }
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: var(--light-bg);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}
.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
}
.testimonial-author {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-style: normal;
}
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}
.cta-section .section-title {
    color: var(--white);
}
.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    padding: 4rem 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.footer-about p {
    max-width: 300px;
}
.footer-links h4, .footer-legal h4, .footer-contact h4 {
    color: var(--white) !important;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links ul li, .footer-legal ul li {
    margin-bottom: 0.5rem;
}
.footer-links a, .footer-legal a, .footer-contact a {
    color: var(--footer-text) !important;
}
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}
.footer-contact p {
    margin-bottom: 0.5rem;
}
.footer-bottom {
    border-top: 1px solid #444;
    padding: 1.5rem 0;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* --- Program Page --- */
.page-header {
    background-color: var(--light-bg);
    padding-bottom: 3rem;
}
.program-modules {
    max-width: 900px;
    margin: 3rem auto 0;
}
.module-accordion {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.module-title {
    padding: 1rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--white);
    color: var(--secondary-color);
    list-style: none; /* For Safari */
}
.module-title::-webkit-details-marker { display: none; } /* For Chrome */
.module-content {
    padding: 0 1.5rem 1.5rem;
    background-color: var(--white);
}
.image-feature-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.image-feature-img {
    border-radius: 12px;
}
@media (min-width: 768px) {
    .image-feature-container {
        grid-template-columns: 1fr 1fr;
    }
}
.faq-section { background-color: var(--light-bg); }
.faq-item { margin-bottom: 2rem; }
.faq-question { font-size: 1.3rem; color: var(--secondary-color); margin-bottom: 0.5rem; }

/* --- Mission Page --- */
.mission-story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.mission-story-image img {
    border-radius: 12px;
}
@media (min-width: 992px) {
    .mission-story-container {
        grid-template-columns: 1.2fr 1fr;
    }
}
.values-section { background-color: var(--light-bg); }
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
}
.value-card h3 { color: var(--secondary-color); margin-bottom: 0.5rem; }
@media (min-width: 768px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}
.manifesto-quote {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    background-color: var(--light-bg);
    font-size: 1.2rem;
    font-style: italic;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.contact-details .contact-item { margin-bottom: 1.5rem; }
.contact-details h4 { color: var(--secondary-color); font-size: 1.2rem; margin-bottom: 0.25rem; }
.contact-form { max-width: 800px; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 111, 97, 0.2);
}
@media (min-width: 992px) {
    .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

/* --- Legal & Thank You Pages --- */
.legal-page { background-color: var(--light-bg); }
.legal-page h2 { margin-top: 2rem; margin-bottom: 1rem; color: var(--secondary-color); }
.legal-page ul { margin-left: 20px; margin-bottom: 1rem; }
.thank-you-section { padding: 5rem 0; }
.thank-you-icon svg {
    width: 80px;
    height: 80px;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
}
.what-next { margin-top: 3rem; }
.what-next h2 { color: var(--secondary-color); margin-bottom: 1rem; }
.next-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; }

/* --- 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(--footer-bg);
    color: var(--footer-text);
    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(--accent-color) !important; 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);
}
.cookie-btn-decline {
    background-color: #555;
    color: var(--white);
}
@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; }
}