/* Base Styles */
:root {
  --primary-color: #4CAF50;
  --primary-dark: #388E3C;
  --primary-light: #C8E6C9;
  --secondary-color: #FF5722;
  --text-color: #333333;
  --text-light: #666666;
  --background-color: #FFFFFF;
  --background-alt: #F5F5F5;
  --border-color: #E0E0E0;
  --success-color: #4CAF50;
  --error-color: #F44336;
  --warning-color: #FFC107;
  --info-color: #2196F3;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-headings: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --container-padding: 1rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #66BB6A;
    --primary-dark: #43A047;
    --primary-light: #1B5E20;
    --secondary-color: #FF7043;
    --text-color: #F5F5F5;
    --text-light: #BBBBBB;
    --background-color: #121212;
    --background-alt: #1E1E1E;
    --border-color: #333333;
  }
}

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

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

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

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

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

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

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

ul li, ol li {
  margin-bottom: 0.5rem;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

button, .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

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

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

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

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

/* Header & Navigation */
header {
  background-color: var(--background-color);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

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

nav ul li {
  margin: 0 0.5rem;
}

nav ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-color);
  font-weight: 500;
  border-radius: var(--border-radius);
}

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

.text-size {
  display: flex;
  align-items: center;
}

#decrease-font {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  color: var(--text-color);
  font-size: 0.9rem;
  padding: 0.5rem;
}

#decrease-font:hover {
  color: var(--primary-color);
  background-color: transparent;
}

#decrease-font svg {
  width: 20px;
  height: 20px;
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn {
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

.hero .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Intro Section */
.intro {
  padding: 5rem 0;
  background-color: var(--background-color);
}

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

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

.intro-content img {
  width: 40%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.read-more:after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition);
}

.read-more:hover:after {
  margin-left: 0.75rem;
}

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

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--background-color);
}

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

.testimonial-slider {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.testimonial {
  max-width: 450px;
  background-color: var(--background-alt);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.testimonial-content p::before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  color: var(--primary-light);
  opacity: 0.5;
}

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

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

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

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

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

.newsletter p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.newsletter-form .btn {
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
}

.newsletter-form .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

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

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

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

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

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

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

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

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

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

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-contact svg {
  color: var(--primary-color);
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--background-color);
  border-radius: 50%;
  color: var(--text-light);
  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.9rem;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background-color);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: block;
}

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

.cookie-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

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

.btn-cookie {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

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

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

.cookie-content a {
  font-size: 0.8rem;
  text-decoration: underline;
}

/* Page Header (for interior pages) */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Blog Page Styles */
.blog-section {
  padding: 4rem 0;
}

.blog-filters {
  margin-bottom: 3rem;
  text-align: center;
}

.blog-filters h3 {
  margin-bottom: 1rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-post {
  display: flex;
  gap: 2rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.post-image {
  flex: 1;
  max-width: 300px;
}

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

.post-content {
  flex: 2;
  padding: 2rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.category {
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
}

.date {
  font-size: 0.9rem;
  color: var(--text-light);
}

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

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--background-alt);
  color: var(--text-color);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

/* About Page Styles */
.about-mission {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.mission-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.mission-text {
  flex: 3;
}

.mission-image {
  flex: 2;
}

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

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

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

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

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

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

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

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

.team-member h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1.2rem;
}

.team-member p {
  padding: 0 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

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

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

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

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

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

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

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

.value-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

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

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

.cert-list {
  column-count: 2;
  column-gap: 2rem;
}

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

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

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-buttons .btn {
  padding: 0.75rem 2rem;
}

.cta-buttons .btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

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

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

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

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

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

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

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

.info-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-content p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.info-content a {
  color: var(--text-light);
}

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

.social-media {
  margin-top: 2rem;
}

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

.contact-form-container h2 {
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

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

.form-group label {
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--font-main);
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

.checkbox-group input {
  margin-top: 0.25rem;
  margin-right: 0.5rem;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
}

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

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.map-container iframe {
  border: none;
}

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

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

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

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

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

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

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

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

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

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

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

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

.success-icon {
  color: var(--success-color);
  margin: 0 auto 1.5rem;
}

.thank-you-container h2 {
  margin-bottom: 1rem;
}

.thank-you-container p {
  margin-bottom: 2rem;
}

.close-btn {
  padding: 0.5rem 2rem;
}

/* Blog Post Styles */
.post-header {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
}

.post-header .post-category {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.9rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.post-header h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 2.75rem;
}

.post-header .post-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.post-header .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.post-header .date,
.post-header .read-time {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.post-content {
  padding: 4rem 0;
}

.post-image-full {
  margin-bottom: 3rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-body {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.post-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.post-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.post-body h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

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

.post-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  background-color: var(--background-alt);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-body blockquote p:last-child {
  margin-bottom: 0;
}

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

.post-tags span {
  font-weight: 600;
}

.post-tags a {
  background-color: var(--background-alt);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-color);
}

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

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

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

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

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

.author-bio p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.author-social {
  display: flex;
  gap: 0.75rem;
}

.post-navigation {
  margin-bottom: 4rem;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-nav-prev,
.post-nav-next {
  max-width: 250px;
}

.post-nav-prev span,
.post-nav-next span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.back-to-blog {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

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

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

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

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .mission-content,
  .intro-content {
    flex-direction: column;
  }
  
  .mission-image,
  .intro-content img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .blog-post {
    flex-direction: column;
  }
  
  .post-image {
    max-width: 100%;
  }
  
  .related-posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .testimonial-slider {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial {
    width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .filter-buttons {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 1rem;
    justify-content: flex-start;
  }
  
  .post-header .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .post-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .post-nav-prev,
  .post-nav-next {
    text-align: center;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    width: 100%;
  }
  
  .text-size {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo img {
    margin: 0 auto 1rem;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
}

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

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--background-color);
  clip: auto !important;
  clip-path: none;
  color: var(--text-color);
  display: block;
  font-size: 1rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Print Styles */
@media print {
  header, footer, .newsletter, .cookie-notice, .social-icons, .cta-section {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  .post-image-full img {
    max-height: 300px;
    object-fit: contain;
  }
  
  .post-body {
    max-width: 100%;
  }
}
