/*
  Theme: Soft Organic
  Palette: Terracotta Sunset
  Primary: #E67E22 (Warm Orange)
  Secondary: #D35400 (Terracotta)
  Background: #FEF9E7 (Cream)
  Text: #4A2323 (Warm Brown)
  Accent: #FAD7A0 (Light Peach)
*/

:root {
    --primary-color: #E67E22;
    --secondary-color: #D35400;
    --background-color: #FEF9E7;
    --light-background-color: #FFFFFF;
    --text-color: #4A2323;
    --text-light-color: #6E4545;
    --accent-color: #FAD7A0;
    --border-color: #F5CBA7;
    --white-color: #FFFFFF;
    --shadow-color: rgba(0, 0, 0, 0.07);
    --pill-radius: 50px;
    --card-radius: 28px;
}

/* --- Global Styles & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
h4 { font-size: clamp(1.1rem, 3vw, 1.25rem); }

p {
    margin-bottom: 16px;
    color: var(--text-light-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style-position: inside;
    padding-left: 10px;
}

li {
    margin-bottom: 8px;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.section-light {
    background-color: var(--light-background-color);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-color);
    box-shadow: 0 2px 12px var(--shadow-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 14px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--secondary-color);
    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-color);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.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: 700;
    font-size: 17px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
    background-color: var(--light-background-color);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    font-size: 18px;
    font-weight: 700;
    display: block;
    width: 100%;
}

@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); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--pill-radius);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    min-height: 48px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

.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(--white-color);
    transform: translateY(-3px);
}


/* --- Hero Section (Bold Text Only) --- */
.hero-bold-text {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-color), var(--background-color));
}

.hero-bold-text h1 {
    color: var(--secondary-color);
    font-size: clamp(3rem, 8vw, 6rem);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 750px;
    margin: 24px auto 40px auto;
}

/* --- Benefits Asymmetrical Grid --- */
.benefits-asymm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefit-card {
    background-color: var(--light-background-color);
    padding: 32px;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 12px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-image-featured {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--card-radius);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .benefits-asymm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-card {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .benefits-asymm-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .featured-card {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    .benefit-card:nth-child(2) {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }
    .benefit-card:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }
}

/* --- Numbered Steps Section --- */
.numbered-steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.step-card {
    position: relative;
    padding-left: 60px;
}
.step-number {
    position: absolute;
    left: -17px;
    top: -10px;
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
}
.step-card h3 {
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .numbered-steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .numbered-steps-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Comparison Table Section --- */
.comparison-table-wrapper {
    overflow-x: auto;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--light-background-color);
    border-radius: var(--card-radius);
    box-shadow: 0 2px 12px var(--shadow-color);
    overflow: hidden;
}
.comparison-table th, .comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.comparison-table thead {
    background-color: var(--accent-color);
}
.comparison-table th {
    color: var(--secondary-color);
    font-weight: 700;
}
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.comparison-table tbody tr:nth-child(even) {
    background-color: rgba(250, 215, 160, 0.1);
}

/* --- Quote Highlight Section --- */
.quote-highlight-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 80px 0;
}
.quote-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.quote-symbol {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    z-index: 0;
}
.quote-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--white-color);
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}
.quote-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
    z-index: 1;
}

/* --- Stats Bar Section --- */
.stats-bar {
    background-color: var(--accent-color);
    padding: 40px 0;
}
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0;
}
.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0;
}

/* --- Horizontal Tabs (Program Page) --- */
.tabs {
    background-color: var(--light-background-color);
    padding: 32px;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 12px var(--shadow-color);
}
input[name="tabs"] { display: none; }
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 24px;
}
.tabs-nav label {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    width: 50%;
    text-align: center;
}
.tab-panel { display: none; }
#t1:checked ~ .tabs-nav label[for="t1"],
#t2:checked ~ .tabs-nav label[for="t2"],
#t3:checked ~ .tabs-nav label[for="t3"],
#t4:checked ~ .tabs-nav label[for="t4"] {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
#t1:checked ~ .tab-panels #p1,
#t2:checked ~ .tab-panels #p2,
#t3:checked ~ .tab-panels #p3,
#t4:checked ~ .tab-panels #p4 {
    display: block;
}
.content-image {
    width: 100%;
    max-width: 600px;
    margin: 24px auto;
    display: block;
    border-radius: var(--card-radius);
}

/* --- 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;
    border-radius: 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: var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    border: 4px solid var(--light-background-color);
}
.timeline-item:nth-child(even)::after { left: -10px; }
.timeline-content {
    padding: 24px;
    background-color: var(--light-background-color);
    border-radius: var(--card-radius);
    box-shadow: 0 2px 12px var(--shadow-color);
}
.timeline-date {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}
@media (max-width: 768px) {
    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 15px; }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 10px; }
    .timeline-item:nth-child(even)::after { left: 9px; }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
    }
}
.contact-form-container, .contact-info-container {
    background-color: var(--light-background-color);
    padding: 40px;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 12px var(--shadow-color);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--pill-radius);
    background-color: var(--background-color);
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-details .contact-item { margin-bottom: 24px; }

/* --- Footer --- */
.site-footer {
    background-color: var(--text-color) !important;
    color: var(--white-color) !important;
    padding: 60px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.site-footer .logo, .site-footer h4 { color: var(--white-color) !important; }
.site-footer p, .site-footer a { color: #e0e0e0 !important; }
.site-footer a:hover { color: var(--primary-color) !important; }
.footer-column ul { list-style: none; padding: 0; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 600px) {
    .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;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--text-color);
    color: var(--white-color);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; color: var(--white-color); }
#cookie-banner a { color: var(--accent-color); font-weight: 700; }
.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: var(--pill-radius);
    cursor: pointer;
    font-weight: 700;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--white-color); }
.cookie-btn-decline { background-color: transparent; color: var(--white-color); border: 1px solid var(--white-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; }
}

/* --- Other Pages --- */
.page-hero { padding-bottom: 0; }
.legal-content h1, .legal-content h2 { margin-top: 32px; margin-bottom: 12px; }
.legal-content p, .legal-content li { max-width: 800px; }
.thank-you-section { min-height: 60vh; display: flex; align-items: center; }
.next-steps { margin-top: 60px; }
.next-steps-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

.content-image-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .content-image-split {
        grid-template-columns: 1fr 1fr;
    }
}

.split-image img {
    width: 100%;
    height: auto;
    border-radius: var(--card-radius);
    box-shadow: 0 2px 12px var(--shadow-color);
}