:root {
  --primary-color: #009245;
  --primary-dark: #007a3a;
  --secondary-color: #FFFFFF;
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 10px rgba(0,0,0,0.08);
  --radius-md: 8px;
  --radius-lg: 16px;
  --font-main: 'Roboto', 'Arial', 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: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

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);
}

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

.section {
  padding: 80px 0;
}

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

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: 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: var(--bg-white);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.nav-logo {
  font-size: 1.75rem;
  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 {
  font-weight: 500;
  color: var(--text-dark);
}
.nav-links a.active, .nav-links a:hover {
  color: var(--primary-color);
}
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 60vh;
  margin-top: 70px;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  background-image: url('https://images.pexels.com/photos/7688174/pexels-photo-7688174.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.9);
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--primary-color);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}
.hero .btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}
body .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
body .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}


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

/* Features */
.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}
.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.25rem;
}
.card-text {
  flex-grow: 1;
  color: var(--text-light);
}
.card-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}
.card-button {
  align-self: flex-start;
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: var(--radius-md);
  font-weight: 700;
}
.card-button:hover {
  background: var(--primary-color);
  color: white;
}


/* Media Object */
.media-object {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.media-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.media-copy .section-title { font-size: 2rem; }

/* Testimonials */
.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--primary-color);
}
.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.testimonial-author strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.testimonial-author span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 80px 0;
}
.cta-section .section-header { margin-bottom: 30px; }
.cta-section .section-title, .cta-section .section-subtitle { color: white; }
.contact-form-inline {
    display: flex;
    gap: 16px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}
.contact-form-inline input {
    flex-grow: 1;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 1rem;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #a0a0a0;
  padding: 80px 0 30px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}
.footer-description {
  line-height: 1.7;
}
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a, .footer-contact-item a {
  color: #a0a0a0;
}
.footer-links a:hover, .footer-contact-item a:hover {
  color: white;
}
.footer-contact-item {
  margin-bottom: 1rem;
}
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  text-align: center;
}
.footer-copyright {
  font-size: 0.9rem;
}

/* About Page */
.page-header-section {
    padding: 100px 0;
    margin-top: 70px;
    background: var(--bg-light);
    text-align: center;
}
.page-header-section h1 {
    margin-bottom: 0.5rem;
}
.page-header-section p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.value-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.value-card h3 {
    color: var(--primary-color);
}
.team-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}
.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.4rem;
}
.team-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}
.team-bio {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    opacity: 0.2;
}
.timeline-step {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-step:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-step:nth-child(even) {
    left: 50%;
}
.timeline-step:nth-child(odd)::before, .timeline-step:nth-child(even)::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-step:nth-child(even)::before {
    left: -10px;
}
.timeline-number { display:none; }
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Contact Page */
.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}
.contact-title { font-size: 1.8rem; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-item-icon { color: var(--primary-color); width: 24px; height: 24px; flex-shrink: 0; }
.contact-item h3 { font-size: 1.2rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { margin: 0; }

.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 500; margin-bottom: 8px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-main);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 146, 69, 0.2);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-group-checkbox { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.form-group-checkbox input { width: auto; }
.form-group-checkbox label { margin: 0; font-weight: 400; color: var(--text-light); }
.btn.full-width { width: 100%; }
.map-section { padding: 0; }
.map-section iframe { display: block; }

/* Thank You Page */
.thank-you-section { min-height: 50vh; display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.thank-you-title { font-size: 3rem; color: var(--primary-color); }
.thank-you-text { font-size: 1.2rem; max-width: 500px; margin: 0 auto 2rem; }

/* Legal Pages */
.legal-content h2 { margin-top: 2rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--bg-light); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content ul { margin-bottom: 1rem; }
.legal-content ul { padding-left: 20px; }
.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);
    font-weight: 700;
}


/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: white;
    padding: 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 2000;
}
#cookie-banner p { margin: 0; color: #f1f1f1; }
.cookie-buttons { display: flex; gap: 16px; }

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    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: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-inline { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  .nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 6px 0;
    transition: var(--transition);
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 100px 40px;
    gap: 24px;
    box-shadow: var(--shadow-md);
    transition: right 0.4s ease-in-out;
  }
  .nav-links.active {
    right: 0;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .media-object { grid-template-columns: 1fr; }
  .media-object .media-visual { order: -1; }
  .contact-page-layout { grid-template-columns: 1fr; }
  .timeline::after { left: 10px; margin-left: 0; }
  .timeline-step { width: 100%; padding-left: 50px; padding-right: 0; left: 0 !important; text-align: left !important;}
  .timeline-step:nth-child(even) { left: 0; }
  .timeline-step::before { left: 0px !important; }

  #cookie-banner { flex-direction: column; text-align: center; }
}