/* Base Styles */
:root {
  --primary-color: #3a7d44;
  --secondary-color: #4f9d69;
  --accent-color: #f9c846;
  --text-color: #333333;
  --light-text: #ffffff;
  --dark-bg: #1e3c28;
  --light-bg: #f4f9f5;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-width: 1200px;
}

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

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

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

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

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

h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--dark-bg);
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

/* Button Styles */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--light-text);
}

.btn-cookie {
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-right: 10px;
  border: none;
}

.btn-cookie.secondary {
  background-color: transparent;
  border: 1px solid var(--light-text);
  color: var(--light-text);
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 600;
  color: var(--text-color);
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active::after,
nav ul li a:hover::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  transform: scaleX(1);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 100px 0;
  position: relative;
  background-image: linear-gradient(rgba(30, 60, 40, 0.8), rgba(30, 60, 40, 0.8)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--light-text);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.features h2 {
  text-align: center;
  margin-bottom: 50px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 15px;
}

/* Latest Posts Section */
.latest-posts {
  padding: 80px 0;
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 50px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.post-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-10px);
}

.post-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--primary-color);
}

.read-more:hover {
  color: var(--secondary-color);
}

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

/* Newsletter Section */
.newsletter {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 80px 0;
  text-align: center;
}

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

.newsletter p {
  max-width: 600px;
  margin: 0 auto 30px;
}

#newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

#newsletter-form input {
  flex-grow: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

#newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer Styles */
footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  margin-bottom: 20px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  color: var(--light-text);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

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

.footer-links ul li a {
  color: #c5c5c5;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--light-text);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-contact svg {
  margin-right: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Header */
.page-header {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 60px 0;
  text-align: center;
}

.page-header h2 {
  color: var(--light-text);
  margin-bottom: 10px;
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 30px;
}

.blog-card:hover {
  transform: translateY(-10px);
}

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

.blog-content {
  padding: 20px;
}

.blog-meta {
  display: flex;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #777;
}

.blog-meta .date {
  margin-right: 20px;
}

.blog-meta .category {
  color: var(--primary-color);
}

/* Blog Post */
.blog-post {
  padding: 60px 0;
}

.post-header {
  margin-bottom: 30px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #777;
}

.post-meta span {
  margin-right: 20px;
}

.post-featured-image {
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.post-body {
  margin-bottom: 40px;
}

.post-body h3 {
  margin-top: 30px;
  margin-bottom: 20px;
}

.post-quote {
  background-color: var(--light-bg);
  padding: 30px;
  border-left: 4px solid var(--primary-color);
  margin: 30px 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-quote blockquote {
  font-style: italic;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.post-quote cite {
  display: block;
  text-align: right;
  font-weight: 600;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
}

.tag {
  background-color: var(--light-bg);
  padding: 5px 12px;
  border-radius: 30px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.post-share {
  display: flex;
  align-items: center;
}

.post-share span {
  margin-right: 15px;
}

.post-share a {
  margin-left: 10px;
  color: #777;
}

.post-share a:hover {
  color: var(--primary-color);
}

.related-posts {
  margin-top: 60px;
}

.related-posts h3 {
  margin-bottom: 30px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.related-card {
  background-color: #fff;
  padding: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.related-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
}

.related-card h4 {
  margin-bottom: 15px;
}

/* Contact Page */
.contact-info {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.contact-card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-10px);
}

.contact-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-form {
  padding-bottom: 60px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

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

.form-group.checkbox {
  display: flex;
  align-items: center;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: normal;
}

.map {
  padding-bottom: 60px;
}

.map h2 {
  text-align: center;
  margin-bottom: 30px;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* About Page */
.about-mission {
  padding: 60px 0;
}

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

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

.about-values {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.about-values h2 {
  text-align: center;
  margin-bottom: 50px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.team {
  padding: 60px 0;
}

.team h2 {
  text-align: center;
  margin-bottom: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-card {
  background-color: #fff;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-card img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 5px;
}

.team-card p {
  margin-bottom: 10px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.achievements {
  padding: 60px 0;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.achievements h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--light-text);
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.achievement-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.partners {
  padding: 60px 0;
}

.partners h2 {
  text-align: center;
  margin-bottom: 50px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  align-items: center;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease-in-out;
}

.cookie-notice.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 20px;
  max-width: 800px;
}

.cookie-buttons {
  margin-bottom: 15px;
}

.cookie-content a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Thank You Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  margin-bottom: 20px;
}

.thank-you-message h3 {
  margin-bottom: 15px;
}

.thank-you-message p {
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    margin-bottom: 30px;
  }
  
  .feature-grid,
  .post-grid,
  .blog-grid,
  .values-grid,
  .team-grid,
  .achievement-grid,
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 20px;
  }
  
  nav ul li {
    margin-left: 15px;
    margin-right: 15px;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  #newsletter-form {
    flex-direction: column;
  }
  
  #newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  #newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .post-share {
    margin-top: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  .cookie-buttons button {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin-bottom: 10px;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .form-container {
    padding: 20px;
  }
  
  .contact-grid,
  .values-grid,
  .team-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }
}
