/* Base Styles and CSS Variables */
:root {
  --primary-color: #4CAF50;
  --primary-dark: #388E3C;
  --primary-light: #C8E6C9;
  --secondary-color: #FFA000;
  --text-color: #333333;
  --text-light: #757575;
  --background-color: #FFFFFF;
  --background-alt: #F5F5F5;
  --border-color: #E0E0E0;
  --success-color: #4CAF50;
  --error-color: #F44336;
  --warning-color: #FF9800;
  --info-color: #2196F3;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
}

/* Dark Theme Variables */
.dark-theme {
  --primary-color: #6ABF6E;
  --primary-dark: #4CAF50;
  --primary-light: #2C682E;
  --secondary-color: #FFB74D;
  --text-color: #E0E0E0;
  --text-light: #B0B0B0;
  --background-color: #121212;
  --background-alt: #1E1E1E;
  --border-color: #333333;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Typography Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1rem;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
header {
  background-color: var(--background-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.logo span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

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

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  left: 0;
  bottom: 0;
  transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

.theme-toggle {
  margin-left: 1.5rem;
}

.theme-toggle button {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
}

.theme-toggle button:hover {
  background-color: var(--primary-light);
  color: var(--background-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

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

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

.btn-tertiary {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--border-color);
}

.btn-tertiary:hover {
  background-color: var(--background-alt);
}

/* Features Section */
.features {
  padding: 5rem 0;
  text-align: center;
}

.features h2 {
  margin-bottom: 3rem;
}

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

.feature-card {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--background-alt);
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.step {
  flex: 1;
  min-width: 200px;
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto 1rem;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 3rem;
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding-bottom: 1rem;
}

.testimonial {
  flex: 0 0 calc(33.333% - 1.33rem);
  scroll-snap-align: start;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  text-align: left;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Recent Posts Section */
.recent-posts {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.recent-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 1.5rem;
}

.post-date {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.post-excerpt {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
}

.view-all {
  text-align: center;
  margin-top: 3rem;
}

/* Admin Preview Section */
.admin-preview {
  padding: 5rem 0;
}

.admin-preview h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.admin-preview p {
  text-align: center;
  margin-bottom: 3rem;
}

.admin-frame {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.admin-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.admin-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
}

.admin-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

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

.cta .btn-primary:hover {
  background-color: var(--primary-light);
  color: white;
}

/* Footer */
footer {
  background-color: var(--background-alt);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.company-info {
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

.footer-contact {
  flex: 1.5;
  min-width: 250px;
}

.footer-contact h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact address p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact address p i {
  margin-right: 0.75rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.footer-social {
  flex: 1;
  min-width: 150px;
}

.footer-social h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

.social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-color);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
}

.cookie-content {
  padding: 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-content p {
  margin-bottom: 1.5rem;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

/* Page Header */
.page-header {
  background-color: var(--background-alt);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

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

/* About Page Styles */
.about-story {
  padding: 5rem 0;
}

.about-content {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.mission-values {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.mission-values h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.value-card {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.team {
  padding: 5rem 0;
}

.team h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.team-member {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.team-member h3 {
  margin: 1.5rem 0 0.5rem;
}

.team-member p {
  color: var(--text-light);
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member .social-icons {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.farmers {
  padding: 5rem 0;
  background-color: var(--background-alt);
  text-align: center;
}

.farmers h2 {
  margin-bottom: 3rem;
}

.farmers-map {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.impact {
  padding: 5rem 0;
  text-align: center;
}

.impact h2 {
  margin-bottom: 3rem;
}

.impact-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat {
  flex: 1;
  min-width: 200px;
}

.stat h3 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Blog Page Styles */
.blog-categories {
  padding: 2rem 0;
  background-color: var(--background-color);
  box-shadow: var(--shadow-sm);
}

.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-tab {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.category-tab:hover {
  background-color: var(--primary-light);
  color: white;
}

.category-tab.active {
  background-color: var(--primary-color);
  color: white;
}

.blog-content {
  padding: 5rem 0;
}

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

.blog-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-image {
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-date, .blog-category {
  font-size: 0.875rem;
  color: var(--text-light);
}

.blog-card h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
}

.current-page {
  margin-right: 1rem;
  color: var(--text-light);
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  margin: 0 0.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover {
  background-color: var(--primary-light);
  color: white;
  border-color: var(--primary-light);
}

.page-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.newsletter {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

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

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
}

/* Blog Post Styles */
.blog-post-container {
  padding: 5rem 0;
}

.blog-breadcrumbs {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

.blog-breadcrumbs a {
  color: var(--text-light);
}

.blog-breadcrumbs a:hover {
  color: var(--primary-color);
}

.blog-post-header {
  margin-bottom: 3rem;
}

.blog-post-header .blog-meta {
  margin-bottom: 1.5rem;
}

.blog-post-header .blog-meta span {
  display: inline-flex;
  align-items: center;
  margin-right: 1.5rem;
}

.blog-post-header .blog-meta i {
  margin-right: 0.5rem;
}

.blog-post-header h1 {
  font-size: 2.5rem;
}

.blog-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.blog-post-image {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.blog-post-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.blog-post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 3rem 0;
  align-items: center;
}

.blog-post-tags span {
  font-weight: 600;
  margin-right: 0.5rem;
}

.blog-post-tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-light);
  color: white;
  border-radius: 1rem;
  font-size: 0.875rem;
  transition: var(--transition);
}

.blog-post-tags a:hover {
  background-color: var(--primary-color);
}

.blog-post-share {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.blog-post-share span {
  font-weight: 600;
  margin-right: 1rem;
}

.social-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: var(--transition);
}

.social-share.facebook {
  background-color: #3b5998;
  color: white;
}

.social-share.twitter {
  background-color: #1da1f2;
  color: white;
}

.social-share.pinterest {
  background-color: #bd081c;
  color: white;
}

.social-share.email {
  background-color: #333;
  color: white;
}

.social-share:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.blog-post-author {
  display: flex;
  gap: 2rem;
  background-color: var(--background-alt);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--text-light);
}

.author-info h4 {
  margin-bottom: 1rem;
}

.related-posts {
  margin-bottom: 3rem;
}

.related-posts h3 {
  margin-bottom: 2rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.related-post {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.related-post h4 {
  padding: 1rem;
  font-size: 1rem;
  margin-bottom: 0;
}

.blog-navigation {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.prev-post, .next-post, .back-to-blog {
  display: flex;
  align-items: center;
  max-width: 30%;
}

.prev-post, .back-to-blog {
  margin-right: auto;
}

.next-post {
  margin-left: auto;
  text-align: right;
}

.prev-post i, .next-post i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.prev-post i {
  margin-right: 1rem;
}

.next-post i {
  margin-left: 1rem;
}

.prev-post span, .next-post span {
  font-size: 0.875rem;
}

.back-to-blog {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.back-to-blog i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.prev-post-placeholder, .next-post-placeholder {
  width: 30%;
}

/* Products Page Styles */
.subscription-overview {
  padding: 5rem 0;
}

.overview-content {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.overview-text {
  flex: 1;
}

.overview-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.benefits-list {
  list-style: none;
  margin-top: 2rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.benefits-list li i {
  color: var(--success-color);
  margin-right: 1rem;
}

.how-subscription-works {
  padding: 5rem 0;
  background-color: var(--background-alt);
  text-align: center;
}

.how-subscription-works h2 {
  margin-bottom: 3rem;
}

.subscription-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.subscription-steps .step {
  flex: 1;
  min-width: 200px;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.subscription-boxes {
  padding: 5rem 0;
}

.subscription-boxes h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.subscription-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: none;
  border: none;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.filter-btn:hover {
  background-color: var(--primary-light);
  color: white;
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
}

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

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

.box-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.box-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.box-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.box-badge.most-popular {
  background-color: var(--secondary-color);
  color: white;
}

.box-badge.new {
  background-color: var(--info-color);
  color: white;
}

.box-badge.seasonal {
  background-color: var(--warning-color);
  color: white;
}

.box-content {
  padding: 2rem;
}

.box-price {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.box-price span {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: normal;
}

.box-description {
  margin-bottom: 1.5rem;
}

.box-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.box-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.box-features li i {
  color: var(--success-color);
  margin-right: 1rem;
}

.subscription-features {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.subscription-features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.delivery-info {
  padding: 5rem 0;
}

.delivery-info h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.delivery-content {
  display: flex;
  gap: 4rem;
}

.delivery-map {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.delivery-details {
  flex: 1;
}

.delivery-details h3 {
  margin-bottom: 1rem;
}

.delivery-areas {
  list-style: none;
  margin-bottom: 2rem;
  columns: 2;
}

.delivery-areas li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.delivery-areas li:before {
  content: '✓';
  color: var(--success-color);
  position: absolute;
  left: 0;
}

.postcode-checker {
  margin-bottom: 2rem;
}

.postcode-form {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.postcode-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
}

.delivery-days ul {
  list-style: none;
}

.delivery-days li {
  margin-bottom: 0.5rem;
}

.faq {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--background-color);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: var(--primary-light);
  color: white;
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  background-color: var(--background-color);
  transition: var(--transition);
}

.accordion-item.active .accordion-header {
  background-color: var(--primary-color);
  color: white;
}

.accordion-item.active .accordion-content {
  padding: 1.5rem;
  max-height: 500px;
}

.accordion-item.active .accordion-header i {
  transform: rotate(45deg);
}

.testimonials-alt {
  padding: 5rem 0;
}

.testimonials-alt h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-slider-alt {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding-bottom: 1rem;
}

.testimonial-alt {
  flex: 0 0 calc(33.333% - 1.33rem);
  scroll-snap-align: start;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-alt .testimonial-author {
  margin-top: 1.5rem;
}

.rating {
  margin-top: 0.5rem;
  color: var(--secondary-color);
}

.cta-small {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 1rem;
}

/* Contact Page Styles */
.contact-options {
  padding: 5rem 0;
}

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

.contact-card {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-info {
  margin: 1.5rem 0;
}

.contact-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.contact-info p i {
  margin-right: 0.75rem;
  color: var(--primary-color);
}

.hours {
  font-size: 0.875rem;
  color: var(--text-light);
}

.contact-form-section {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.contact-content {
  display: flex;
  gap: 4rem;
}

.contact-info-details {
  flex: 1;
}

.contact-info-details h2 {
  margin-bottom: 1.5rem;
}

.contact-info-details p {
  margin-bottom: 2rem;
}

.contact-address, .contact-hours {
  margin-bottom: 2rem;
}

.contact-address h3, .contact-hours h3, .social-connect h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-hours ul {
  list-style: none;
}

.contact-hours li {
  margin-bottom: 0.5rem;
}

.social-connect .social-icons {
  margin-top: 1rem;
}

.contact-form-container {
  flex: 1.5;
  background-color: var(--background-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  background-color: var(--background-color);
  color: var(--text-color);
  transition: var(--transition);
}

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

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

.checkbox-group input {
  width: auto;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

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

.location-map {
  padding: 5rem 0;
}

.location-map h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.map-directions {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
}

.faq-mini {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.faq-mini h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.modal-content {
  background-color: var(--background-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

.modal h3 {
  margin-bottom: 1rem;
}

.modal p {
  margin-bottom: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero .container, .about-content, .overview-content, .delivery-content, .contact-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .hero-image, .about-image, .overview-image, .delivery-map {
    order: -1;
  }
  
  .testimonial, .testimonial-alt {
    flex: 0 0 calc(50% - 1rem);
  }
  
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav, .theme-toggle {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .testimonial, .testimonial-alt {
    flex: 0 0 calc(100% - 2rem);
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-logo, .footer-links, .footer-contact, .footer-social {
    min-width: 100%;
  }
  
  .blog-post-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-navigation {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  .prev-post, .next-post, .back-to-blog {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0;
  }
  
  .cta-buttons, .newsletter-form, .cookie-buttons, .postcode-form {
    flex-direction: column;
    gap: 1rem;
  }
  
  .steps, .impact-stats {
    flex-direction: column;
  }
  
  .blog-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .team-grid, .values-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark Mode Toggle Animation */
.dark-theme .theme-toggle button i {
  transform: rotate(180deg);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-banner.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

/* Accessibility */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  header, footer, .cta, .cookie-banner, .theme-toggle, .blog-post-share, .related-posts, .blog-navigation {
    display: none;
  }
  
  body {
    background-color: white;
    color: black;
    font-size: 12pt;
  }
  
  a {
    text-decoration: underline;
    color: black;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  .blog-post-content img {
    max-width: 500px;
    margin: 1rem auto;
  }
}
