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

:root {
  --primary-green: #2d5a27;
  --secondary-green: #4CAF50;
  --accent-orange: #FF5722;
  --dark-text: #333;
  --light-text: #666;
  --bg-light: #f9f9f9;
  --bg-white: #fff;
  --shadow: 0 4px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background: var(--bg-white);
}

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

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

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

header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.logo img {
  width: 40px;
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-weight: 500;
  color: var(--dark-text);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-green);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--secondary-green);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--dark-text);
  transition: var(--transition);
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero-text h1 {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(76,175,80,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-3px);
}

.hero-image {
  animation: fadeInRight 1s ease;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

#about {
  background: var(--bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--light-text);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item img {
  width: 30px;
  height: 30px;
}

#services {
  background: var(--bg-light);
}

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

.service-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--light-text);
  margin-bottom: 20px;
}

.service-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange);
}

#testimonials {
  background: linear-gradient(135deg, var(--primary-green) 0%, #1B5E20 100%);
  color: white;
}

#testimonials .section-header h2,
#testimonials .section-header p {
  color: white;
}

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

.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  position: relative;
}

.testimonial-card .quote-icon {
  width: 50px;
  opacity: 0.5;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.testimonial-author .name {
  font-weight: 600;
}

.testimonial-author .role {
  font-size: 0.9rem;
  opacity: 0.8;
}

.stars {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.stars img {
  width: 20px;
  height: 20px;
}

#blog {
  background: var(--bg-white);
}

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

.blog-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-content {
  padding: 25px;
}

.blog-card h3 {
  font-size: 1.1rem;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--light-text);
  margin-bottom: 15px;
}

.blog-card .read-more {
  color: var(--secondary-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card .read-more:hover {
  color: var(--primary-green);
}

#contact {
  background: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--light-text);
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item img {
  width: 40px;
  height: 40px;
}

.contact-item span {
  color: var(--dark-text);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.social-links img {
  width: 25px;
  height: 25px;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-green);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

footer {
  background: var(--primary-green);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-about p {
  opacity: 0.8;
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  opacity: 0.8;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease;
}

.cookie-banner.show {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text h3 {
  font-size: 1.2rem;
  color: var(--primary-green);
  margin-bottom: 5px;
}

.cookie-text p {
  color: var(--light-text);
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--secondary-green);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.95rem;
}

.cookie-buttons .accept-all {
  background: var(--secondary-green);
  color: white;
}

.cookie-buttons .accept-all:hover {
  background: var(--primary-green);
}

.cookie-buttons .accept-necessary {
  background: #e0e0e0;
  color: var(--dark-text);
}

.cookie-buttons .accept-necessary:hover {
  background: #ccc;
}

.cookie-buttons .customize {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.cookie-buttons .customize:hover {
  background: var(--primary-green);
  color: white;
}

.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.cookie-settings.show {
  display: flex;
}

.cookie-settings-content {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-settings-content h3 {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.cookie-option-info p {
  font-size: 0.85rem;
  color: var(--light-text);
}

.toggle {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  border-radius: 26px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle input:checked + .toggle-slider {
  background: var(--secondary-green);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-settings-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.cookie-settings-buttons button {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.cookie-settings-buttons .save-settings {
  background: var(--secondary-green);
  color: white;
}

.cookie-settings-buttons .save-settings:hover {
  background: var(--primary-green);
}

.cookie-settings-buttons .cancel-settings {
  background: #e0e0e0;
  color: var(--dark-text);
}

.cookie-settings-buttons .cancel-settings:hover {
  background: #ccc;
}

.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  text-align: center;
  padding: 20px;
}

.thanks-content {
  background: var(--bg-white);
  padding: 60px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-width: 600px;
}

.thanks-content img {
  width: 100px;
  margin-bottom: 30px;
}

.thanks-content h1 {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.thanks-content p {
  color: var(--light-text);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.legal-page {
  padding-top: 120px;
  padding-bottom: 60px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-top: 40px;
  margin-bottom: 15px;
}

.legal-content p {
  color: var(--light-text);
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.legal-content li {
  color: var(--light-text);
  margin-bottom: 10px;
}

.blog-page {
  padding-top: 120px;
  padding-bottom: 60px;
}

.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-article img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 30px;
}

.blog-article h1 {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  color: var(--light-text);
  font-size: 0.95rem;
}

.blog-article-content h2 {
  font-size: 1.8rem;
  color: var(--primary-green);
  margin-top: 40px;
  margin-bottom: 15px;
}

.blog-article-content h3 {
  font-size: 1.4rem;
  color: var(--dark-text);
  margin-top: 30px;
  margin-bottom: 10px;
}

.blog-article-content p {
  color: var(--light-text);
  margin-bottom: 20px;
  line-height: 1.8;
}

.blog-article-content ul,
.blog-article-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.blog-article-content li {
  color: var(--light-text);
  margin-bottom: 10px;
  line-height: 1.6;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-green);
  font-weight: 600;
  margin-bottom: 30px;
}

.back-link:hover {
  color: var(--primary-green);
}

@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: var(--transition);
  }

  nav.active {
    transform: translateY(0);
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .services-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .contact-form {
    padding: 25px;
  }

  .thanks-content {
    padding: 40px 25px;
  }

  .legal-content h1,
  .blog-article h1 {
    font-size: 1.8rem;
  }
}
