:root {
  --primary-color: #2c6e49;
  --primary-light: #4d9b74;
  --primary-dark: #1e4d33;
  --secondary-color: #f9c74f;
  --secondary-light: #fad576;
  --secondary-dark: #e7b73a;
  --accent-color: #e76f51;
  --text-color: #333333;
  --text-light: #666666;
  --text-dark: #1a1a1a;
  --background-color: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #e9ecef;
  --border-color: #dee2e6;
  --border-light: #e9ecef;
  --border-dark: #ced4da;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  --font-family-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-family-serif: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  --font-family-mono: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
  
  --border-radius-none: 0;
  --border-radius-sm: 0.125rem;
  --border-radius: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-2xl: 1rem;
  --border-radius-3xl: 1.5rem;
  --border-radius-full: 9999px;
  
  --box-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --box-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --box-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --box-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --box-shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  --transition-base: all 0.3s ease;
  --transition-slower: all 0.5s ease;
  --transition-fast: all 0.15s ease;
  
  --container-padding: 1rem;
  --section-padding: 4rem 0;
  --section-padding-sm: 2rem 0;
}

/* Dark Theme Variables */
.dark-theme {
  --primary-color: #3a9a6f;
  --primary-light: #5bb88d;
  --primary-dark: #2d7856;
  --secondary-color: #f9c74f;
  --secondary-light: #fad576;
  --secondary-dark: #e7b73a;
  --accent-color: #e76f51;
  --text-color: #e6e6e6;
  --text-light: #cccccc;
  --text-dark: #ffffff;
  --background-color: #121212;
  --background-light: #1e1e1e;
  --background-dark: #0a0a0a;
  --border-color: #333333;
  --border-light: #444444;
  --border-dark: #222222;
  --gray-100: #1a1a1a;
  --gray-200: #2a2a2a;
  --gray-300: #333333;
  --gray-400: #444444;
  --gray-500: #555555;
  --gray-600: #888888;
  --gray-700: #aaaaaa;
  --gray-800: #cccccc;
  --gray-900: #eeeeee;
}

/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-color);
  background-color: var(--background-color);
  transition: var(--transition-base);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-serif);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: 0.5em;
  color: var(--text-dark);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
}

p {
  margin-bottom: 1rem;
}

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

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Button Styles */
.btn {
  display: inline-block;
  font-weight: var(--font-weight-medium);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.625rem 1.25rem;
  font-size: var(--font-size-base);
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: var(--transition-base);
  cursor: pointer;
}

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

.primary-btn:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
}

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

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
}

/* Header Styles */
header {
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-base);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

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

.logo h1 {
  font-size: var(--font-size-2xl);
  margin-bottom: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  padding: 0.5rem;
  transition: var(--transition-base);
}

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

.theme-toggle {
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin: 0 0.5rem;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-400);
  transition: var(--transition-base);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: var(--transition-base);
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 10px;
  transition: all 0.3s linear;
}

/* Hero Section */
.hero {
  padding: var(--section-padding);
  background-color: var(--background-light);
}

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

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
  max-width: 100%;
  height: auto;
}

/* Editor's Note Section */
.editor-note {
  padding: var(--section-padding-sm);
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
}

.editor-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.editor-content h3 {
  margin-bottom: 1.5rem;
}

.editor-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid var(--primary-color);
}

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

.editor-content blockquote {
  font-style: italic;
  font-family: var(--font-family-serif);
  font-size: var(--font-size-lg);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 1rem 2rem;
}

.editor-content blockquote::before,
.editor-content blockquote::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.3;
  position: absolute;
}

.editor-content blockquote::before {
  top: -10px;
  left: 0;
}

.editor-content blockquote::after {
  bottom: -30px;
  right: 0;
}

.editor-content cite {
  display: block;
  font-style: normal;
  font-weight: var(--font-weight-semibold);
  margin-top: 1rem;
  color: var(--primary-color);
}

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

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

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

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

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

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

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Latest Posts Section */
.latest-posts {
  padding: var(--section-padding);
  background-color: var(--background-color);
}

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

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

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

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

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

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

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  margin-bottom: 1rem;
  font-size: var(--font-size-xl);
}

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

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

.read-more:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.posts-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--background-light);
}

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

.testimonial-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  min-width: 300px;
  flex: 1;
  transition: var(--transition-base);
}

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

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

.testimonial-content p {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.author-info h4 {
  margin-bottom: 0.25rem;
  font-size: var(--font-size-base);
}

.author-info p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  margin-bottom: 0;
}

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

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

.cta-content p {
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

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

/* Footer Styles */
footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding-top: 4rem;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.footer-logo h3 {
  font-size: var(--font-size-xl);
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: var(--text-light);
  font-size: var(--font-size-sm);
}

.footer-links h4, .footer-legal h4, .footer-contact h4 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: var(--font-size-base);
}

.footer-links ul, .footer-legal ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

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

.footer-links a, .footer-legal a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-links a:hover, .footer-legal a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  margin-bottom: 0.75rem;
  font-size: var(--font-size-sm);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

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

.copyright {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow-xl);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  z-index: 1000;
  max-width: 500px;
  margin: 0 auto;
  display: none; /* Initially hidden, will be shown via JavaScript */
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: var(--font-size-sm);
  transition: var(--transition-base);
}

#accept-cookies {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

#customize-cookies {
  background-color: var(--background-light);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

#reject-cookies {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.cookie-content a {
  font-size: var(--font-size-sm);
  text-decoration: underline;
}

/* Page Banner */
.page-banner {
  padding: 4rem 0;
  background-color: var(--background-light);
  text-align: center;
}

.page-banner h2 {
  margin-bottom: 1rem;
}

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

/* About Page Styles */
.about-intro {
  padding: var(--section-padding);
  background-color: var(--background-color);
}

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

.about-text {
  flex: 1;
}

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

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

.about-image {
  flex: 1;
}

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

.values {
  padding: var(--section-padding);
  background-color: var(--background-light);
  text-align: center;
}

.values h3 {
  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);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition-base);
}

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

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

.value-card h4 {
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.team {
  padding: var(--section-padding);
  background-color: var(--background-color);
  text-align: center;
}

.team h3 {
  margin-bottom: 3rem;
}

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

.team-member {
  background-color: var(--background-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.team-member img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.team-member h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  font-size: var(--font-size-lg);
}

.team-member p {
  margin: 0.25rem 1.5rem 1rem;
  color: var(--text-light);
}

.team-member p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
}

.team-member .social-links {
  margin-top: auto;
  padding: 1.5rem;
  justify-content: center;
}

.team-member .social-links a {
  width: 32px;
  height: 32px;
}

.timeline {
  padding: var(--section-padding);
  background-color: var(--background-light);
  text-align: center;
}

.timeline h3 {
  margin-bottom: 3rem;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  margin-bottom: 3rem;
  text-align: left;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition-base);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* Blog Page Styles */
.blog-filters {
  padding: 2rem 0;
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
}

.filter-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-box {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.search-box input {
  border: none;
  padding: 0.5rem 1rem;
  outline: none;
  background-color: var(--background-color);
  color: var(--text-color);
}

.search-box button {
  border: none;
  padding: 0 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition-base);
}

.search-box button:hover {
  background-color: var(--primary-dark);
}

.categories {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.categories ul {
  display: flex;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.categories a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  background-color: var(--background-light);
  color: var(--text-color);
  transition: var(--transition-base);
}

.categories a:hover, .categories a.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.blog-grid {
  padding: var(--section-padding);
  background-color: var(--background-light);
}

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

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition-base);
}

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

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

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

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

.post-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: var(--font-size-sm);
}

.post-category {
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
}

.post-date {
  color: var(--text-light);
}

.post-content h3 {
  margin-bottom: 1rem;
  font-size: var(--font-size-xl);
}

.post-content h3 a {
  color: var(--text-dark);
  transition: var(--transition-base);
}

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

.post-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.read-more {
  font-weight: var(--font-weight-medium);
  color: var(--primary-color);
  margin-top: auto;
  align-self: flex-start;
}

.read-more:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.pagination {
  padding: 2rem 0;
  background-color: var(--background-light);
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--background-color);
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition-base);
}

.page-link.next {
  width: auto;
  padding: 0 1rem;
  border-radius: var(--border-radius);
  gap: 0.5rem;
}

.page-link:hover, .page-link.current {
  background-color: var(--primary-color);
  color: var(--white);
}

.page-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.newsletter {
  padding: var(--section-padding);
  background-color: var(--background-color);
}

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

.newsletter-content h3 {
  margin-bottom: 1rem;
}

.newsletter-content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

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

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  outline: none;
  background-color: var(--background-color);
  color: var(--text-color);
}

.newsletter-privacy {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

/* Services Page Styles */
.services-intro {
  padding: var(--section-padding);
  background-color: var(--background-color);
}

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

.services-intro-text {
  flex: 1;
}

.services-intro-text h3 {
  margin-bottom: 1.5rem;
}

.services-intro-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.services-intro-image {
  flex: 1;
}

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

.services-grid {
  padding: var(--section-padding);
  background-color: var(--background-light);
  text-align: center;
}

.services-grid h3 {
  margin-bottom: 3rem;
}

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

.service-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition-base);
  text-align: left;
}

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

.service-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-card h4 {
  margin-bottom: 1rem;
}

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

.service-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

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

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
}

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

.pricing {
  padding: var(--section-padding);
  background-color: var(--background-color);
  text-align: center;
}

.pricing h3 {
  margin-bottom: 3rem;
}

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

.pricing-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  transition: var(--transition-base);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: translateY(-5px) scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
  padding: 2rem;
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
}

.pricing-header h4 {
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.pricing-price .price {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
}

.pricing-price .period {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.pricing-features {
  padding: 2rem;
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  text-align: left;
}

.pricing-features li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
}

.pricing-footer {
  padding: 2rem;
  border-top: 1px solid var(--border-color);
}

.pricing-footer .btn {
  width: 100%;
}

.pricing-note {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.faq {
  padding: var(--section-padding);
  background-color: var(--background-light);
  text-align: center;
}

.faq h3 {
  margin-bottom: 3rem;
}

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

.faq-item {
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition-base);
}

.faq-question:hover {
  background-color: var(--background-light);
}

.faq-question h4 {
  margin-bottom: 0;
  font-size: var(--font-size-base);
  text-align: left;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  transition: var(--transition-base);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  text-align: left;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* Contact Page Styles */
.contact-section {
  padding: var(--section-padding);
  background-color: var(--background-color);
}

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

.contact-info h3, .contact-form-container h3 {
  margin-bottom: 1.5rem;
}

.contact-info p, .contact-form-container p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-text h4 {
  margin-bottom: 0.5rem;
}

.info-text p {
  margin-bottom: 0.25rem;
}

.info-detail {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.social-links h4 {
  margin-bottom: 1rem;
}

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

.contact-form-container {
  background-color: var(--background-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.form-group input, .form-group select, .form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  outline: none;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: var(--transition-base);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(44, 110, 73, 0.2);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  position: relative;
  cursor: pointer;
  font-size: var(--font-size-sm);
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  min-width: 20px;
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-base);
}

.checkbox-container:hover input ~ .checkmark {
  background-color: var(--background-light);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-form button {
  grid-column: span 2;
}

.map-section {
  padding: var(--section-padding);
  background-color: var(--background-light);
  text-align: center;
}

.map-section h3 {
  margin-bottom: 2rem;
}

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

.map-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.modal-content {
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.close-modal:hover {
  color: var(--text-dark);
}

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

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

.modal-content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero .container, .about-content, .services-intro-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .hero-image, .about-image, .services-intro-image {
    order: -1;
  }
  
  .timeline-container::after {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
    --section-padding-sm: 1.5rem 0;
    --container-padding: 1rem;
  }
  
  h1 {
    font-size: var(--font-size-3xl);
  }
  
  h2 {
    font-size: var(--font-size-2xl);
  }
  
  h3 {
    font-size: var(--font-size-xl);
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    padding: 1rem;
    box-shadow: var(--box-shadow);
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
  
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width, .contact-form button {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-4xl: 2.5rem;
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.5rem;
    --font-size-xl: 1.25rem;
    --font-size-lg: 1.125rem;
  }
  
  .logo h1 {
    font-size: var(--font-size-xl);
  }
  
  .hero-cta, .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  
  .modal-content {
    padding: 2rem 1rem;
  }
}
