:root {
 --primary-color: #2d8f5e;
 --primary-dark: #226e49;
 --secondary-color: #0d9488;
 --bg-light: #f0fdf4;
 --bg-white: #ffffff;
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --border-color: #d1d5db;
 --radius-sm: 8px;
 --radius-md: 12px;
 --radius-lg: 16px;
 --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
 --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
 --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-main);
 line-height: 1.6;
 color: var(--text-dark);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

img {
 max-width: 100%;
 height: auto;
 display: block;
}

.container {
 max-width: 1200px;
 margin-left: auto;
 margin-right: auto;
 padding-left: 1.5rem;
 padding-right: 1.5rem;
}

.section {
 padding: 5rem 0;
}
.bg-light { background-color: var(--bg-light); }

.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 4rem;
}
.section-title {
 font-size: clamp(1.8rem, 4vw, 2.5rem);
 font-weight: 700;
 margin-bottom: 1rem;
 color: var(--text-dark);
}
.section-subtitle {
 font-size: 1.125rem;
 color: var(--text-light);
 line-height: 1.7;
}

.badge {
 display: inline-block;
 background-color: var(--secondary-color);
 color: white;
 padding: 0.35rem 0.85rem;
 border-radius: 999px;
 font-size: 0.8rem;
 font-weight: 600;
 margin-bottom: 1rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.btn {
 display: inline-block;
 padding: 0.875rem 2rem;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-sm);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-decoration: none;
 text-align: center;
}
.btn-primary {
 background-color: var(--primary-color);
 color: white;
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: white;
}
.btn-lg {
 padding: 1rem 2.5rem;
 font-size: 1.1rem;
}

/* Header */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.8);
 backdrop-filter: blur(10px);
 transition: var(--transition);
 border-bottom: 1px solid transparent;
}
.header.scrolled {
 box-shadow: var(--shadow-md);
 background: rgba(255, 255, 255, 0.95);
 border-bottom-color: #eee;
}
.nav {
 height: 70px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}
.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--primary-color);
 text-decoration: none;
}
.nav-links {
 display: flex;
 list-style: none;
 gap: 32px;
}
.nav-links a {
 font-weight: 500;
 color: var(--text-dark);
 text-decoration: none;
 position: relative;
 padding: 0.5rem 0;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: var(--transition);
}
.nav-links a.active::after, .nav-links a:hover::after {
 width: 100%;
}
.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
}
.nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
}
.nav-cta { display: block; }

/* Hero Split */
.hero-split {
 padding-top: 100px;
 padding-bottom: 5rem;
}
.hero-split-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 3rem;
}
.hero-split-content h1 {
 font-size: clamp(2.5rem, 5vw, 3.5rem);
 margin-bottom: 1.5rem;
}
.hero-split-content p {
 font-size: 1.125rem;
 color: var(--text-light);
 margin-bottom: 2rem;
 max-width: 550px;
}
.hero-benefits {
 list-style: none;
 margin-bottom: 2.5rem;
}
.hero-benefits li {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 margin-bottom: 0.75rem;
 color: var(--text-light);
}
.hero-benefits svg {
 width: 20px;
 height: 20px;
 color: var(--primary-color);
 flex-shrink: 0;
}
.hero-actions {
 display: flex;
 gap: 1rem;
}
.hero-split-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 object-fit: cover;
 width: 100%;
 height: auto;
 max-height: 500px;
}

/* Partners */
.partners { padding: 3rem 0; background: var(--bg-light); }
.partners-title { text-align: center; color: var(--text-muted); font-weight: 500; margin-bottom: 2rem; }
.partners-grid {
 display: flex;
 justify-content: space-around;
 align-items: center;
 flex-wrap: wrap;
 gap: 2rem;
}
.partner-logo {
 height: 35px;
 width: auto;
 filter: grayscale(100%);
 opacity: 0.6;
 transition: var(--transition);
}
.partner-logo:hover {
 filter: grayscale(0%);
 opacity: 1;
}

/* Media Object */
.media-object-alt {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: center;
 margin-bottom: 5rem;
}
.media-object-alt:last-child { margin-bottom: 0; }
.media-object-alt.reversed .media-visual { grid-row: 1; grid-column: 2; }
.media-object-alt.reversed .media-copy { grid-row: 1; grid-column: 1; }
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 object-fit: cover;
}
.media-copy h3 {
 font-size: 1.75rem;
 margin-bottom: 1rem;
}
.media-copy p {
 color: var(--text-light);
 margin-bottom: 1.5rem;
}
.media-copy ul {
 list-style: none;
 padding-left: 0;
}
.media-copy ul li {
 padding-left: 1.5rem;
 position: relative;
 margin-bottom: 0.5rem;
}
.media-copy ul li::before {
 content: '';
 color: var(--primary-color);
 position: absolute;
 left: 0;
 font-weight: bold;
}

/* Icon Grid */
.icon-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
}
.icon-card {
 text-align: center;
 padding: 2rem;
 background: var(--bg-white);
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.icon-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.icon-card-icon {
 width: 60px;
 height: 60px;
 margin: 0 auto 1.5rem;
 background: var(--bg-light);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
}
.icon-card-icon svg {
 width: 28px;
 height: 28px;
 color: var(--primary-color);
}
.icon-card-title {
 font-size: 1.25rem;
 margin-bottom: 0.5rem;
}
.icon-card-description {
 color: var(--text-light);
}

/* FAQ */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
 border-bottom: 1px solid var(--border-color);
}
.faq-question {
 width: 100%;
 background: none;
 border: none;
 display: flex;
 justify-content: space-between;
 align-items: center;
 text-align: left;
 padding: 1.5rem 0;
 font-size: 1.125rem;
 font-weight: 600;
 color: var(--text-dark);
 cursor: pointer;
}
.faq-icon {
 width: 20px;
 height: 20px;
 transition: transform 0.3s;
}
.faq-answer {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-light); }
.faq-item.active .faq-answer {
 max-height: 300px;
}
.faq-item.active .faq-icon {
 transform: rotate(45deg);
}

/* CTA Section */
.cta-section {
 background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
 color: white;
 padding: 5rem 0;
}
.cta-section .section-title, .cta-section .section-subtitle {
 color: white;
}

/* Footer */
.footer {
 background-color: var(--text-dark);
 color: #a0aec0;
 padding-top: 4rem;
 padding-bottom: 2rem;
 font-size: 0.9rem;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1.5fr;
 gap: 2.5rem;
 margin-bottom: 3rem;
}
.footer-logo {
 display: block;
 font-size: 1.25rem;
 font-weight: 700;
 color: white;
 margin-bottom: 1rem;
 text-decoration: none;
}
.footer-description {
 line-height: 1.7;
 max-width: 300px;
}
.footer-heading {
 color: white;
 font-weight: 600;
 margin-bottom: 1.5rem;
 text-transform: uppercase;
 font-size: 0.875rem;
 letter-spacing: 0.5px;
}
.footer-links {
 list-style: none;
}
.footer-links li {
 margin-bottom: 0.75rem;
}
.footer-links a {
 color: #a0aec0;
 text-decoration: none;
 transition: var(--transition);
}
.footer-links a:hover {
 color: white;
}
.footer-contact-item {
 display: flex;
 gap: 0.75rem;
 margin-bottom: 1rem;
 align-items: flex-start;
}
.footer-contact-item svg {
 width: 18px;
 height: 18px;
 color: var(--primary-color);
 margin-top: 3px;
 flex-shrink: 0;
}
.footer-contact-item a { color: #a0aec0; text-decoration: none; }
.footer-contact-item a:hover { color: white; }

.footer-bottom {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding-top: 2rem;
 border-top: 1px solid #374151;
 font-size: 0.875rem;
}
.footer-social {
 display: flex;
 gap: 1rem;
}
.footer-social a {
 color: #a0aec0;
 transition: var(--transition);
}
.footer-social a:hover {
 color: white;
}

/* Page Hero */
.hero-page {
 padding: 120px 0 60px;
 text-align: center;
 background: var(--bg-light);
}
.page-title {
 font-size: clamp(2rem, 5vw, 3rem);
 margin-bottom: 1rem;
}
.page-subtitle {
 font-size: 1.125rem;
 color: var(--text-light);
 max-width: 700px;
 margin: 0 auto;
}

/* Team Section */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
}
.team-card {
 text-align: center;
 background: var(--bg-white);
 padding: 2rem;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.team-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1.5rem;
 border: 4px solid var(--bg-white);
 box-shadow: var(--shadow-md);
}
.team-name {
 font-size: 1.25rem;
}
.team-title {
 color: var(--primary-color);
 font-weight: 500;
 margin-bottom: 1rem;
}
.team-bio {
 color: var(--text-light);
 font-size: 0.9rem;
}

/* Values Grid */
.values-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
 margin-top: 3rem;
}
.value-item {
 padding: 2rem;
 border-left: 4px solid var(--secondary-color);
 background-color: var(--bg-light);
 border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.value-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.value-item p { color: var(--text-light); }

/* Resources Page */
.cards-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
 gap: 2rem;
}
.card {
 background-color: white;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 display: flex;
 flex-direction: column;
 transition: var(--transition);
}
.card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.card-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.card-body {
 padding: 1.5rem;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}
.card-category { font-size: 0.8rem; color: var(--secondary-color); font-weight: 600; margin-bottom: 0.5rem; text-transform: uppercase; }
.card-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.card-text { color: var(--text-light); margin-bottom: 1rem; flex-grow: 1; }
.card-btn { margin-top: auto; align-self: flex-start; }

.pagination {
 display: flex;
 justify-content: center;
 gap: 0.5rem;
 margin-top: 3rem;
}
.pagination a {
 padding: 0.5rem 1rem;
 text-decoration: none;
 color: var(--primary-color);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-sm);
 transition: var(--transition);
}
.pagination a:hover, .pagination a.active {
 background-color: var(--primary-color);
 color: white;
 border-color: var(--primary-color);
}

/* Contact Page */
.contact-container {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 3rem;
}
.contact-heading {
 font-size: 1.5rem; margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
 display: block;
 font-weight: 500;
 margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea {
 width: 100%;
 padding: 0.875rem 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-sm);
 font-size: 1rem;
 font-family: inherit;
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(45, 143, 94, 0.2);
}
textarea { resize: vertical; min-height: 120px; }

.checkbox-group { display: flex; align-items: center; gap: 0.5rem; }
.checkbox-group input { width: auto; }
.checkbox-group label { margin-bottom: 0; font-weight: normal; }
.checkbox-group a { color: var(--primary-color); text-decoration: underline; }

.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-item svg { width: 24px; height: 24px; color: var(--primary-color); flex-shrink: 0; }
.contact-info-item strong { display: block; margin-bottom: 0.25rem; }
.contact-info-item p { color: var(--text-light); }
.contact-info-item a { color: var(--text-light); text-decoration: none; }
.contact-info-item a:hover { color: var(--primary-color); }
.map-section { background-color: var(--bg-light); }
.map-container {
 width: 100%; height: 450px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg);
}
.map-container iframe { width: 100%; height: 100%; border:0; }

/* Article Page */
.article-content { padding-top: 70px; }
.article-meta { color: var(--text-muted); margin-top: 1rem; }
.article-body {
 display: grid;
 grid-template-columns: 3fr 1fr;
 gap: 3rem;
 padding-top: 3rem;
 padding-bottom: 3rem;
}
.article-main .lead { font-size: 1.25rem; color: var(--text-light); margin-bottom: 2rem; }
.article-main h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.article-main p { margin-bottom: 1.5rem; }
.article-main blockquote {
 border-left: 4px solid var(--primary-color);
 padding-left: 1.5rem;
 margin: 2rem 0;
 font-style: italic;
 color: var(--text-light);
}
.article-image { border-radius: var(--radius-md); margin-bottom: 2rem; }
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 1rem;
}
.gallery-grid img { border-radius: var(--radius-sm); width:100%; height:150px; object-fit:cover; }
.sidebar-widget {
 background: var(--bg-light);
 padding: 1.5rem;
 border-radius: var(--radius-md);
}
.sidebar-widget h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.sidebar-widget ul { list-style: none; }
.sidebar-widget li { margin-bottom: 0.5rem; }
.sidebar-widget a { color: var(--text-dark); text-decoration: none; }
.sidebar-widget a:hover { color: var(--primary-color); }

/* Legal & Thank You Page */
.legal-content .container { max-width: 800px; }
.legal-content h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 1rem; }
.legal-content p, .legal-content li { color: var(--text-light); margin-bottom: 1rem;}
.legal-content ul { padding-left: 1.5rem; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.cookie-table th, .cookie-table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.cookie-table th { background: var(--bg-light); }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--text-dark);
 color: white;
 padding: 1rem;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
 z-index: 2000;
}
#cookie-banner p { margin: 0; font-size: 0.9rem; }
#cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.5rem; }
.cookie-buttons button {
 padding: 0.5rem 1rem;
 border-radius: var(--radius-sm);
 border: none;
 cursor: pointer;
 background-color: var(--primary-color);
 color: white;
}
.cookie-buttons button:last-child {
 background-color: #4b5563;
}

/* Form Validation */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}
.field-error {
 color: #dc2626;
 font-size: 0.85rem;
 margin-top: 4px;
}
.form-success {
 animation: fadeIn 0.3s ease;
}
.spinner {
 display: inline-block;
 width: 16px;
 height: 16px;
 border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: #fff;
 animation: spin 0.8s linear infinite;
 margin-right: 8px;
 vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
button[type="submit"]:disabled { opacity: 0.7; cursor: not-allowed; }

/* Responsive */
@media screen and (max-width: 992px) {
 .hero-split-container, .media-object-alt, .contact-container, .article-body {
 grid-template-columns: 1fr;
 }
 .media-object-alt.reversed .media-visual, .media-object-alt .media-visual {
 grid-row: auto;
 grid-column: auto;
 }
 .hero-split-visual {
 order: -1;
 }
 .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 768px) {
 .nav-toggle { display: block; z-index: 1001;}
 .nav-cta { display: none; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 70%;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 padding: 5rem 2rem 2rem;
 gap: 2rem;
 transition: right 0.4s ease-in-out;
 box-shadow: -5px 0 15px rgba(0,0,0,0.1);
 }
 .nav-links.active {
 right: 0;
 }
 .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
 .nav-toggle.active span:nth-child(2) { opacity: 0; }
 .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 1rem; }
}

@media (max-width: 576px) {
 .hero-split-content p { font-size: 1rem; }
 .hero-actions { flex-direction: column; }
 #cookie-banner { flex-direction: column; text-align: center; }
}