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

:root {
  --primary-color: #2d5a3d;
  --secondary-color: #6b8e23;
  --accent-color: #ff6b35;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --background-light: #f8f9fa;
  --border-color: #dee2e6;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

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

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

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

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

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

/* Navigation */
.main-navigation {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-logo {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.nav-menu a:hover,
.nav-active {
  color: var(--primary-color);
  background: var(--background-light);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent-color);
  color: #fff;
  font-weight: bold;
  border-radius: 50px;
  transition: var(--transition);
}

.cta-button:hover {
  background: #ff5722;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255,107,53,0.4);
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background: var(--background-light);
}

.features-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

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

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

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Intro Section */
.intro-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  background-attachment: fixed;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.intro-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.secondary-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: 5px;
  margin-top: 1rem;
}

.secondary-button:hover {
  background: var(--secondary-color);
}

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

/* Blog Preview Section */
.blog-preview-section {
  padding: 5rem 0;
}

.blog-preview-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

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

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.blog-content h3 a:hover {
  color: var(--secondary-color);
}

.blog-content p {
  color: #666;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--accent-color);
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

.view-all-container {
  text-align: center;
}

.view-all-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  font-weight: bold;
}

.view-all-button:hover {
  background: var(--secondary-color);
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-attachment: fixed;
  color: #fff;
}

.stats-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--background-light);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.cta-button-large {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--accent-color);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
}

.cta-button-large:hover {
  background: #ff5722;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255,107,53,0.4);
}

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

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

.footer-column h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 0.8rem;
}

.registration-number {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  padding: 2rem;
  z-index: 9999;
  display: none;
}

.cookie-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}

.cookie-accept {
  background: var(--primary-color);
  color: #fff;
}

.cookie-accept:hover {
  background: var(--secondary-color);
}

.cookie-reject {
  background: #6c757d;
  color: #fff;
}

.cookie-reject:hover {
  background: #5a6268;
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Page Header */
.page-header {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  padding: 0 20px;
}

.header-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Blog Listing */
.blog-listing-section {
  padding: 3rem 0;
}

.view-counter {
  text-align: center;
  padding: 1rem;
  background: var(--background-light);
  border-radius: 5px;
  margin-bottom: 2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.view-icon {
  margin-right: 0.5rem;
}

.blog-posts-grid {
  display: grid;
  gap: 3rem;
}

.post-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

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

.post-content-area {
  padding: 2rem 2rem 2rem 0;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.post-category {
  background: var(--accent-color);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
}

.post-content-area h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.post-content-area h2 a:hover {
  color: var(--secondary-color);
}

.post-read-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: 5px;
}

.post-read-button:hover {
  background: var(--secondary-color);
}

/* About Page */
.about-intro-section {
  padding: 5rem 0;
}

.about-intro-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-intro-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Team Section */
.team-section {
  padding: 5rem 0;
  background: var(--background-light);
}

.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.team-grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.team-member-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 2rem 2rem 2rem 0;
}

.team-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 1rem;
}

.team-bio {
  line-height: 1.8;
}

/* Values Section */
.values-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  background-attachment: fixed;
}

.values-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

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

.value-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
  padding: 3rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info-area h2,
.contact-form-area h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-text h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

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

.submit-button {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.submit-button:hover {
  background: var(--secondary-color);
}

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

.modal-content {
  background: #fff;
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
}

.modal-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.modal-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.modal-close-btn {
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-close-btn:hover {
  background: var(--secondary-color);
}

/* Post Single */
.post-single {
  background: #fff;
}

.post-header {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.post-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  max-width: 900px;
  padding: 0 20px;
}

.post-category-badge {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.post-header-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.post-meta-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1rem;
}

.post-content-wrapper {
  padding: 3rem 0;
}

.post-featured-image {
  margin-bottom: 3rem;
}

.post-featured-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.post-body {
  font-size: 1.1rem;
  line-height: 1.9;
}

.lead-paragraph {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 2rem;
  font-weight: 300;
}

.post-body h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.post-body h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
  margin-bottom: 1.5rem;
  margin-left: 2rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

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

.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--background-light);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.back-to-blog {
  color: var(--primary-color);
  font-weight: bold;
}

.back-to-blog:hover {
  color: var(--accent-color);
}

/* Related Posts */
.related-posts {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border-color);
}

.related-posts h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

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

.related-post-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.related-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

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

.related-post-card h4 {
  padding: 1rem;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .intro-content {
    grid-template-columns: 1fr;
  }
  
  .post-card {
    grid-template-columns: 1fr;
  }
  
  .team-member-card {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .post-header-content h1 {
    font-size: 2rem;
  }
  
  .post-meta-info {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .post-footer {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hero-section {
    height: 400px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Parallax Effect */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}