/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #F6F9F4;
  color: #2E4634;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #4A7C59;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.logo-text {
  color: #F6F9F4;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-text .highlight {
  color: #A3C6C4;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

.nav-links li a {
  color: #F6F9F4;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #A3C6C4;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a:focus::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #4A7C59 10%, #A3C6C4 100%);
  color: #F6F9F4;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Content Sections */
.content-section {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.content-section h2 {
  color: #4A7C59;
  text-align: center;
  margin-bottom: 1.5rem;
}

.content-section p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  background-color: #4A7C59;
  color: #F6F9F4;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  background-color: #3B6247;
  transform: scale(1.03);
}

/* Blog Preview Styles */
.blog-post {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #DCE4DC;
}

.blog-post h3 {
  color: #4A7C59;
  margin-bottom: 0.5rem;
}

.post-date {
  font-size: 0.85rem;
  color: #7A9C89;
  display: block;
  margin-bottom: 0.75rem;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 70, 52, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #ffffff;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  border-radius: 12px;
  position: relative;
  animation: fadeIn 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-content h3 {
  color: #4A7C59;
  margin-bottom: 0.5rem;
}

.modal-content small {
  display: block;
  color: #7A9C89;
  margin-bottom: 1rem;
}

.modal-text {
  font-size: 1rem;
  color: #2E4634;
  line-height: 1.6;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  font-size: 1.5rem;
  color: #4A7C59;
  border: none;
  cursor: pointer;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #4A7C59;
  color: #F6F9F4;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .content-section {
    margin: 2rem 1rem;
  }
}
