/*
 * Color Palette: Pastel Lavender & Rose
 * Primary: #D7BDE2 (Soft Lavender)
 * Secondary: #F5B7B1 (Muted Rose)
 * Text: #5B2C6F (Dark Purple)
 * Background: #FDFEFE (Off-White)
 * Accent: #E8DAEF
*/

:root {
    --color-primary: #D7BDE2;
    --color-secondary: #F5B7B1;
    --color-text: #5B2C6F;
    --color-text-light: #6c4683;
    --color-background: #FDFEFE;
    --color-surface: #ffffff;
    --color-accent: #E8DAEF;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
    --box-shadow: 0 4px 15px rgba(91, 44, 111, 0.08);
}

/* --- Global Resets & Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    font-size: 16px;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-text);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style-position: inside;
    padding-left: 1rem;
}

/* --- Layout & Components --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.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(--color-secondary);
    color: var(--color-surface);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-text);
}

.btn-secondary:hover {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-text);
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-surface);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.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;
    z-index: 100;
    color: var(--color-text);
}

.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(--color-text);
    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(--color-text);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    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(--color-surface);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-accent);
    text-align: center;
}

.mobile-nav a {
    color: var(--color-text);
    font-size: 18px;
    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); }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-text) !important;
    color: var(--color-background) !important;
    padding: 50px 0 20px;
}

.site-footer a {
    color: var(--color-primary) !important;
}

.site-footer a:hover {
    color: var(--color-surface) !important;
}

.site-footer p {
    color: #e0e0e0 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    color: var(--color-surface) !important;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid var(--color-text-light);
    padding-top: 20px;
    font-size: 0.9em;
}

/* --- V5 Specific: index.html --- */
.hero-vertical {
    display: flex;
    flex-direction: column;
}
.hero-vertical-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.hero-vertical-content {
    padding: 50px 0;
    background-color: var(--color-accent);
    text-align: center;
}
.intro-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.scroll-gallery-section {
    background-color: var(--color-background);
    overflow: hidden;
}
.scroll-gallery-container {
    overflow-x: auto;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scroll-gallery-container::-webkit-scrollbar {
    display: none;
}
.scroll-gallery {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.scroll-card {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 30px;
    width: 300px;
    flex-shrink: 0;
    box-shadow: var(--box-shadow);
    text-align: center;
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.myth-fact-grid {
    display: grid;
    gap: 30px;
}
.myth-fact-block {
    background: var(--color-surface);
    padding: 30px;
    border-left: 5px solid var(--color-primary);
    border-radius: 8px;
}
.myth-label, .fact-label { font-weight: bold; }
.myth-label { color: var(--color-secondary); }
.fact-label { color: var(--color-text); }
.split-layout-reverse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image img { border-radius: 12px; }
.cta-section { background-color: var(--color-accent); }
.cta-content { text-align: center; }

@media (min-width: 768px) {
    .myth-fact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .split-layout-reverse { grid-template-columns: 1fr 1fr; }
    .split-layout-reverse .split-content { order: 1; }
    .split-layout-reverse .split-image { order: 2; }
    .myth-fact-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- V5 Specific: program.html --- */
.page-header {
    padding: 50px 0;
    background-color: var(--color-accent);
    text-align: center;
}
.tabs-container {
    margin: 0 auto;
}
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-accent);
    justify-content: center;
}
.tab-button {
    padding: 10px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-light);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.tab-button.active {
    color: var(--color-text);
    border-bottom-color: var(--color-secondary);
}
.tab-content {
    display: none;
    padding: 20px;
    background: var(--color-surface);
    border-radius: 8px;
    animation: fadeIn 0.5s;
}
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.image-container-full img {
    width: 100%;
    border-radius: 12px;
}
.image-caption {
    text-align: center;
    font-style: italic;
    margin-top: 15px;
    color: var(--color-text-light);
}

/* --- V5 Specific: mission.html --- */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}
.story-image img { border-radius: 12px; }
.values-section { background-color: var(--color-accent); }
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    background: var(--color-surface);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--box-shadow);
}
@media (min-width: 768px) {
    .story-block { grid-template-columns: 1fr 1fr; }
    .story-block.reverse .story-content { order: 2; }
    .story-block.reverse .story-image { order: 1; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- V5 Specific: contact.html --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-sidebar {
    background-color: var(--color-accent);
    padding: 30px;
    border-radius: 12px;
}
.contact-details .contact-item { margin-bottom: 20px; }
.contact-details h4 { margin-bottom: 5px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-family-base);
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(215, 189, 226, 0.5);
}
@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 350px 1fr;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page h2 { margin-top: 30px; }
.legal-page ul { margin-bottom: 1rem; }
.thank-you-section { text-align: center; }
.thank-you-content {
    max-width: 700px;
    margin: 0 auto 50px;
}
.next-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}
.next-step-card {
    background: var(--color-surface);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    text-align: left;
    color: var(--color-text);
}
.next-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(91, 44, 111, 0.12);
}
@media (min-width: 768px) {
    .next-steps-grid { grid-template-columns: repeat(3, 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(--color-text);
    color: var(--color-background);
    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; color: var(--color-background); }
#cookie-banner a { color: var(--color-primary); 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: 6px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--color-secondary);
    color: var(--color-surface);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--color-background);
    border: 1px solid var(--color-background);
}
@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; }
}