/* 
   PALETTE VERSION 5: Pastel Lavender / Purple
   Primary: #9B59B6 (Amethyst)
   Secondary: #8E44AD (Dark Purple)
   Accent: #E8DAEF (Light Pastel Purple)
   Background: #FDFEFE (Off-white)
   Text: #2C3E50 (Dark Slate)
   Footer BG: #4A235A (Deep Purple)
*/

:root {
    --v5-primary: #9B59B6;
    --v5-secondary: #8E44AD;
    --v5-accent: #E8DAEF;
    --v5-bg: #FDFEFE;
    --v5-text: #2C3E50;
    --v5-text-light: #5D6D7E;
    --v5-footer-bg: #4A235A;
    --v5-footer-text: #F4ECF7;
    --v5-white: #FFFFFF;
    --v5-radius: 12px;
    --v5-shadow: 0 10px 30px rgba(142, 68, 173, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--v5-bg);
    color: var(--v5-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--v5-secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--v5-text-light);
}

.v5-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.v5-text-center {
    text-align: center;
}

/* Buttons */
.v5-btn-primary, .v5-btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.v5-btn-primary {
    background-color: var(--v5-primary);
    color: var(--v5-white);
}

.v5-btn-primary:hover {
    background-color: var(--v5-secondary);
    transform: translateY(-2px);
}

.v5-btn-secondary {
    background-color: var(--v5-accent);
    color: var(--v5-secondary);
}

.v5-btn-secondary:hover {
    background-color: var(--v5-primary);
    color: var(--v5-white);
}

.v5-btn-full {
    width: 100%;
}

/* =========================================
   HEADER & BURGER MENU (STRICT TEMPLATE)
   ========================================= */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--v5-white);
    box-shadow: 0 2px 10px 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(--v5-secondary);
    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(--v5-secondary);
    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 .nav-list a {
    font-weight: 500;
    color: var(--v5-text);
}

.desktop-nav .nav-list a:hover {
    color: var(--v5-primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--v5-white);
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--v5-accent);
}

.mobile-nav a {
    color: var(--v5-text);
    font-weight: 500;
    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);
    }
}

/* =========================================
   INDEX.HTML - UNIQUE V5 LAYOUTS
   ========================================= */
/* Vertical Hero */
.v5-hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
}

.v5-hero-image-wrapper {
    width: 100%;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
}

.v5-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v5-hero-content-box {
    background-color: var(--v5-white);
    max-width: 800px;
    margin: -100px 20px 0;
    padding: 50px;
    border-radius: var(--v5-radius);
    box-shadow: var(--v5-shadow);
    position: relative;
    z-index: 10;
    text-align: center;
}

.v5-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

/* Horizontal Scroll Benefits */
.v5-horizontal-benefits {
    padding: 80px 0;
    background-color: var(--v5-accent);
}

.v5-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.v5-section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.v5-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--v5-primary) var(--v5-white);
}

.v5-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}
.v5-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--v5-white);
    border-radius: 10px;
}
.v5-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--v5-primary);
    border-radius: 10px;
}

.v5-scroll-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 10px;
}

.v5-scroll-card {
    background: var(--v5-white);
    width: 300px;
    padding: 30px;
    border-radius: var(--v5-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.v5-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Diagonal Split */
.v5-diagonal-split {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--v5-white);
    overflow: hidden;
}

.v5-diagonal-content {
    flex: 1;
    min-width: 300px;
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.v5-diagonal-image {
    flex: 1;
    min-width: 300px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.v5-diagonal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.v5-feature-list {
    list-style: none;
    margin-top: 20px;
}

.v5-feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--v5-text);
    font-weight: 500;
}

.v5-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--v5-primary);
    font-weight: bold;
}

/* Masonry Stats */
.v5-masonry-stats {
    padding: 80px 0;
    background-color: var(--v5-bg);
}

.v5-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.v5-masonry-item {
    background: var(--v5-white);
    padding: 40px 30px;
    border-radius: var(--v5-radius);
    box-shadow: var(--v5-shadow);
    text-align: center;
}

.v5-stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--v5-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.v5-stat-label {
    font-size: 1.2rem;
    color: var(--v5-text);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .v5-masonry-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }
    .v5-item-tall {
        grid-row: span 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .v5-item-wide {
        grid-column: span 2;
    }
}

/* Quotes */
.v5-quote-section {
    padding: 80px 0;
    background-color: var(--v5-secondary);
    color: var(--v5-white);
}

.v5-quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.v5-quote-text {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-style: italic;
    margin-bottom: 30px;
    color: var(--v5-white);
}

.v5-quote-author {
    font-weight: bold;
    color: var(--v5-accent);
}

/* =========================================
   PROGRAM.HTML - TABS LAYOUT
   ========================================= */
.v5-page-header {
    background-color: var(--v5-accent);
    padding: 80px 0 60px;
    text-align: center;
}

.v5-page-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.v5-tabs-section {
    padding: 60px 0;
}

.v5-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.v5-tab-btn {
    background-color: var(--v5-white);
    border: 2px solid var(--v5-accent);
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--v5-text);
    transition: all 0.3s ease;
}

.v5-tab-btn:hover, .v5-tab-btn.active {
    background-color: var(--v5-primary);
    border-color: var(--v5-primary);
    color: var(--v5-white);
}

.v5-tab-content {
    display: none;
    animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

.v5-tab-split {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: var(--v5-white);
    padding: 40px;
    border-radius: var(--v5-radius);
    box-shadow: var(--v5-shadow);
}

.v5-tab-text {
    flex: 1;
    min-width: 300px;
}

.v5-tab-img {
    flex: 1;
    min-width: 300px;
}

.v5-tab-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--v5-radius);
}

/* Grid FAQ */
.v5-grid-faq {
    padding: 60px 0;
    background-color: var(--v5-bg);
}

.v5-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .v5-faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.v5-faq-card {
    background: var(--v5-white);
    padding: 30px;
    border-radius: var(--v5-radius);
    border-left: 4px solid var(--v5-primary);
}

.v5-faq-q {
    color: var(--v5-text);
    margin-bottom: 10px;
}

.v5-cta-sidebar-style {
    padding: 60px 0;
}

.v5-cta-box {
    background-color: var(--v5-secondary);
    color: var(--v5-white);
    padding: 60px;
    border-radius: var(--v5-radius);
    text-align: center;
}

.v5-cta-box h2 {
    color: var(--v5-white);
}

.v5-cta-box p {
    color: var(--v5-accent);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* =========================================
   MISSION.HTML - VERTICAL STORYTELLING
   ========================================= */
.v5-storytelling-section {
    padding: 60px 0;
}

.v5-story-block {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.v5-story-block.v5-reverse {
    flex-direction: row-reverse;
}

.v5-story-content {
    flex: 1;
    min-width: 300px;
}

.v5-story-year {
    display: inline-block;
    background-color: var(--v5-accent);
    color: var(--v5-secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.v5-story-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.v5-story-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--v5-primary);
    border-radius: var(--v5-radius);
    z-index: -1;
}

.v5-story-block.v5-reverse .v5-story-image::before {
    left: 15px;
    right: -15px;
}

.v5-story-image img {
    border-radius: var(--v5-radius);
    box-shadow: var(--v5-shadow);
}

.v5-img-filtered img {
    filter: sepia(0.3) hue-rotate(250deg);
}

.v5-values-section {
    padding: 60px 0;
    background-color: var(--v5-white);
}

.v5-values-list {
    list-style: none;
    max-width: 800px;
    margin: 40px auto 0;
}

.v5-values-list li {
    background: var(--v5-bg);
    margin-bottom: 15px;
    padding: 20px 30px;
    border-radius: var(--v5-radius);
    border-left: 5px solid var(--v5-primary);
}

.v5-values-list strong {
    color: var(--v5-secondary);
    display: block;
    margin-bottom: 5px;
}

.v5-manifesto-section {
    padding: 80px 0;
}

.v5-manifesto-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background-color: var(--v5-accent);
    border-radius: var(--v5-radius);
}

.v5-manifesto-box p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--v5-text);
}

/* =========================================
   CONTACT.HTML - SIDEBAR LAYOUT
   ========================================= */
.v5-contact-layout {
    padding: 60px 0;
}

.v5-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .v5-contact-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.v5-sidebar-widget {
    background: var(--v5-white);
    padding: 30px;
    border-radius: var(--v5-radius);
    box-shadow: var(--v5-shadow);
    margin-bottom: 30px;
}

.v5-contact-details, .v5-hours-list {
    list-style: none;
    margin-top: 20px;
}

.v5-contact-details li, .v5-hours-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--v5-accent);
}

.v5-contact-details li:last-child, .v5-hours-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.v5-form-wrapper {
    background: var(--v5-white);
    padding: 40px;
    border-radius: var(--v5-radius);
    box-shadow: var(--v5-shadow);
    margin-bottom: 40px;
}

.v5-form-group {
    margin-bottom: 20px;
}

.v5-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--v5-text);
}

.v5-form-group input, .v5-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.v5-form-group input:focus, .v5-form-group textarea:focus {
    outline: none;
    border-color: var(--v5-primary);
}

.v5-contact-faq {
    background: var(--v5-accent);
    padding: 40px;
    border-radius: var(--v5-radius);
}

.v5-simple-faq strong {
    display: block;
    margin-top: 20px;
    color: var(--v5-secondary);
}

/* =========================================
   LEGAL & THANK YOU PAGES
   ========================================= */
.v5-legal-section {
    padding: 60px 0;
}

.v5-legal-content {
    background: var(--v5-white);
    padding: 40px;
    border-radius: var(--v5-radius);
    box-shadow: var(--v5-shadow);
}

.v5-legal-content h3 {
    margin-top: 30px;
}

.v5-legal-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.v5-thank-section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.v5-thank-box {
    background: var(--v5-white);
    padding: 60px 40px;
    border-radius: var(--v5-radius);
    box-shadow: var(--v5-shadow);
    max-width: 600px;
    margin: 0 auto;
}

.v5-thank-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.v5-next-steps {
    background: var(--v5-bg);
    padding: 30px;
    border-radius: 8px;
}

.v5-thank-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* =========================================
   FOOTER (STRICT TEMPLATE)
   ========================================= */
.site-footer {
    background-color: #4A235A !important;
    color: #F4ECF7 !important;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-title {
    color: #FFFFFF !important;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-desc {
    color: #F4ECF7 !important;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
    color: #F4ECF7 !important;
}

.footer-links a, .footer-contact a {
    color: #F4ECF7 !important;
    text-decoration: none;
}

.footer-links a:hover, .footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #F4ECF7 !important;
}

/* =========================================
   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: var(--v5-text);
    color: var(--v5-white);
    transform: translateY(0); 
    transition: transform 0.4s ease;
}

#cookie-banner.hidden { 
    transform: translateY(110%); 
}

#cookie-banner p { 
    margin: 0; 
    flex: 1; 
    min-width: 200px; 
    color: var(--v5-white);
}

#cookie-banner a {
    color: var(--v5-accent);
    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(--v5-primary);
    color: var(--v5-white);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--v5-white);
    border: 1px solid var(--v5-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; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .v5-hero-content-box {
        margin: -50px 15px 0;
        padding: 30px 20px;
    }
    .v5-diagonal-content {
        padding: 40px 20px;
    }
    .v5-diagonal-image {
        clip-path: none;
    }
    .v5-diagonal-image img {
        min-height: 300px;
    }
    .v5-tab-split {
        padding: 20px;
    }
}