/* Global Styles */
:root {
  --primary-color: #5e35b1;
  --primary-light: #7e57c2;
  --primary-dark: #4527a0;
  --secondary-color: #03a9f4;
  --secondary-light: #4fc3f7;
  --secondary-dark: #0288d1;
  --accent-color: #ffab00;
  --text-primary: #333333;
  --text-secondary: #757575;
  --text-light: #f5f5f5;
  --bg-light: #ffffff;
  --bg-grey: #f8f9fa;
  --bg-dark: #263238;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --info-color: #2196f3;
  
  --header-height: 80px;
  --footer-height: 400px;
  --container-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px var(--shadow-color);
  --transition: all 0.3s ease;

  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Montserrat', 'Roboto', sans-serif;
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

ul, ol {
  margin: 0 0 1.5rem 1.5rem;
}

section {
  padding: 4rem 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

.btn.secondary {
  background-color: var(--bg-light);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 0 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: var(--bg-grey);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

blockquote p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

blockquote cite {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Header Styles */
header {
  background-color: var(--bg-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

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

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

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

.logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.logo span {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

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

nav li {
  margin: 0 1rem;
}

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

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

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

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

.mobile-menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-icon span {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

/* Main page sections */
.hero {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 8rem 0 5rem;
  text-align: center;
  background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.editor-word {
  background-color: var(--bg-light);
}

.editor-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.editor-content img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-light);
}

.editor-text {
  flex: 1;
  min-width: 300px;
}

.editor-name {
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1rem;
}

.blog-posts {
  background-color: var(--bg-grey);
}

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

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

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

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

.post-card .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.post-card h3 {
  padding: 0 1.5rem;
  font-size: 1.25rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.4;
}

.post-card p {
  padding: 0 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.read-more {
  display: flex;
  align-items: center;
  padding: 0 1.5rem 1.5rem;
  font-weight: 500;
  gap: 0.5rem;
}

.testimonials {
  background-color: var(--bg-light);
}

.testimonials-slider {
  margin: 2rem 0;
  position: relative;
}

.testimonial-card {
  background-color: var(--bg-grey);
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: var(--primary-light);
  opacity: 0.2;
}

.testimonial-card p {
  margin-bottom: 2rem;
  font-style: italic;
}

.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 p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
  width: 12px;
  height: 12px;
}

.prev-slide,
.next-slide {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.prev-slide:hover,
.next-slide:hover {
  background-color: var(--primary-light);
  color: var(--text-light);
}

.newsletter {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--text-light);
  text-align: center;
}

.newsletter h2 {
  color: var(--text-light);
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

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

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  background-color: var(--accent-color);
  color: var(--text-primary);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: #f57c00;
}

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

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

.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.footer-logo h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-logo p {
  color: var(--text-secondary);
}

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

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

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

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

.footer-contact h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-contact address {
  font-style: normal;
  color: var(--text-secondary);
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--text-secondary);
}

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

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

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

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 1rem;
  z-index: 1001;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.cookie-buttons button {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

#acceptCookies {
  background-color: var(--primary-color);
  color: var(--text-light);
}

#acceptCookies:hover {
  background-color: var(--primary-dark);
}

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

#customizeCookies:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#rejectCookies {
  background-color: transparent;
  color: var(--text-light);
}

#rejectCookies:hover {
  text-decoration: underline;
}

.cookie-more {
  font-size: 0.9rem;
  margin: 0;
}

.cookie-more a {
  color: var(--primary-light);
  text-decoration: underline;
}

/* About Page */
.page-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 8rem 0 4rem;
  text-align: center;
  background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.about-intro {
  padding: 4rem 0;
}

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

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

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

.values {
  background-color: var(--bg-grey);
}

.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(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.value-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
}

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

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

.team {
  padding: 5rem 0;
}

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

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

.team-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

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

.team-card p {
  padding: 0 1.5rem;
  margin: 0 0 1rem;
}

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

.team-card .social-links {
  padding: 0 1.5rem 1.5rem;
  margin-top: 0;
}

.team-card .social-links a {
  width: 36px;
  height: 36px;
  background-color: var(--bg-grey);
  color: var(--primary-color);
}

.stats {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--text-light);
  padding: 5rem 0;
}

.stats h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-light);
}

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

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1;
  color: var(--accent-color);
}

.stat-card p {
  margin: 0;
  font-size: 1.1rem;
}

.cta {
  padding: 5rem 0;
  text-align: center;
  background-color: var(--bg-light);
}

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

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
}

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

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

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
}

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

.info-icon {
  margin-right: 1rem;
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

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

.info-content p {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

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

.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(--bg-grey);
  color: var(--primary-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
}

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

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

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

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

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

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

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

.checkbox-group input {
  width: auto;
  margin-top: 0.3rem;
}

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

.submit-btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.map-container {
  height: 450px;
  margin-top: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.faq-container {
  margin-top: 2rem;
}

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

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

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

.faq-toggle {
  color: var(--primary-color);
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
  max-height: 500px;
}

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

.modal.show {
  display: flex;
}

.modal-content {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: modalOpen 0.3s;
}

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

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

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

.thank-you-message {
  text-align: center;
  padding: 3rem;
}

.thank-you-message svg {
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

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

.thank-you-message p {
  margin-bottom: 1.5rem;
}

.modal-btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Blog Post Styles */
.post-content {
  padding: 8rem 0 4rem;
}

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

.post-header .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.post-main-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.post-body {
  margin: 3rem 0;
}

.post-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

.post-image {
  margin: 2rem 0;
  text-align: center;
}

.post-image img {
  border-radius: var(--border-radius);
  max-width: 100%;
  box-shadow: var(--box-shadow);
}

.image-caption {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

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

.post-tags span {
  color: var(--text-secondary);
}

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

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

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.nav-previous,
.nav-next {
  display: flex;
  align-items: center;
}

.nav-previous a,
.nav-next a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
}

.related-posts {
  margin: 4rem 0;
}

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

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

.post-comments {
  margin-top: 4rem;
}

.post-comments h2 {
  margin-bottom: 2rem;
}

.comments-form {
  background-color: var(--bg-grey);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.comments-form h3 {
  margin-bottom: 1.5rem;
}

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

.comments-form button {
  justify-self: start;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.comments-form button:hover {
  background-color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 7rem 0 4rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

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

  .editor-content img {
    margin: 0 auto;
  }

  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  header .container {
    flex-wrap: wrap;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-light);
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 2rem;
  }

  nav li {
    margin: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-menu-icon {
    display: flex;
  }

  .mobile-menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-icon.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    margin-top: 1rem;
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto 1rem;
  }

  .social-links {
    justify-content: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .contact-wrapper {
    flex-direction: column;
  }

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

  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .post-header .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-author img {
    margin: 0 auto 1rem;
  }

  .slider-controls {
    flex-direction: column;
    gap: 1rem;
  }
}
