:root {
 --primary-color: #2d8f5e;
 --secondary-color: #0d9488;
 --primary-dark: #1e6a45;
 --bg-light: #f0fdf4;
 --bg-white: #ffffff;
 --text-dark: #1a1a1a;
 --text-light: #4a4a4a;
 --text-muted: #7a7a7a;
 --border-color: #e0e0e0;
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 color: var(--text-dark);
 line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-bottom: 0.75rem; }

a {
 color: var(--primary-color);
 text-decoration: none;
 transition: var(--transition);
}

a:hover {
 color: var(--primary-dark);
}

p {
 margin-bottom: 1rem;
}

ul {
 list-style-position: inside;
 padding-left: 1rem;
 margin-bottom: 1rem;
}

ul li {
 margin-bottom: 0.5rem;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

img {
 max-width: 100%;
 height: auto;
 display: block;
 border-radius: var(--radius-md);
}

.section {
 padding: 80px 0;
}

.bg-light {
 background-color: var(--bg-light);
}

.text-center {
 text-align: center;
}

/* --- BUTTONS --- */
.btn {
 display: inline-block;
 padding: 12px 28px;
 border-radius: var(--radius-md);
 font-weight: 600;
 font-size: 1rem;
 border: 2px solid transparent;
 cursor: pointer;
 transition: var(--transition);
 text-align: center;
}

.btn-primary {
 background-color: var(--primary-color);
 color: white;
}

.btn-primary:hover {
 background-color: var(--primary-dark);
 color: white;
 transform: translateY(-2px);
 box-shadow: 0 6px 15px rgba(45, 143, 94, 0.3);
}

.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-sm {
 padding: 8px 16px;
 font-size: 0.9rem;
}

/* --- HEADER & NAVIGATION --- */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 z-index: 1000;
 transition: box-shadow 0.3s ease;
}

.header.scrolled {
 box-shadow: var(--shadow-md);
}

.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}

.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-logo:hover {
 color: var(--primary-color);
}

.nav-links {
 display: flex;
 list-style: none;
 gap: 32px;
}

.nav-links a {
 color: var(--text-dark);
 font-weight: 500;
 position: relative;
 padding: 5px 0;
}

.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
 width: 100%;
}

.nav-btn {
 display: block;
}

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 z-index: 1001;
}
.nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 margin: 5px;
 background: var(--text-dark);
 transition: all 0.3s;
}

/* --- HERO SECTION --- */
.hero-section {
 background: var(--bg-light);
 padding: 120px 0 80px;
 min-height: 80vh;
 display: flex;
 align-items: center;
}

.hero-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 48px;
}

.hero-content .badge {
 display: inline-block;
 background-color: var(--secondary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 600;
 margin-bottom: 1rem;
}

.hero-content h1 {
 margin-bottom: 1.5rem; 
}

.hero-content p {
 font-size: 1.15rem;
 color: var(--text-light);
 max-width: 550px;
 margin-bottom: 2rem;
}

.hero-buttons {
 display: flex;
 gap: 16px;
 flex-wrap: wrap;
}

.hero-image img {
 border-radius: var(--radius-lg);
 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
 width: 100%;
 height: auto;
}

/* --- SECTION SHARED STYLES --- */
.section-header {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 50px;
}
.section-label {
 display: inline-block;
 background-color: var(--primary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 600;
 margin-bottom: 1rem;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.section-title {
 margin-bottom: 1rem;
}
.section-subtitle {
 font-size: 1.1rem;
 color: var(--text-light);
 line-height: 1.6;
}

/* --- GRIDS & CARDS --- */
.grid-2, .grid-3 {
 display: grid;
 gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 overflow: hidden;
 display: flex;
 flex-direction: column;
}
.card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-md);
}

.card-img-top {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card-body {
 padding: 24px;
 flex-grow: 1;
}
.card-title {
 font-size: 1.25rem;
}
.card-text {
 color: var(--text-muted);
}
.card-link {
 font-weight: 600;
 display: inline-block;
 margin-top: 1rem;
}

.info-card {
 background: var(--bg-white);
 padding: 24px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 border-left: 4px solid var(--secondary-color);
}

.feature-card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.feature-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-md);
}
.feature-card img {
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
 height: 200px;
 width: 100%;
 object-fit: cover;
}
.feature-card-content {
 padding: 24px;
}

/* --- MEDIA OBJECT --- */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 48px;
}

.media-object.reversed {
 grid-template-columns: 1fr 1fr;
}
.media-object.reversed .media-visual { order: 2; }
.media-object.reversed .media-copy { order: 1; }

.media-copy ul {
 list-style-type: none;
 padding-left: 0;
}
.media-copy li {
 padding-left: 2rem;
 position: relative;
}
.media-copy li::before {
 content: '';
 position: absolute;
 left: 0;
 color: var(--primary-color);
 font-weight: bold;
}

/* --- TIMELINE --- */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 3px;
 background-color: var(--border-color);
 top: 0;
 bottom: 0;
 left: 50%;
 margin-left: -1.5px;
}
.timeline-item {
 padding: 10px 40px;
 position: relative;
 width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; text-align: right; }

.timeline-item::after {
 content: '';
 position: absolute;
 width: 20px;
 height: 20px;
 top: 15px;
 background-color: white;
 border: 4px solid var(--primary-color);
 border-radius: 50%;
 z-index: 1;
}

.timeline-item:nth-child(odd)::after { right: -10px; }
.timeline-item:nth-child(even)::after { left: -10px; }

.timeline-content {
 padding: 20px;
 background-color: white;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-sm);
}
.timeline-content h3 { color: var(--primary-dark); }

/* --- TEAM SECTION --- */
.team-card {
 text-align: center;
 padding: 20px;
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 15px;
 border: 4px solid var(--bg-light);
 box-shadow: var(--shadow-sm);
}
.team-name {
 font-size: 1.2rem;
 margin-bottom: 5px;
}
.team-title {
 color: var(--secondary-color);
 font-weight: 500;
 margin-bottom: 10px;
}
.team-bio {
 font-size: 0.9rem;
 color: var(--text-muted);
}

/* --- CTA SECTION --- */
.cta-section .section-header {
 margin-bottom: 0;
}
.cta-section .section-subtitle {
 margin-bottom: 30px;
}

/* --- CONTACT PAGE --- */
.contact-layout {
 display: grid;
 grid-template-columns: 2fr 1.5fr;
 gap: 48px;
 margin-bottom: 50px;
}
.contact-info-container h3 {
 margin-bottom: 1.5rem;
}
.contact-info-item {
 display: flex;
 align-items: flex-start;
 gap: 16px;
 margin-bottom: 1.5rem;
}
.contact-info-item svg {
 color: var(--primary-color);
 flex-shrink: 0;
 margin-top: 5px;
}
.contact-info-item h4 {
 margin: 0 0 5px 0;
}
.contact-info-item p, .contact-info-item a {
 margin: 0;
 color: var(--text-light);
}
.map-container {
 height: 450px;
 width: 100%;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
}

/* --- FORMS --- */
.form-group {
 margin-bottom: 1.5rem;
}
.form-control {
 display: block;
 width: 100%;
 padding: 12px 16px;
 font-size: 1rem;
 font-family: var(--font-main);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 transition: var(--transition);
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(45, 143, 94, 0.2);
}
.form-group label {
 display: block;
 margin-bottom: 8px;
 font-weight: 500;
}
textarea.form-control {
 min-height: 120px;
 resize: vertical;
}
/* Form validation styles */
.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;
}

.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[disabled] { opacity: 0.7; cursor: not-allowed; }

/* THANK YOU & LEGAL PAGES */
.thank-you-section {
 min-height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
}
.legal-container {
 max-width: 800px;
}
.legal-container h1 { margin-bottom: 1rem; }
.legal-container h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; }
.legal-container p, .legal-container ul { margin-bottom: 1.5rem; }
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 0;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 12px;
 text-align: left;
}
.cookie-table th {
 background-color: var(--bg-light);
}

/* --- FOOTER --- */
.footer {
 background: var(--bg-white);
 padding: 60px 0 30px;
 margin-top: 80px;
 border-top: 1px solid var(--border-color);
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1.5fr 1fr;
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.2rem;
 font-weight: 700;
 color: var(--text-dark);
 margin-bottom: 1rem;
 display: block;
}
.footer-description {
 font-size: 0.9rem;
 color: var(--text-muted);
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 margin-bottom: 1.5rem;
 color: var(--text-dark);
}
.footer-links, .footer-contact {
 list-style: none;
 padding: 0;
 margin: 0;
}
.footer-links li, .footer-contact li {
 margin-bottom: 1rem;
}
.footer-links a, .footer-contact a {
 color: var(--text-light);
 font-size: 0.9rem;
}
.footer-links a:hover, .footer-contact a:hover {
 color: var(--primary-color);
}
.footer-contact li {
 font-size: 0.9rem;
 color: var(--text-light);
}
.footer-bottom {
 border-top: 1px solid var(--border-color);
 padding-top: 30px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.85rem;
 color: var(--text-muted);
}
.footer-legal-links a {
 margin-left: 20px;
 color: var(--text-muted);
}
.footer-legal-links a:hover {
 color: var(--primary-color);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: #2b2b2b;
 color: #fff;
 padding: 16px 24px;
 display: none;
 align-items: center;
 justify-content: space-between;
 z-index: 2000;
 gap: 20px;
}
.cookie-banner p {
 margin: 0;
 font-size: 0.9rem;
}
.cookie-banner a {
 color: var(--secondary-color);
 text-decoration: underline;
}
.cookie-buttons {
 display: flex;
 gap: 10px;
 flex-shrink: 0;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
 .hero-container, .media-object, .media-object.reversed {
 grid-template-columns: 1fr;
 }
 .media-object.reversed .media-visual { order: 1; }
 .media-object.reversed .media-copy { order: 2; }
 .grid-3 { grid-template-columns: repeat(2, 1fr); }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-btn { display: none; }
 .nav-toggle { display: block; }
 .nav-links {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100vh;
 background: white;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 40px;
 transform: translateX(100%);
 transition: transform 0.4s ease-in-out;
 }
 .nav-links.active {
 transform: translateX(0);
 }
 .nav-links a { font-size: 1.5rem; }
 
 .header.menu-open .nav-toggle span:nth-child(1) {
 transform: rotate(45deg) translate(5px, 5px);
 }
 .header.menu-open .nav-toggle span:nth-child(2) {
 opacity: 0;
 }
 .header.menu-open .nav-toggle span:nth-child(3) {
 transform: rotate(-45deg) translate(7px, -6px);
 }
 
 .grid-2, .grid-3 { grid-template-columns: 1fr; }
 .hero-container { text-align: center; }
 .hero-content p { margin-left: auto; margin-right: auto; }
 .hero-buttons { justify-content: center; }
 .timeline::after { left: 20px;}
 .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
 .timeline-item:nth-child(odd) { left: 0; }
 .timeline-item:nth-child(even) { left: 0; text-align: left; }
 .timeline-item::after { left: 10px; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 15px; }
}

@media (max-width: 480px) {
 .cookie-banner {
 flex-direction: column;
 text-align: center;
 }
}