/* 
Palette Name: Terracotta & Deep Plum (Soft Organic Theme)
Primary Accent: #D35400 (Terracotta)
Secondary Accent: #5B2C6F (Deep Plum)
Background Dark: #2C1E17 (Dark Espresso)
Background Light: #FDF2E9 (Cream Peach)
Text Light: #FDF2E9
Text Dark: #2C1E17
*/

:root {
    --primary-color: #D35400;
    --primary-hover: #E67E22;
    --secondary-color: #5B2C6F;
    --bg-dark: #2C1E17;
    --bg-light: #FDF2E9;
    --bg-card-light: #FFFFFF;
    --bg-card-dark: #3D2D24;
    --text-dark: #2C1E17;
    --text-light: #FDF2E9;
    --text-muted: #7F8C8D;
    --border-radius-card: 24px;
    --border-radius-btn: 8px;
    --shadow-dramatic: 0 24px 64px rgba(0, 0, 0, 0.22);
    --shadow-hover: 0 32px 80px rgba(0, 0, 0, 0.30);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    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(--primary-hover);
    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(--text-light);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

.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:hover {
    color: var(--primary-hover);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--bg-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
}

.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);
}

/* Sections */
.section {
    padding: 48px 16px;
}

.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
    color: inherit;
}

.section-desc {
    font-size: 16px;
    opacity: 0.85;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Index (fullscreen-center) */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.hero-content {
    max-width: 800px;
}

.badge-accent {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 36px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

/* Hero Inner Pages */
.hero-inner {
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.text-center-hero {
    text-align: center;
    max-width: 800px;
}

.text-center-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 16px;
}

/* Benefits Timeline */
.benefits-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.benefits-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: var(--shadow-dramatic);
}

.timeline-content {
    background-color: var(--bg-card-light);
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.timeline-content p {
    margin-bottom: 12px;
}

/* Stats Bar */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.stat-card {
    background-color: var(--bg-card-dark);
    padding: 32px;
    border-radius: var(--border-radius-card);
    text-align: center;
    box-shadow: var(--shadow-dramatic);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-hover);
    display: block;
    margin-bottom: 12px;
}

/* Comparison Table */
.table-responsive {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 900px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card-light);
    min-width: 600px;
}

.comparison-table th, .comparison-table td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

/* Testimonials */
.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--bg-card-dark);
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

.testimonial-rating {
    color: var(--primary-hover);
    margin-bottom: 16px;
    font-size: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Expert Block */
.expert-block {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-card-light);
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.expert-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.expert-info {
    padding: 16px;
}

.expert-badge {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    margin-bottom: 16px;
}

.expert-quote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    color: var(--secondary-color);
}

.expert-name {
    font-size: 20px;
    font-weight: bold;
}

/* Numbered Sections (Program.html) */
.numbered-sections-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.numbered-section-item {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-card-light);
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    overflow: hidden;
}

.number-badge {
    background-color: var(--secondary-color);
    color: var(--text-light);
    font-size: 48px;
    font-weight: bold;
    padding: 24px;
    text-align: center;
}

.numbered-content {
    padding: 32px;
}

.numbered-content h3 {
    margin-bottom: 16px;
    color: var(--primary-color);
}

.numbered-content p {
    margin-bottom: 16px;
}

/* Timeline Dates (Mission.html) */
.timeline-dates-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-date-block {
    background-color: var(--bg-card-light);
    border-radius: var(--border-radius-card);
    padding: 32px;
    box-shadow: var(--shadow-dramatic);
}

.date-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.year-badge {
    background-color: var(--primary-color);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: bold;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-card {
    background-color: var(--bg-card-dark);
    padding: 32px;
    border-radius: var(--border-radius-card);
    text-align: center;
    box-shadow: var(--shadow-dramatic);
}

.value-icon {
    font-size: 40px;
    color: var(--primary-hover);
    margin-bottom: 16px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card, .hours-card {
    background-color: var(--bg-card-light);
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.info-icon {
    font-size: 24px;
    color: var(--primary-color);
}

/* Custom Form */
.contact-form-panel {
    background-color: var(--bg-card-light);
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

.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(0, 0, 0, 0.15);
    border-radius: 8px;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* FAQ List */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card-light);
    padding: 24px;
    border-radius: var(--border-radius-card);
    margin-bottom: 16px;
    box-shadow: var(--shadow-dramatic);
}

.faq-item h4 {
    color: var(--secondary-color);
    margin-bottom: 12px;
}

/* Legal & Terms */
.disclaimer-highlight {
    background-color: #FADBD8;
    border-left: 4px solid var(--primary-color);
    padding: 16px;
    margin: 24px 0;
    border-radius: 4px;
}

.meta-date {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Thank you Card */
.thank-card {
    background-color: var(--bg-card-light);
    padding: 48px 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thank-icon {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.next-steps {
    margin: 32px 0;
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-card);
}

.thank-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

/* Footer Layout - Static Colors for Protection */
.site-footer {
    background-color: #2C1E17 !important;
    color: #FDF2E9 !important;
    padding: 48px 16px 24px 16px;
    margin-top: 48px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-brand .footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: #E67E22 !important;
    display: block;
    margin-bottom: 16px;
}

.footer-about-text {
    opacity: 0.8;
}

.footer-grid h3 {
    color: #E67E22 !important;
    margin-bottom: 16px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 12px;
}

.footer-links a:hover, .footer-legal a:hover {
    color: #E67E22 !important;
}

.footer-email-link {
    color: #E67E22 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 242, 233, 0.1);
    padding-top: 24px;
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateY(0);
    transition: transform 0.4s ease;
    box-shadow: var(--shadow-dramatic);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

#cookie-banner a {
    color: var(--primary-hover);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
}

/* Mobile-First Media Queries (min-width) */

@media (min-width: 600px) {
    .hero-actions {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expert-block {
        flex-direction: row;
    }

    .expert-image {
        flex: 1;
    }

    .expert-info {
        flex: 1.5;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .numbered-section-item {
        flex-direction: row;
    }

    .number-badge {
        flex: 0 0 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .thank-links {
        flex-direction: row;
        justify-content: center;
    }
}

@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);
    }

    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-btns {
        width: 100%;
    }

    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}