: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: #e5e7eb;
 --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 --radius-md: 8px;
 --radius-lg: 16px;
 --font-main: 'Inter', sans-serif;
 --transition: all 0.3s ease-in-out;
}

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

html {
 scroll-behavior: smooth;
}

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

.container {
 width: 100%;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}

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

h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p { margin-bottom: 1rem; color: var(--text-light); }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style-position: inside; }

/* Header & Nav */
.header {
 width: 100%;
 position: fixed;
 top: 0;
 left: 0;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.header.scrolled {
 box-shadow: var(--shadow-md);
 background-color: rgba(255, 255, 255, 0.98);
}
.nav-container {
 max-width: 1280px;
 margin: 0 auto;
 padding: 0 20px;
}
.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}
.nav-logo {
 font-weight: 700;
 font-size: 1.5rem;
 color: var(--text-dark);
}
.nav-links {
 display: flex;
 list-style: none;
 gap: 32px;
}
.nav-links a {
 color: var(--text-dark);
 font-weight: 500;
 padding: 5px 0;
 position: relative;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}
.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
}
.nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background-color: var(--text-dark);
 margin: 5px 0;
 transition: var(--transition);
}

/* Sections */
.section {
 padding: 80px 0;
}
.bg-light {
 background-color: var(--bg-light);
}
.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 50px;
}
.section-label {
 display: inline-block;
 padding: 6px 16px;
 background-color: var(--secondary-color);
 color: white;
 font-size: 0.85rem;
 font-weight: 600;
 border-radius: 20px;
 margin-bottom: 1rem;
}
.section-title {
 margin-bottom: 1rem;
}
.section-subtitle {
 font-size: 1.1rem;
 color: var(--text-light);
}

/* Hero Section */
.hero-section {
 padding: 140px 0 80px;
 background-color: var(--bg-light);
}
.hero-container {
 display: flex;
 align-items: center;
 gap: 40px;
}
.hero-content {
 flex: 1;
}
.hero-title {
 margin-bottom: 1.5rem;
}
.hero-subtitle {
 font-size: 1.2rem;
 margin-bottom: 2rem;
 max-width: 550px;
}
.hero-buttons {
 display: flex;
 gap: 16px;
}
.hero-image-wrapper {
 flex: 1;
 max-width: 500px;
}
.hero-image {
 width: 100%;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 14px 28px;
 border-radius: var(--radius-md);
 font-weight: 600;
 text-align: center;
 transition: var(--transition);
 cursor: pointer;
 border: 2px solid transparent;
}
.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);
 color: white;
}
.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: white;
 transform: translateY(-2px);
}
.btn-white {
 background-color: white;
 color: var(--primary-color);
}
.btn-white:hover {
 background-color: var(--bg-light);
 transform: translateY(-2px);
 color: var(--primary-dark);
}

/* Features Grid */
.features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}
.feature-card {
 background-color: var(--bg-white);
 padding: 30px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 text-align: center;
 transition: var(--transition);
}
.feature-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.feature-icon {
 width: 60px;
 height: 60px;
 margin: 0 auto 20px;
 border-radius: 50%;
 background-color: var(--bg-light);
 display: flex;
 justify-content: center;
 align-items: center;
}
.feature-icon svg {
 width: 30px;
 height: 30px;
 color: var(--primary-color);
}
.feature-card h3 {
 margin-bottom: 10px;
}

/* Services Grid */
.services-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
 gap: 30px;
}
.service-card {
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.service-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.service-card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.service-card-content {
 padding: 24px;
}
.service-card h3 {
 margin-bottom: 10px;
 color: var(--text-dark);
}
.service-card p {
 color: var(--text-light);
}
.read-more {
 font-weight: 600;
 color: var(--primary-color);
 display: inline-block;
 margin-top: 10px;
}

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 50px;
}
.media-object.reverse {
 grid-template-columns: 1fr 1fr;
}
.media-object.reverse .media-image { order: 2; }
.media-object.reverse .media-content { order: 1; }
.media-image img {
 width: 100%;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.media-content ul {
 list-style-type: ' ';
 padding-left: 20px;
 margin-top: 20px;
}
.media-content ul li {
 padding-left: 10px;
 margin-bottom: 10px;
}
.media-content .btn {
 margin-top: 20px;
}

/* Testimonials */
.testimonials-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 30px;
}
.testimonial-card {
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 padding: 30px;
 box-shadow: var(--shadow-md);
 border-left: 4px solid var(--secondary-color);
}
.testimonial-header {
 display: flex;
 align-items: center;
 gap: 15px;
 margin-bottom: 15px;
}
.testimonial-avatar {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 object-fit: cover;
}
.testimonial-name {
 font-weight: 700;
 margin: 0;
}
.testimonial-rating {
 color: #f59e0b;
 margin: 0;
}
.testimonial-text {
 font-style: italic;
 color: var(--text-light);
 margin-bottom: 0;
}

/* CTA Section */
.cta-section {
 background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
 padding: 60px 0;
 color: white;
 text-align: center;
}
.cta-container {
 max-width: 700px;
 margin: 0 auto;
}
.cta-container h2 {
 color: white;
 margin-bottom: 1rem;
}
.cta-container p {
 color: rgba(255, 255, 255, 0.9);
 margin-bottom: 2rem;
}

/* Footer */
.footer {
 background-color: #111827;
 color: #9ca3af;
 padding: 60px 0 20px;
 margin-top: 80px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 color: white;
 font-size: 1.5rem;
 font-weight: 700;
 margin-bottom: 1rem;
 display: block;
}
.footer-description {
 font-size: 0.9rem;
 line-height: 1.5;
 margin-bottom: 1rem;
}
.footer-social {
 display: flex;
 gap: 12px;
}
.footer-social a {
 color: white;
 width: 36px;
 height: 36px;
 border-radius: 50%;
 background-color: rgba(255, 255, 255, 0.1);
 display: flex;
 justify-content: center;
 align-items: center;
}
.footer-social a:hover {
 background-color: var(--primary-color);
}
.footer-social svg {
 width: 20px;
 height: 20px;
}
.footer-heading {
 color: white;
 font-size: 1rem;
 font-weight: 600;
 margin-bottom: 1.5rem;
 text-transform: uppercase;
}
.footer-links {
 list-style: none;
}
.footer-links li {
 margin-bottom: 1rem;
}
.footer-links a, .footer-contact-info a, .footer-contact-info li {
 color: #9ca3af;
 font-size: 0.9rem;
}
.footer-links a:hover, .footer-contact-info a:hover {
 color: white;
}
.footer-contact-info { list-style: none; }
.footer-contact-info li:not(:last-child) {
 margin-bottom: 1rem;
}
.footer-newsletter input {
 width: 100%;
 padding: 10px;
 border: 1px solid #4b5563;
 background-color: #1f2937;
 color: white;
 border-radius: var(--radius-md);
 margin-bottom: 10px;
}
.footer-newsletter button {
 width: 100%;
 padding: 10px;
 background-color: var(--primary-color);
 color: white;
 border: none;
 border-radius: var(--radius-md);
 cursor: pointer;
}
.footer-newsletter button:hover {
 background-color: var(--primary-dark);
}
.footer-bottom {
 border-top: 1px solid #374151;
 padding-top: 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.85rem;
}
.footer-legal-links a {
 color: #9ca3af;
 margin-left: 20px;
}
.footer-legal-links a:hover {
 color: white;
}

/* Page Specific styles */
.page-header-section {
 padding: 120px 0 60px;
 text-align: center;
 background-color: var(--bg-light);
}
.page-title { margin-bottom: 1rem; }
.page-subtitle { font-size: 1.2rem; color: var(--text-light); max-width: 800px; margin: 0 auto;}

.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 30px;
}
.team-member-card {
 text-align: center;
 background: var(--bg-white);
 padding: 20px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.team-member-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.team-photo {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 15px;
 border: 4px solid var(--bg-light);
}
.team-role {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 10px;
}
.team-bio {
 font-size: 0.9rem;
 color: var(--text-muted);
}

.resources-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
 gap: 30px;
}
.resource-card {
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.resource-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.resource-card-image {
 width: 100%;
 height: 220px;
 object-fit: cover;
}
.resource-card-content {
 padding: 24px;
}
.resource-card-category {
 background-color: var(--bg-light);
 color: var(--primary-color);
 padding: 4px 12px;
 border-radius: 20px;
 font-size: 0.8rem;
 font-weight: 600;
 display: inline-block;
 margin-bottom: 1rem;
}
.resource-card h3 {
 margin-bottom: 1rem;
 font-size: 1.3rem;
}

.faq-container {
 max-width: 800px;
 margin: 0 auto;
}
.faq-item {
 border-bottom: 1px solid var(--border-color);
}
.faq-item summary {
 font-weight: 600;
 padding: 20px 0;
 cursor: pointer;
 list-style: none;
 position: relative;
 padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
 content: '+';
 position: absolute;
 right: 5px;
 font-size: 1.5rem;
 color: var(--primary-color);
 transition: transform 0.2s;
}
.faq-item[open] summary::after {
 transform: rotate(45deg);
}
.faq-item p {
 padding-bottom: 20px;
}

.contact-page-layout {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 50px;
}
.form-title {
 margin-bottom: 2rem;
}
.contact-form .form-group {
 margin-bottom: 1.5rem;
}
.contact-form label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 500;
}
.contact-form input, .contact-form textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-family: inherit;
 font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(45, 143, 94, 0.2);
}
.contact-form textarea {
 resize: vertical;
 min-height: 120px;
}
.btn-full {
 width: 100%;
}
.contact-info-block {
 margin-bottom: 2rem;
}
.contact-info-item {
 display: flex;
 gap: 15px;
 align-items: flex-start;
 margin-bottom: 1.5rem;
}
.contact-info-icon {
 flex-shrink: 0;
 color: var(--primary-color);
}
.contact-info-icon svg { width: 24px; height: 24px; }
.contact-info-item h4 {
 margin: 0 0 5px;
 font-size: 1.1rem;
}
.contact-info-item p {
 margin: 0;
 color: var(--text-light);
}
.map-section {
 padding-top: 0;
}

.legal-content h2 { margin: 40px 0 20px; }
.legal-content ul { padding-left: 20px; margin-bottom: 1rem; }
.cookie-table { width: 100%; margin: 2rem 0; border-collapse: collapse; }
.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); }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: #1f2937;
 color: white;
 padding: 20px;
 display: none;
 justify-content: space-between;
 align-items: center;
 gap: 20px;
 z-index: 2000;
}
.cookie-banner p { margin: 0; color: #d1d5db; }
.cookie-banner a { color: var(--secondary-color); text-decoration: underline;}
.cookie-buttons .btn {
 padding: 10px 24px;
}

.animate-on-scroll {
 opacity: 0;
 transform: translateY(30px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
 opacity: 1;
 transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
 .hero-container { flex-direction: column; text-align: center; }
 .hero-buttons { justify-content: center; }
 .hero-subtitle { margin: 0 auto 2rem; }
 .media-object { grid-template-columns: 1fr; }
 .media-object.reverse .media-image, .media-object.reverse .media-content { order: 0; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .contact-page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; z-index: 1001; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 70%;
 height: 100vh;
 background-color: var(--bg-white);
 flex-direction: column;
 padding: 100px 40px 40px;
 gap: 25px;
 transition: right 0.4s ease-in-out;
 box-shadow: -5px 0 15px rgba(0,0,0,0.1);
 }
 .nav-links.active { right: 0; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 10px; }
 .cookie-banner { flex-direction: column; text-align: center; }
}