/* Color Palette: Amethyst Twilight */
:root {
    --primary-color: #6A5ACD; /* SlateBlue */
    --secondary-color: #483D8B; /* DarkSlateBlue */
    --accent-color: #E6E6FA; /* Lavender */
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --bg-color: #FDFBFF;
    --footer-bg-color: #2c2c2c;
    --footer-text-color: #cccccc;
    --border-color: #dddddd;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
}

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;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-color);
    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;
    z-index: 100;
    color: var(--secondary-color);
}

.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(--secondary-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;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on header height */
    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(--bg-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    display: block;
    width: 100%;
    font-weight: 600;
}

@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);
    }
}

/* Hero Section (Diagonal) */
.hero-section-diagonal {
    display: flex;
    min-height: 80vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--accent-color);
}
.hero-content-diagonal {
    width: 55%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--accent-color);
}
.hero-image-diagonal {
    width: 45%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}
@media (max-width: 900px) {
    .hero-section-diagonal {
        flex-direction: column;
        min-height: auto;
    }
    .hero-content-diagonal, .hero-image-diagonal {
        width: 100%;
        clip-path: none;
    }
    .hero-image-diagonal {
        min-height: 300px;
    }
}

/* Pillars Section */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.pillar-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    border-left: 5px solid var(--primary-color);
}
.pillar-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}
@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Split Section */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image img {
    border-radius: 8px;
}
@media (min-width: 768px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
    .split-container.reverse {
        grid-template-columns: 1fr 1fr;
    }
    .split-container.reverse .split-image {
        order: 2;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.testimonial-card {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}
.testimonial-author {
    margin-top: 15px;
    font-weight: bold;
    color: var(--secondary-color);
}
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CTA Section */
.section-cta {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}
.section-cta h2 {
    color: var(--light-text-color);
}
.cta-container {
    text-align: center;
}
.cta-container .btn-primary {
    background-color: var(--light-text-color);
    color: var(--secondary-color);
    border-color: var(--light-text-color);
}
.cta-container .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Page Header */
.page-header-section {
    padding: 60px 0;
    background-color: var(--accent-color);
    text-align: center;
    position: relative;
}
.page-header-section .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(44, 44, 44, 0.6);
    z-index: 1;
}
.page-header-section .container {
    position: relative;
    z-index: 2;
}
.page-header-section h1, .page-header-section p {
    color: var(--secondary-color);
}
.page-header-section[style*="img/bg.jpg"] h1, .page-header-section[style*="img/bg.jpg"] p {
    color: var(--light-text-color);
}

/* Accordion (Program Page) */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    padding: 18px 20px;
    background-color: #fff;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
}
.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
    padding: 0 20px;
}
.accordion-content p {
    padding: 20px 0;
}
.accordion-image {
    margin: 10px 0;
    border-radius: 5px;
}

/* Timeline (Mission Page) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--accent-color);
    position: relative;
    border-radius: 6px;
}
@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after, .timeline-item:nth-child(even)::after {
        left: 21px;
    }
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.value-card {
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
@media (min-width: 576px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Contact Page */
.contact-info-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    background-color: var(--accent-color);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
}
@media (min-width: 768px) {
    .contact-info-block {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .contact-info-block {
        grid-template-columns: repeat(4, 1fr);
    }
}
.contact-form {
    max-width: 800px;
    margin: 30px auto 0;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.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(--primary-color);
    box-shadow: 0 0 5px var(--accent-color);
}

/* Legal & Thank You Pages */
.section-legal .container, .section-thank-you .container {
    max-width: 800px;
}
.section-legal h2 {
    margin-top: 30px;
}
.quick-links {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color) !important;
    padding: 60px 0 20px 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-heading {
    color: var(--light-text-color) !important;
    margin-bottom: 15px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a, .footer-column a {
    color: var(--footer-text-color) !important;
}
.footer-links a:hover, .footer-column a:hover {
    color: var(--light-text-color) !important;
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
}
@media (min-width: 576px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    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; 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: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--light-text-color);
    color: var(--secondary-color);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--light-text-color);
    border: 1px solid 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; }
}