/*
  Theme: Soft Organic
  Palette: Warm Earth (#935116, #F1A9B8, #F0A55A, #1D2A3C)
*/

:root {
    --primary-color: #F0A55A;  /* Amber/Orange */
    --secondary-color: #F1A9B8; /* Soft Pink */
    --accent-color: #935116;   /* Brown/Terracotta */
    --dark-bg: #1D2A3C;       /* Dark Blue/Charcoal */
    --light-bg: #FDFBF8;
    --light-text: #F5F5F5;
    --dark-text: #2c3e50;
    --border-color: rgba(240, 165, 90, 0.2);
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

h1, h2, h3 {
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.cta-section-alt {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-bg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: rgba(29, 42, 60, 0.8);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.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: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--light-text);
}

.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(--light-text);
    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;
}

.desktop-nav a {
    color: var(--light-text);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* 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(--dark-bg);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 16px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav a {
    color: var(--light-text);
    font-size: 1.2rem;
}

@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 (Floating Card) --- */
.hero-section-floating-card {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(29, 42, 60, 0.7) 0%, rgba(29, 42, 60, 0.9) 100%);
}

.hero-floating-content {
    background-color: rgba(29, 42, 60, 0.85);
    backdrop-filter: blur(10px);
    padding: clamp(30px, 5vw, 60px);
    border-radius: 24px;
    max-width: 750px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.hero-title {
    color: var(--light-text);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
}

/* --- Asymmetric Benefits Grid --- */
.benefits-section-asymmetric {
    background: linear-gradient(160deg, var(--dark-bg) 0%, #2c3e50 100%);
}
.benefits-grid-asymmetric {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
.benefit-card-asymmetric {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}
.benefit-card-asymmetric h3 {
    color: var(--secondary-color);
}
@media (min-width: 768px) {
    .benefits-grid-asymmetric {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-large { grid-column: span 2; }
}
@media (min-width: 1024px) {
    .benefits-grid-asymmetric {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .card-large { grid-column: 1 / 3; grid-row: 1 / 2; }
    .card-medium { grid-column: 2 / 4; grid-row: 2 / 3; }
}

/* --- Image Content Split --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image-container img {
    border-radius: 24px;
}
@media (min-width: 768px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Stats Bar --- */
.stats-bar-section {
    background-color: #2c3e50;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
.stat-number {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}
.stat-label {
    max-width: 250px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}
.cta-container {
    text-align: center;
}
.cta-section h2, .cta-section p {
    color: var(--dark-bg);
}
.cta-section .btn-primary {
    background-color: var(--dark-bg);
    color: var(--light-text);
    border-color: var(--dark-bg);
}

/* --- Program Page: Numbered Sections --- */
.page-header {
    text-align: center;
    padding-bottom: 40px;
}
.numbered-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
}
.numbered-digit {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: bold;
    color: rgba(240, 165, 90, 0.2);
    line-height: 1;
}
.item-with-bg {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}
.numbered-bg-image {
    border-radius: 24px;
    overflow: hidden;
    margin-top: 20px;
}
@media (min-width: 768px) {
    .numbered-item {
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }
    .numbered-digit { flex-shrink: 0; }
    .item-with-bg {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .numbered-bg-image {
        grid-row: 1;
        grid-column: 2;
        margin-top: 0;
    }
}

/* --- Mission Page --- */
.mission-story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-image img {
    border-radius: 24px;
}
.values-section {
    background-color: #2c3e50;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}
.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.manifesto-section {
    text-align: center;
}
.manifesto-container {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid var(--primary-color);
    padding: 40px;
    border-radius: 24px;
}

@media (min-width: 768px) {
    .mission-story-container {
        grid-template-columns: 1fr 1.2fr;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Contact Page --- */
.contact-form-central {
    padding-bottom: 60px;
}
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #2c3e50;
    padding: 40px;
    border-radius: 24px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--dark-bg);
    color: var(--light-text);
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-form button {
    width: 100%;
}
.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
}
.info-card {
    background-color: #2c3e50;
    padding: 30px;
    border-radius: 16px;
}
@media (min-width: 768px) {
    .info-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page .container {
    max-width: 800px;
}
.legal-page h2 {
    margin-top: 2rem;
}
.thank-you-section .text-center {
    text-align: center;
}
.thank-you-icon {
    font-size: 4rem;
    color: var(--primary-color);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}
.next-steps {
    margin-top: 3rem;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}
.next-steps-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 1.5rem;
}

/* --- Footer --- */
.site-footer {
    background-color: #111827 !important; /* Hardcoded for translator safety */
    color: var(--light-text) !important;
    padding: 60px 0 0;
    border-top: 3px solid var(--primary-color);
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer-container h3 {
    color: var(--secondary-color);
    margin-bottom: 16px;
}
.footer-links ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a, .footer-legal a, .footer-contact a {
    color: var(--light-text) !important;
}
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    color: var(--primary-color) !important;
}
.footer-copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* --- 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(--dark-bg);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px 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 { 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-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}
.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--light-text);
    color: var(--light-text);
}
@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; }
}