/* teal-gold palette */
:root {
    --color-primary: #004D40;
    --color-secondary: #006B5C;
    --color-accent: #C9A227;
    --bg-tint: #F0FAFE;

    --text-dark: #1A2B2C;
    --text-muted: #5C7072;
    --bg-white: #FFFFFF;
    
    --radius-pill: 50px;
    --radius-card: 32px;
    --radius-tag: 999px;

    --shadow-dramatic: 0 24px 64px rgba(0, 0, 0, 0.22);
    --shadow-hover: 0 32px 80px rgba(0, 0, 0, 0.30);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-primary);
    color: var(--bg-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;
    color: var(--bg-white);
    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(--bg-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 {
    color: var(--bg-white);
    font-weight: 500;
    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--color-accent);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--color-primary);
    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);
}

.mobile-nav a {
    color: var(--bg-white);
    font-size: 18px;
    display: block;
}

@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);
    }
}

/* Layout Containers & Sections */
.site-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section-padding {
    padding: 48px 16px;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 80px 24px;
    }
}

/* Color Mode Mixed */
.bg-light-mode {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.bg-tint-mode {
    background-color: var(--bg-tint);
    color: var(--text-dark);
}

.bg-dark-mode {
    background-color: var(--color-secondary);
    color: var(--bg-white);
}

/* UI Elements: Badges & Buttons */
.badge-pill, .sub-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--color-accent);
    color: #111;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-tag);
    margin-bottom: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #111;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--color-primary);
}

.btn-block {
    width: 100%;
}

/* Hero Section: fullscreen-center */
.hero-fullscreen {
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 16px;
    color: var(--bg-white);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(28px, 6vw, 56px);
    line-height: 1.15;
    margin: 16px 0;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Inner Hero */
.inner-hero {
    padding: 80px 16px;
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    text-align: center;
}

.inner-hero h1 {
    font-size: clamp(28px, 5vw, 44px);
    margin: 12px 0;
}

/* Section Headers */
.section-header {
    margin-bottom: 40px;
    max-width: 750px;
}

.section-title {
    font-size: clamp(24px, 4vw, 36px);
    margin: 8px 0 16px 0;
}

.section-description {
    color: var(--text-muted);
    font-size: 16px;
}

.bg-dark-mode .section-description {
    color: rgba(255, 255, 255, 0.8);
}

/* Benefits Timeline */
.timeline-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    gap: 16px;
}

@media (min-width: 768px) {
    .timeline-item {
        flex-direction: row;
        padding: 32px;
    }
}

.timeline-marker {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: var(--color-accent);
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--color-primary);
}

/* Expert Block */
.expert-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
}

@media (min-width: 768px) {
    .expert-card {
        flex-direction: row;
        padding: 48px;
    }
}

.expert-image-col {
    flex: 1;
    max-width: 320px;
    width: 100%;
}

.expert-img {
    border-radius: var(--radius-card);
    object-fit: cover;
    width: 100%;
    height: 320px;
}

.expert-text-col {
    flex: 2;
}

.quote-icon {
    font-size: 60px;
    color: var(--color-accent);
    line-height: 1;
    display: block;
}

.expert-quote {
    font-size: clamp(18px, 3vw, 24px);
    font-style: italic;
    margin: 0 0 20px 0;
}

.expert-author {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-accent);
}

.expert-role {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 12px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-dramatic);
    display: flex;
    flex-direction: column;
}

.gallery-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.gallery-caption {
    padding: 20px;
}

.placeholder-card {
    background: var(--color-primary);
    color: var(--bg-white);
    justify-content: center;
    padding: 30px;
}

.placeholder-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--color-accent);
}

/* Two Col Section */
.two-col-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .two-col-wrapper {
        flex-direction: row;
    }
}

.two-col-media, .two-col-text {
    flex: 1;
    width: 100%;
}

.rounded-media {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Comparison Table */
.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-dramatic);
    min-width: 600px;
}

.comparison-table th, .comparison-table td {
    padding: 18px 24px;
    text-align: left;
}

.comparison-table th {
    background: var(--color-primary);
    color: var(--bg-white);
}

.comparison-table tr:nth-child(even) {
    background: var(--bg-tint);
}

/* Form Layout */
.form-section-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 32px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
}

.form-group input, .form-group textarea {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #CCC;
    font-size: 16px;
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Program Tabs (CSS Pure) */
.tabs {
    display: flex;
    flex-direction: column;
}

input[name="tabs"] {
    display: none;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.tabs-nav label {
    padding: 12px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.tab-panel {
    display: none;
}

#t1:checked ~ #p1,
#t2:checked ~ #p2,
#t3:checked ~ #p3,
#t4:checked ~ #p4 {
    display: block;
}

#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"] {
    background-color: var(--color-primary);
    color: var(--bg-white);
}

.tab-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
}

.bullet-list {
    padding-left: 20px;
}

.bullet-list li {
    margin-bottom: 8px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: var(--radius-card);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.faq-item {
    background: var(--bg-tint);
    padding: 24px;
    border-radius: var(--radius-card);
}

/* Mission Page Layout */
.story-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .story-wrapper {
        flex-direction: row;
    }
}

.story-text, .story-media {
    flex: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: var(--radius-card);
}

.value-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.manifesto-card {
    background: var(--bg-tint);
    padding: 40px;
    border-radius: var(--radius-card);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.info-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
}

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* Legal Pages */
.legal-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    max-width: 900px;
    margin: 0 auto;
}

.legal-update {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.legal-section {
    margin-bottom: 24px;
}

/* Thank Page */
.thank-card {
    background: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.thank-badge {
    color: #2E7D32;
    font-weight: bold;
    font-size: 18px;
}

.next-steps-box {
    background: var(--bg-tint);
    padding: 20px;
    border-radius: 16px;
    text-align: left;
    margin-top: 24px;
}

/* Footer Layout (Protected styling) */
.site-footer {
    background-color: #004D40 !important;
    color: #FFFFFF !important;
    padding: 60px 16px 20px 16px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF !important;
}

.footer-text {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 12px;
}

.footer-col h4 {
    color: #C9A227 !important;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #FFFFFF !important;
    opacity: 0.9;
}

.footer-links a:hover {
    color: #C9A227 !important;
}

.footer-contact-item {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contact-item a {
    color: #FFFFFF !important;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    background-color: #004D40;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateY(0);
    transition: transform 0.4s ease;
    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: 14px;
}

#cookie-banner a {
    color: #C9A227;
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background-color: #C9A227;
    color: #111;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 10px 20px;
    border-radius: 50px;
    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;
    }
}