/* Palette Name: burgundy-sand */
/* Colors: #6B0F1A (Primary), #7D1220 (Secondary/Dark Overlay), #A06830 (Accent), #FDF5F5 (Tint) */

:root {
    --color-primary: #6B0F1A;
    --color-secondary: #7D1220;
    --color-accent: #A06830;
    --bg-tint: #FDF5F5;
    --text-dark: #2d1a1c;
    --text-light: #FDF5F5;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-tint);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 80px 24px;
    }
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(24px, 4vw, 36px); margin-bottom: 24px; }
h3 { font-size: clamp(20px, 3vw, 24px); }

p {
    margin-bottom: 16px;
    font-size: clamp(15px, 2vw, 17px);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-radius: 8px; /* Rounded Style */
    transition: all 0.3s ease;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--text-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--color-primary);
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.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(--text-light) !important;
    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;
    margin: 5px 0;
    background-color: var(--text-light);
    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 {
    color: var(--text-light);
    font-weight: 500;
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
}

.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(--color-secondary);
}

.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);
}

.mobile-nav a {
    color: var(--text-light);
    display: block;
    font-size: 18px;
}

@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 Split */
.hero-diagonal-split {
    display: flex;
    flex-direction: column;
    background-color: var(--color-secondary);
    color: var(--text-light);
    overflow: hidden;
}

.hero-text-col {
    padding: 40px 16px;
}

.hero-text-col h1 {
    color: var(--text-light);
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.hero-img-col {
    position: relative;
    height: 300px;
}

.hero-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hero-diagonal-split {
        flex-direction: row;
        min-height: 75vh;
    }

    .hero-text-col {
        width: 45%;
        padding: 80px 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-img-col {
        width: 55%;
        height: auto;
        clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-img-col img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

/* Benefits Section: 5 Asymmetric */
.section-header {
    max-width: 700px;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefit-card {
    background-color: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(107, 15, 26, 0.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07); /* Subtle Shadow */
    position: relative;
}

.benefit-num {
    font-size: 36px;
    font-weight: bold;
    color: var(--color-accent);
    opacity: 0.3;
    display: block;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .benefit-card-large-1 { grid-column: span 3; }
    .benefit-card-large-2 { grid-column: span 3; }
    .benefit-card-small-1 { grid-column: span 2; }
    .benefit-card-small-2 { grid-column: span 2; }
    .benefit-card-small-3 { grid-column: span 2; }
}

/* Split Info Section */
.split-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image-block img {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

@media (min-width: 768px) {
    .split-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* Checklist Section */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.checklist-item {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.checkmark {
    color: var(--color-accent);
    font-size: 24px;
    font-weight: bold;
}

@media (min-width: 768px) {
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Testimonials Section */
.testimonials-vertical {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.testimonial-rating {
    color: var(--color-accent);
    margin-bottom: 16px;
    font-size: 18px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Quote Highlight */
.quote-highlight-section {
    background-color: var(--color-primary);
    color: var(--text-light);
    text-align: center;
}

.quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 16px;
}

.quote-icon {
    font-size: 72px;
    font-family: serif;
    line-height: 1;
    display: block;
    color: var(--color-accent);
}

blockquote {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
    margin-bottom: 16px;
}

/* FAQ Details/Summary */

.faq-item {
    background-color: #fff;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-primary);
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 20px;
    border-top: 1px solid rgba(107, 15, 26, 0.05);
}

/* Page Hero (for subpages) */
.page-hero {
    background-color: var(--color-secondary);
    color: var(--text-light);
}

.page-hero h1 {
    color: var(--text-light);
}

/* Program Intro */
.intro-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.intro-image img {
    border-radius: 12px;
}

@media (min-width: 768px) {
    .intro-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* Timeline 4 Modules (program.html) */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-marker {
    position: absolute;
    left: -25px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: 2px solid var(--bg-tint);
}

.timeline-content {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.module-tag {
    color: var(--color-accent);
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
}

.stat-card {
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.stat-num {
    font-size: 48px;
    font-weight: bold;
    color: var(--color-primary);
    display: block;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Timeline Dates (mission.html) */
.timeline-dates {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.date-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.date-year {
    font-size: 36px;
    font-weight: bold;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .date-item {
        flex-direction: row;
        align-items: flex-start;
    }
    .date-year {
        min-width: 120px;
    }
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-card {
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Layout (Form Left 60%, Contacts Right 40%) */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.custom-form {
    max-width: 800px;
}

.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 rgba(107, 15, 26, 0.2);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.contact-details-wrapper {
    padding: 24px;
}

.contact-info-block {
    margin-bottom: 24px;
}

.contact-note {
    background-color: rgba(160, 104, 48, 0.1);
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
    }
}

/* Policy Pages */
.policy-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 16px;
}

.last-updated {
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 32px;
}

.policy-section h2 {
    margin-top: 32px;
}

/* Thank You Section */
.thank-you-section {
    padding: 80px 16px;
}

.thank-card {
    background: #fff;
    max-width: 600px;
    margin: 0 auto;
    padding: 48px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.thank-icon {
    font-size: 64px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 24px;
}

.next-steps {
    text-align: left;
    margin: 32px 0;
    background-color: var(--bg-tint);
    padding: 24px;
    border-radius: 8px;
}

.next-steps ul {
    list-style: none;
    margin-top: 16px;
}

.next-steps li {
    margin-bottom: 12px;
}

/* Footer layout */
.site-footer {
    padding: 48px 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    display: block;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    transition: padding-left 0.3s;
}

.footer-links a:hover {
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 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-secondary);
    color: var(--text-light);
    border-top: 2px solid var(--color-accent);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

#cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--text-light);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

@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;
    }
}