/* Palette: Royal Purple, Warm Gold, Light Gray, Dark Charcoal */
:root {
    --purple: #4A235A;
    --purple-light: #6C3483;
    --gold: #D4AC0D;
    --gold-light: #F4D03F;
    --gray-bg: #F2F3F4;
    --text-dark: #2C3E50;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; margin-bottom: 20px; color: var(--purple); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 20px; color: var(--purple); }
h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--purple-light); }
p { margin-bottom: 15px; font-size: 1.05rem; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--purple);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
}

.btn-secondary:hover {
    background-color: var(--purple);
    color: var(--white);
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--purple);
    color: var(--white);
}

.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(--gold);
}

.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(--white);
    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 {
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--gold);
}

.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(--purple-light);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@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); }
}

/* V2 Unique: Diagonal Hero */
.hero-diagonal {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background-color: var(--gray-bg);
    position: relative;
    overflow: hidden;
}

.hero-content-wrapper {
    padding: 60px 20px;
    z-index: 2;
}

.hero-text-area {
    max-width: 600px;
}

.hero-subtitle {
    display: block;
    color: var(--gold);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-image-area {
    width: 100%;
    height: 400px;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-diagonal {
        flex-direction: row;
        align-items: center;
    }
    .hero-content-wrapper {
        width: 50%;
        padding-left: 5%;
    }
    .hero-image-area {
        position: absolute;
        right: 0;
        top: 0;
        width: 60%;
        height: 100%;
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* V2 Unique: 2x2 Grid */
.info-grid-section {
    padding: 80px 0;
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.grid-card {
    background: var(--gray-bg);
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid var(--gold);
    transition: transform 0.3s;
}

.grid-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--purple-light);
    opacity: 0.3;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .grid-2x2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Overlap Section */
.overlap-section {
    padding: 80px 0;
    background-color: var(--purple);
    color: var(--white);
}

.overlap-section h2 {
    color: var(--gold);
}

.overlap-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.overlap-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.overlap-content .btn-secondary {
    color: var(--gold);
    border-color: var(--gold);
    margin-top: 20px;
}

.overlap-content .btn-secondary:hover {
    background-color: var(--gold);
    color: var(--purple);
}

@media (min-width: 992px) {
    .overlap-container {
        flex-direction: row;
        align-items: center;
    }
    .overlap-image {
        width: 50%;
        margin-right: -50px;
        z-index: 2;
    }
    .overlap-content {
        width: 55%;
        background: rgba(108, 52, 131, 0.9);
        padding: 50px;
        border-radius: 8px;
        z-index: 3;
    }
}

/* V2 Unique: Accordion */
.accordion-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.custom-accordion {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.custom-accordion summary {
    padding: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--purple);
    list-style: none;
    position: relative;
}

.custom-accordion summary::-webkit-details-marker {
    display: none;
}

.custom-accordion summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--gold);
}

.custom-accordion[open] summary::after {
    content: '-';
}

.accordion-content {
    padding: 0 20px 20px;
}

/* V2 Unique: Masonry Testimonials */
.masonry-section {
    padding: 80px 0;
}

.masonry-grid {
    column-count: 1;
    column-gap: 30px;
}

.masonry-item {
    break-inside: avoid;
    background: var(--gray-bg);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    position: relative;
}

.quote-mark {
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 15px;
    color: var(--purple);
}

@media (min-width: 768px) {
    .masonry-grid { column-count: 2; }
}
@media (min-width: 992px) {
    .masonry-grid { column-count: 3; }
}

/* Page Headers */
.page-header {
    background-color: var(--purple-light);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--gold);
    margin-bottom: 10px;
}

/* Program Page */
.modules-section {
    padding: 80px 0;
}

.modules-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.content-inline-img {
    border-radius: 8px;
    margin: 30px auto;
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.large-accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.module-accordion {
    background: var(--gray-bg);
    margin-bottom: 20px;
    border-left: 5px solid var(--purple);
}

.module-accordion summary {
    padding: 25px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--purple);
    list-style: none;
}

.module-content {
    padding: 0 25px 25px;
}

.stats-section {
    background-color: var(--purple);
    padding: 60px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.cta-center-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--gray-bg);
}

/* Mission Page - Timeline */
.timeline-section {
    padding: 80px 0;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    border-left: 3px solid var(--gold);
    padding-left: 30px;
    position: relative;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -41px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--purple);
    border: 4px solid var(--gold);
    border-radius: 50%;
}

.timeline-date {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--purple);
    margin-bottom: 10px;
}

.values-split-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.values-split-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.values-list {
    list-style: none;
    margin-top: 20px;
}

.values-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

@media (min-width: 992px) {
    .values-split-container {
        flex-direction: row;
        align-items: center;
    }
    .values-text, .values-image {
        width: 50%;
    }
}

/* Contact Page */
.contact-info-top {
    padding: 60px 0 30px;
}

.contact-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-card {
    background: var(--gray-bg);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .contact-cards-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-form-bottom {
    padding: 30px 0 80px;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 5px solid var(--purple);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--purple);
}

.custom-form input, .custom-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
}

/* Legal Pages */
.legal-section {
    padding: 60px 0;
}

.legal-container {
    max-width: 800px;
}

.legal-container h2 {
    margin-top: 30px;
    font-size: 1.5rem;
}

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.text-center {
    text-align: center;
}

.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--gray-bg);
    padding: 50px;
    border-radius: 8px;
}

.next-steps {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.thank-you-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background-color: #2C3E50 !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-title {
    color: #D4AC0D !important;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-desc, .footer-contact {
    color: #F2F3F4 !important;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    color: #F2F3F4 !important;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #D4AC0D !important;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #F2F3F4 !important;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* 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(--text-dark);
    color: var(--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;
    font-size: 0.9rem;
}

#cookie-banner a {
    color: var(--gold);
    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(--gold);
    color: var(--purple);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid 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;
    }
}