/* Base Styles */
:root {
  --primary-color: #4a6cf7;
  --primary-dark: #3a5ae4;
  --primary-light: #657ef8;
  --secondary-color: #2d3748;
  --tertiary-color: #e2e8f0;
  --accent-color: #f56565;
  --text-color: #333;
  --text-light: #718096;
  --text-dark: #1a202c;
  --background-color: #ffffff;
  --background-light: #f8fafc;
  --background-dark: #edf2f7;
  --success-color: #48bb78;
  --warning-color: #ed8936;
  --error-color: #e53e3e;
  --border-color: #e2e8f0;
  --border-radius: 6px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
  --footer-bg: #1a202c;
  --footer-text: #f7fafc;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  border: none;
  line-height: 1.5;
}

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

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

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

.btn-secondary:hover {
  background-color: #1e2533;
  color: white;
}

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

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

/* Header */
header {
  background-color: var(--background-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

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

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

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

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

nav li {
  margin: 0 1rem;
}

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

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

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

nav a.active:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.language-switch {
  position: relative;
}

#lang-toggle {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0.5rem;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  padding: 0.5rem;
  min-width: 120px;
  display: none;
  z-index: 10;
}

.language-dropdown a {
  display: block;
  padding: 0.5rem;
  text-align: left;
  color: var(--text-dark);
}

.language-dropdown a.active {
  color: var(--primary-color);
  background-color: var(--background-light);
  border-radius: var(--border-radius);
}

.language-dropdown a:hover {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
}

.language-switch:hover .language-dropdown {
  display: block;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background-color: var(--background-light);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 108, 247, 0.1) 0%, rgba(74, 108, 247, 0) 100%);
  z-index: 0;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

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

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

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

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

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

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: var(--background-color);
}

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

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

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

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

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

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

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

/* Expert Interview Section */
.expert-interview {
  padding: 6rem 0;
  background-color: var(--background-light);
}

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

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

.expert-image {
  flex: 1;
  max-width: 400px;
}

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

.expert-quote {
  flex: 2;
}

blockquote {
  font-size: 1.25rem;
  line-height: 1.7;
  position: relative;
  padding-left: 2rem;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 1.5rem;
}

blockquote p {
  margin-bottom: 0.5rem;
}

blockquote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text-light);
}

.read-more {
  margin-top: 1.5rem;
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.section-header.centered {
  flex-direction: column;
  text-align: center;
}

.section-header.centered h2 {
  margin-bottom: 1rem;
}

.view-all {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.posts-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(--box-shadow);
  transition: var(--transition);
}

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

.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;
  display: block;
}

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

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

.read-more {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

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

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

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

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

.newsletter-form button {
  background-color: white;
  color: var(--primary-color);
}

.newsletter-form button:hover {
  background-color: var(--tertiary-color);
  color: var(--primary-color);
}

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

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

.footer-about {
  grid-column: span 1;
}

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

.footer-about p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

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

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

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

.footer-links h3,
.footer-contact h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

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

.footer-links a {
  color: var(--footer-text);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

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

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

.footer-bottom p {
  margin-bottom: 0;
  opacity: 0.7;
  font-size: 0.875rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 2rem;
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.cookie-content p {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  max-width: 800px;
}

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

.cookie-info {
  font-size: 0.875rem;
}

.cookie-info a {
  text-decoration: underline;
}

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

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

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

/* Blog Styles */
.blog-filters {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-box {
  display: flex;
  max-width: 300px;
}

.search-box input {
  flex: 1;
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  padding: 0.5rem 1rem;
}

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

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

.categories span {
  color: var(--text-light);
}

.categories a {
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  color: var(--text-dark);
}

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

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-post {
  display: flex;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-post:hover {
  box-shadow: var(--box-shadow-hover);
}

.blog-post .post-image {
  flex: 0 0 350px;
  height: auto;
}

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

.post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

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

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

.post-category i, 
.post-date i, 
.post-author i {
  color: var(--primary-color);
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.post-stats {
  display: flex;
  gap: 1rem;
}

.post-stats span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

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

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  background-color: var(--background-light);
  color: var(--text-dark);
  font-weight: 600;
}

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

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

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

.post-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

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

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

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

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

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

.post-featured-image img {
  width: 100%;
}

.post-introduction {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.post-toc {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.post-toc h3 {
  margin-bottom: 1rem;
}

.post-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.post-toc a {
  color: var(--text-color);
  transition: var(--transition);
}

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

.post-main section {
  margin-bottom: 3rem;
}

.post-main h2 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.post-main h3 {
  margin: 2rem 0 1rem;
}

.code-snippet {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.code-snippet pre {
  margin: 0;
}

.code-snippet code {
  font-family: 'Fira Code', 'Courier New', monospace;
  color: #f8f8f2;
  line-height: 1.5;
}

.info-box {
  background-color: var(--background-light);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.info-box ul, .info-box ol {
  margin-bottom: 0;
}

.image-container {
  margin-bottom: 1.5rem;
}

.image-container img {
  width: 100%;
  border-radius: var(--border-radius);
  margin-bottom: 0.5rem;
}

.image-container figcaption {
  font-size: 0.875rem;
  color: var(--text-light);
  text-align: center;
}

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

.concept {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.concept h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.concept p {
  margin-bottom: 0;
}

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

.benefit-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: var(--transition);
}

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

.benefit-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.benefit-icon i {
  color: white;
}

.benefit-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  margin-bottom: 0;
}

.comparison-table {
  margin-bottom: 1.5rem;
}

.comparison-table h4 {
  margin-bottom: 1rem;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.comparison-table th {
  background-color: var(--background-light);
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--background-light);
}

.tool-highlight {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.tool-image img {
  border-radius: var(--border-radius);
  width: 100%;
}

.tool-details h4 {
  margin-bottom: 1rem;
}

.tool-details ul {
  margin-bottom: 1rem;
}

.tool-quote {
  border-left: 3px solid var(--primary-color);
  padding-left: 1rem;
}

.tool-quote blockquote {
  border-left: none;
  padding-left: 0;
  font-size: 1rem;
}

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

.metric-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.metric-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.metric-icon i {
  color: white;
  font-size: 1.25rem;
}

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

.metric-target {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.metric-target .good {
  color: var(--success-color);
}

.metric-target .needs-improvement {
  color: var(--warning-color);
}

.metric-target .poor {
  color: var(--error-color);
}

.post-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.post-tags span {
  color: var(--text-light);
  font-weight: 600;
}

.post-tags a {
  background-color: var(--background-light);
  color: var(--text-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  transition: var(--transition);
}

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

.post-author-bio {
  display: flex;
  gap: 1.5rem;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.author-image {
  flex: 0 0 100px;
}

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

.author-info {
  flex: 1;
}

.author-info h3 {
  margin-bottom: 0.25rem;
}

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

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

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

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

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.prev-post, .next-post {
  flex: 1;
  max-width: 45%;
}

.next-post {
  text-align: right;
}

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

.post-navigation a {
  font-weight: 600;
  color: var(--text-dark);
}

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

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

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

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

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

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

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

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

.related-date {
  display: block;
  padding: 0 1rem 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

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

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

.comment {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.comment.reply {
  margin-left: 3rem;
  margin-top: 2rem;
}

.comment-avatar {
  flex: 0 0 50px;
}

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

.comment-content {
  flex: 1;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.comment-author {
  font-weight: 600;
  color: var(--text-dark);
}

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

.comment-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.reply-button {
  color: var(--text-dark);
  font-weight: 600;
}

.comment-likes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}

.load-more-comments {
  text-align: center;
  margin: 2rem 0;
}

.comment-form {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 2rem;
}

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

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

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

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

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-group input {
  width: auto;
}

.post-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  height: fit-content;
}

.sidebar-widget {
  margin-bottom: 2rem;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.widget-title {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.widget-title h3 {
  margin: 0;
}

.author-widget .author-info {
  text-align: center;
}

.author-widget img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.author-widget h4 {
  margin-bottom: 0.5rem;
}

.author-widget p {
  margin-bottom: 1.5rem;
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget li {
  margin-bottom: 0.75rem;
}

.categories-widget a {
  display: flex;
  justify-content: space-between;
  color: var(--text-dark);
}

.categories-widget a:hover {
  color: var(--primary-color);
}

.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular-post {
  display: flex;
  gap: 1rem;
}

.popular-post img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.post-info h4 {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.post-info .post-date {
  margin: 0;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tags-cloud a {
  background-color: var(--background-dark);
  color: var(--text-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  transition: var(--transition);
}

.tags-cloud a:hover {
  background-color: var(--primary-color);
  color: white;
}

.newsletter-widget p {
  margin-bottom: 1.5rem;
}

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

.newsletter-widget input {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
}

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

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
  align-items: center;
}

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

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

.mission-statement {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.mission-statement blockquote {
  border-left: none;
  padding: 0;
  font-size: 1.5rem;
  color: var(--text-dark);
}

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

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

.value-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon i {
  color: white;
  font-size: 1.5rem;
}

.team {
  padding: 4rem 0;
}

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

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

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

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

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

.team-member:hover .member-image img {
  transform: scale(1.05);
}

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

.member-role {
  padding: 0 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.member-social {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  gap: 1rem;
}

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

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

.interview-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.question h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stats {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: white;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  display: block;
  margin-bottom: 0.5rem;
}

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

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

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

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

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

/* Services Page Styles */
.services-categories {
  background-color: var(--background-light);
  padding: 1rem 0;
  position: sticky;
  top: var(--header-height);
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.categories-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
}

.categories-nav li {
  scroll-snap-align: start;
}

.categories-nav a {
  color: var(--text-dark);
  font-weight: 600;
  white-space: nowrap;
  padding: 0.5rem 0;
  position: relative;
}

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

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

.categories-nav a.active:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.service-category {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.service-category:last-child {
  border-bottom: none;
}

.category-header {
  text-align: center;
  margin-bottom: 3rem;
}

.category-header h2 {
  margin-bottom: 1rem;
}

.category-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

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

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

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

.tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
}

.tool-content {
  flex: 1;
  padding: 1.5rem;
}

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

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

.tool-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.tool-price {
  font-weight: 700;
  color: var(--text-dark);
}

.tool-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-light);
}

.tool-rating i {
  color: #f59e0b;
}

.pricing {
  padding: 6rem 0;
  background-color: var(--background-light);
}

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

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

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

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

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

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

.pricing-header {
  background-color: var(--background-light);
  padding: 2rem;
  text-align: center;
}

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

.price {
  margin-bottom: 0;
}

.amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

.pricing-features {
  padding: 2rem;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.pricing-features i {
  font-size: 1rem;
}

.pricing-features .fa-check {
  color: var(--success-color);
}

.pricing-features .fa-times {
  color: var(--error-color);
}

.pricing-footer {
  padding: 0 2rem 2rem;
  text-align: center;
}

.testimonials {
  padding: 6rem 0;
}

.testimonials-slider {
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

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

.testimonial-content p {
  font-style: italic;
  margin-bottom: 0;
}

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

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

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

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

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

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

.prev-testimonial:hover,
.next-testimonial:hover {
  background-color: var(--primary-color);
  color: white;
}

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

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

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

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

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

.contact-method {
  display: flex;
  gap: 1.5rem;
}

.method-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
}

.method-icon i {
  margin-top: 12px;
}

.method-details h3 {
  margin-bottom: 0.75rem;
}

.method-details p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.method-details .contact-hours {
  font-size: 0.875rem;
  font-style: italic;
}

.method-details a {
  color: var(--primary-color);
}

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

.social-connect h3 {
  margin-bottom: 1.5rem;
}

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

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

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

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

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

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

.faq-section {
  padding: 4rem 0;
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

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

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

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

.faq-answer {
  margin-top: 1.5rem;
  display: none;
}

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

.faq-item.active .faq-icon i {
  transform: rotate(180deg);
}

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

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

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

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

.thank-you-icon {
  width: 80px;
  height: 80px;
  background-color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thank-you-icon i {
  color: white;
  font-size: 2rem;
}

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

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

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    gap: 3rem;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-image {
    justify-content: center;
  }

  .interview-content {
    flex-direction: column;
    gap: 2rem;
  }

  .expert-image {
    margin: 0 auto;
  }

  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
  }

  .blog-post {
    flex-direction: column;
  }

  .blog-post .post-image {
    flex: none;
    height: 250px;
  }

  .tool-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 4rem 0;
  }

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

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

  .features,
  .expert-interview,
  .latest-posts,
  .newsletter {
    padding: 4rem 0;
  }

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

  .prev-post, .next-post {
    max-width: 100%;
  }

  .next-post {
    text-align: left;
  }

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

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

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

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

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

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

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

  .section-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .categories {
    justify-content: center;
  }

  .blog-filters {
    flex-direction: column;
  }

  .search-box {
    max-width: 100%;
    width: 100%;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}
