/*
 * Color Palette: Tropical Sunset
 * --primary-color: #630E76 (Deep Purple)
 * --secondary-color: #B22B5B (Magenta)
 * --accent-color: #F79C92 (Soft Peach)
 * --muted-teal: #B3D0D9 (Muted Teal)
*/

:root {
    --primary-color: #630E76;
    --secondary-color: #B22B5B;
    --accent-color: #F79C92;
    --muted-teal: #B3D0D9;
    --light-bg-color: #F8F9FA;
    --dark-bg-color: #FFFFFF;
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --border-color: #e0e0e0;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
    --header-height: 80px;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--dark-bg-color);
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-intro, .page-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

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;
    display: block;
}

ul, ol {
    list-style-position: inside;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--dark-bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 15px 10px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo:hover {
    color: var(--secondary-color);
}

.hidden-toggle {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navigation a {
    font-weight: 600;
    color: var(--text-color);
    padding: 10px 0;
    position: relative;
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.navigation a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .navigation {
        display: none;
    }
    .hamburger {
        display: block;
        z-index: 1002;
    }
    .mobile-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--dark-bg-color);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 20px;
    }
    .mobile-nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .mobile-nav a {
        font-size: 1.2rem;
        color: var(--text-color);
    }
    #menu-toggle:checked ~ .mobile-nav {
        display: block;
    }
    #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);
    }
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(67, 13, 82, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    margin-bottom: 1rem;
    color: var(--light-text-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* --- Pillars Section --- */
.pillars-section {
    background-color: var(--light-bg-color);
}
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
@media (min-width: 576px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .pillars-grid { grid-template-columns: repeat(4, 1fr); }
}

.pillar-card {
    background-color: var(--dark-bg-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.pillar-icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
    background-color: var(--muted-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillar-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}
.pillar-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* --- Split Section --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .split-container { grid-template-columns: 1fr 1fr; }
    .split-container .split-image { order: 1; }
}
.split-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Principles Section --- */
.principles-list {
    list-style: none;
    counter-reset: principles-counter;
    margin-top: 40px;
}
.principle-item {
    position: relative;
    padding: 20px 20px 20px 80px;
    margin-bottom: 20px;
    background-color: var(--light-bg-color);
    border-radius: 8px;
}
.principle-item::before {
    counter-increment: principles-counter;
    content: counter(principles-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}
.principle-item h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* --- Testimonial Section --- */
.testimonial-section {
    background-color: var(--muted-teal);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
    background-color: var(--dark-bg-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--accent-color);
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial-author {
    text-align: right;
}
.author-name {
    display: block;
    font-weight: bold;
    color: var(--primary-color);
}
.author-title {
    font-size: 0.9rem;
    color: #777;
}

/* --- Program Page --- */
.page-header-section {
    background-color: var(--light-bg-color);
    padding: 60px 0;
}
.program-modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .program-modules-grid { grid-template-columns: repeat(2, 1fr); }
}
.module-card {
    background-color: var(--dark-bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
}
.module-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.module-content {
    padding: 30px;
    flex-grow: 1;
}
.module-number {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.module-title {
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.module-takeaways {
    margin-top: 20px;
    padding-left: 20px;
}
.module-takeaways li {
    margin-bottom: 5px;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--light-bg-color);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 20px 20px;
}

/* --- Mission Page --- */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .mission-grid { grid-template-columns: 2fr 1fr; }
}
.mission-image img {
    border-radius: 8px;
}
.values-section {
    background-color: var(--light-bg-color);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
}
.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
@media (min-width: 992px) {
    .contact-grid { grid-template-columns: 1fr 1.5fr; }
}
.info-item {
    margin-bottom: 20px;
}
.info-item h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}
.contact-form {
    max-width: 800px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(178, 43, 91, 0.2);
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    max-width: 800px;
}
.legal-page h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}
.thank-you-content {
    margin-top: 40px;
}
.quick-links {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* --- Footer --- */
.site-footer {
    background-color: #222222 !important;
    color: #cccccc !important;
    padding: 50px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
}
@media (min-width: 576px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-title {
    color: var(--light-text-color) !important;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a, .footer-column a {
    color: #cccccc !important;
}
.footer-links a:hover, .footer-column a:hover {
    color: var(--accent-color) !important;
}
.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- 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;
    background-color: #2c3e50;
    color: var(--light-text-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { 
    transform: translateY(110%); 
    display: none !important;
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#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: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}
.cookie-btn-decline {
    background-color: #7f8c8d;
    color: var(--light-text-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; }
}