/* Base Styles */
:root {
  --primary-color: #4a76f9;
  --secondary-color: #6c5ce7;
  --accent-color: #00c896;
  --text-color: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --background-color: #ffffff;
  --background-alt: #f8f9fa;
  --background-dark: #eaeef2;
  --border-color: #e1e4e8;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius: 8px;
  --border-radius-sm: 4px;
}

.dark-theme {
  --primary-color: #5c85ff;
  --secondary-color: #7d71e8;
  --accent-color: #00d9a6;
  --text-color: #f0f0f0;
  --text-light: #c8c8c8;
  --text-lighter: #a0a0a0;
  --background-color: #1a1a2e;
  --background-alt: #2a2a42;
  --background-dark: #16213e;
  --border-color: #3a3a5a;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  transition: var(--transition);
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

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

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

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

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

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

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

.btn-link {
  background: none;
  color: var(--primary-color);
  padding: 0;
  font-weight: 600;
  position: relative;
}

.btn-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.btn-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

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

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.5rem;
}

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

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--text-color);
  font-weight: 600;
  padding: 10px 0;
  position: relative;
}

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

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

.theme-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
}

#theme-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

#theme-toggle i {
  transition: var(--transition);
}

#theme-toggle:hover i {
  transform: rotate(30deg);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(to right, var(--background-color), var(--background-alt));
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-color);
}

.hero-content h1 span {
  color: var(--primary-color);
}

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

.hero-image {
  display: flex;
  justify-content: center;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.hero-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--background-alt);
}

.features h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: var(--text-color);
}

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

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--text-color);
}

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

/* Latest Posts Section */
.latest-posts {
  padding: 80px 0;
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: var(--text-color);
}

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

.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(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.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: 20px;
}

.post-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: var(--text-color);
}

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

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

.read-more:hover {
  color: var(--secondary-color);
}

/* Next Article Timer */
.next-article-timer {
  margin: 60px 0;
  text-align: center;
}

.next-article-timer h3 {
  margin-bottom: 20px;
  color: var(--text-color);
}

#countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--background-dark);
  padding: 15px;
  border-radius: var(--border-radius);
  min-width: 80px;
}

.time-block span:first-child {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.time-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 5px;
}

/* Newsletter Section */
.newsletter {
  padding: 60px 0;
  background-color: var(--background-alt);
}

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

.newsletter h2 {
  margin-bottom: 15px;
  color: var(--text-color);
}

.newsletter p {
  margin-bottom: 25px;
  color: var(--text-light);
}

#newsletter-form {
  display: flex;
  gap: 10px;
}

#newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Footer Styles */
footer {
  background-color: var(--background-dark);
  padding: 60px 0 20px;
  color: var(--text-color);
}

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

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

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

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-lighter);
}

.social-icons {
  display: flex;
  gap: 15px;
}

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

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

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-color);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 20px;
  display: none;
}

.cookie-notice.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  margin-bottom: 10px;
  color: var(--text-color);
}

.cookie-content p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-buttons button {
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

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

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

/* Page Header */
.page-header {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

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

/* Blog Posts Grid */
.blog-posts {
  padding: 60px 0;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

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

.search-box input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  background-color: var(--background-color);
  color: var(--text-color);
}

.search-box button {
  padding: 10px 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  cursor: pointer;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.categories button {
  padding: 8px 16px;
  background-color: var(--background-dark);
  border: none;
  border-radius: var(--border-radius-sm);
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

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

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

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

.post-grid article:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.post-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.post-meta span {
  font-size: 0.9rem;
  color: var(--text-lighter);
  display: flex;
  align-items: center;
}

.post-meta i {
  margin-right: 5px;
}

.category {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.post-grid .post-content {
  padding: 20px;
}

.post-grid h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.post-grid p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
}

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

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

/* About Page Styles */
.about-content {
  padding: 60px 0;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

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

.about-text h2 {
  margin-bottom: 20px;
  color: var(--text-color);
}

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

.mission-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.mission h2,
.values h2 {
  margin-bottom: 20px;
  color: var(--text-color);
}

.mission p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.values ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.values li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-light);
}

.values i {
  color: var(--success-color);
  margin-top: 4px;
}

.team-section {
  margin-bottom: 60px;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color);
}

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

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

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.team-member h3 {
  margin: 20px 0 5px;
  color: var(--text-color);
}

.member-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-member p {
  padding: 0 20px 15px;
  color: var(--text-light);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

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

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

.testimonials h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
  color: var(--text-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.testimonial-author h4 {
  margin-bottom: 5px;
  color: var(--text-color);
}

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

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.testimonial-controls button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-controls button:hover {
  color: var(--primary-color);
}

.cta-section {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  padding: 60px 0;
  color: white;
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 15px;
  font-size: 2.2rem;
}

.cta-content p {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-buttons .btn-secondary {
  border-color: white;
  color: white;
}

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

/* Contact Page Styles */
.contact-section {
  padding: 60px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info h2,
.contact-form-container h2 {
  margin-bottom: 20px;
  color: var(--text-color);
}

.contact-info p {
  margin-bottom: 30px;
  color: var(--text-light);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.info-card {
  background-color: var(--background-color);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.info-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.info-card h3 {
  margin-bottom: 10px;
  color: var(--text-color);
}

.info-card p {
  margin-bottom: 5px;
  color: var(--text-light);
}

.info-note {
  font-size: 0.9rem;
  color: var(--text-lighter) !important;
}

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

.social-connect h3 {
  margin-bottom: 15px;
  color: var(--text-color);
}

.social-connect .social-icons {
  justify-content: center;
}

.contact-form {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--background-alt);
  color: var(--text-color);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 118, 249, 0.1);
}

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

.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

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

.map-section {
  margin-bottom: 60px;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-color);
}

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

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-color);
}

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

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

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--text-color);
}

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

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

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

.faq-item.active .faq-answer {
  padding: 15px 20px;
  max-height: 500px;
}

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

.modal.show {
  display: flex;
}

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

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

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

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

.modal-content h2 {
  margin-bottom: 15px;
  color: var(--text-color);
}

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

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

.blog-post-container .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

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

.post-header {
  padding: 30px 30px 0;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.post-featured-image {
  margin-bottom: 30px;
}

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

.post-content {
  padding: 0 30px 30px;
}

.post-intro {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-light);
  line-height: 1.8;
}

.table-of-contents {
  background-color: var(--background-alt);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.table-of-contents h3 {
  margin-bottom: 15px;
  color: var(--text-color);
}

.table-of-contents ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.table-of-contents a {
  color: var(--primary-color);
}

.table-of-contents a:hover {
  text-decoration: underline;
}

.post-content section {
  margin-bottom: 40px;
}

.post-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.post-content h3 {
  font-size: 1.4rem;
  margin: 25px 0 15px;
  color: var(--text-color);
}

.post-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.post-content li {
  margin-bottom: 10px;
  color: var(--text-light);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 30px 30px;
  border-bottom: 1px solid var(--border-color);
}

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

.post-tags a {
  padding: 5px 12px;
  background-color: var(--background-alt);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-color);
  transition: var(--transition);
}

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

.author-box {
  display: flex;
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
}

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

.author-info h3 {
  margin-bottom: 10px;
  color: var(--text-color);
}

.author-bio {
  margin-bottom: 15px;
  color: var(--text-light);
}

.author-social {
  display: flex;
  gap: 15px;
}

.author-social a {
  color: var(--text-lighter);
}

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

.post-navigation {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
}

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

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

.prev-post a,
.next-post a {
  color: var(--text-color);
  font-weight: 600;
}

.prev-post a:hover,
.next-post a:hover {
  color: var(--primary-color);
}

.related-posts {
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
}

.related-posts h3 {
  margin-bottom: 20px;
  color: var(--text-color);
}

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

.related-post {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 200px;
}

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

.related-post h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

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

.related-post:hover h4 {
  background: linear-gradient(to top, rgba(74, 118, 249, 0.9), transparent);
}

.comments-section {
  padding: 30px;
}

.comments-section h3 {
  margin-bottom: 25px;
  color: var(--text-color);
}

.comment {
  display: flex;
  margin-bottom: 25px;
}

.comment-avatar {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.comment-header h4 {
  color: var(--text-color);
}

.author-tag {
  background-color: var(--primary-color);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  margin-left: 10px;
}

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

.comment p {
  margin-bottom: 10px;
  color: var(--text-light);
}

.comment-actions {
  display: flex;
  gap: 15px;
}

.comment-actions a {
  color: var(--text-lighter);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.comment-actions a:hover {
  color: var(--primary-color);
}

.comment-reply {
  margin-top: 20px;
  margin-left: 50px;
}

.comment-form h3 {
  margin: 40px 0 20px;
}

/* Blog Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
}

.about-widget p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.search-widget form {
  display: flex;
}

.search-widget input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  background-color: var(--background-alt);
  color: var(--text-color);
}

.search-widget button {
  padding: 10px 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  cursor: pointer;
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-posts li a {
  display: flex;
  gap: 10px;
  color: var(--text-color);
}

.recent-posts img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.recent-posts h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.recent-posts span {
  font-size: 0.8rem;
  color: var(--text-lighter);
}

.categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.categories a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.categories span {
  color: var(--text-lighter);
  font-size: 0.9rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags a {
  padding: 5px 12px;
  background-color: var(--background-alt);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-color);
}

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

.newsletter-widget p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.newsletter-widget form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-widget input {
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--background-alt);
  color: var(--text-color);
}

/* Specialized Components for Blog Posts */
.info-box,
.tip-box,
.disclaimer-box {
  padding: 20px;
  border-radius: var(--border-radius);
  margin: 25px 0;
}

.info-box {
  background-color: rgba(74, 118, 249, 0.1);
  border-left: 4px solid var(--primary-color);
}

.tip-box {
  background-color: rgba(0, 200, 150, 0.1);
  border-left: 4px solid var(--accent-color);
}

.disclaimer-box {
  background-color: rgba(255, 193, 7, 0.1);
  border-left: 4px solid var(--warning-color);
}

.info-box h3,
.tip-box h3,
.disclaimer-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.info-box i {
  color: var(--primary-color);
}

.tip-box i {
  color: var(--accent-color);
}

.disclaimer-box i {
  color: var(--warning-color);
}

.skin-showcase,
.pattern-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
  background-color: var(--background-alt);
  padding: 20px;
  border-radius: var(--border-radius);
}

.skin-info,
.pattern-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skin-info h3,
.pattern-info h3 {
  margin-top: 0;
}

.investment-category {
  background-color: var(--background-alt);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.investment-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.investment-info p {
  margin-bottom: 0;
}

.platform-review {
  background-color: var(--background-alt);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.platform-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.platform-header img {
  height: 50px;
  width: auto;
  border-radius: var(--border-radius-sm);
}

.platform-rating {
  text-align: right;
}

.rating {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stars {
  color: var(--warning-color);
}

.platform-scores {
  margin-bottom: 20px;
}

.score-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.score-label {
  width: 150px;
  font-weight: 600;
  color: var(--text-color);
}

.score-bar {
  flex: 1;
  height: 10px;
  background-color: var(--background-dark);
  border-radius: 5px;
  overflow: hidden;
  margin: 0 15px;
}

.score-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 5px;
}

.score-value {
  width: 40px;
  text-align: right;
  color: var(--text-color);
  font-weight: 600;
}

.usa-note {
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: var(--border-radius);
  margin-top: 20px;
}

.usa-note h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.usa-note i {
  color: var(--primary-color);
}

.recommendation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.recommendation-card {
  background-color: var(--background-color);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.recommendation-card h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.recommendation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.recommendation img {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
}

.recommendation span {
  font-weight: 700;
  color: var(--primary-color);
}

.final-note {
  background-color: var(--background-alt);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-top: 30px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .blog-post-container .container {
    grid-template-columns: 1fr;
  }
  
  .blog-sidebar {
    margin-top: 40px;
  }
}

@media (max-width: 900px) {
  .hero .container,
  .contact-content,
  .about-intro,
  .mission-values {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 20px;
  }
  
  .prev-post,
  .next-post {
    max-width: 100%;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .related-post {
    height: 150px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding-top: 15px;
  }
  
  nav ul {
    margin-top: 15px;
    gap: 15px;
  }
  
  .theme-switcher {
    top: 10px;
    right: 10px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-box {
    max-width: 100%;
    width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  #newsletter-form {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .skin-showcase,
  .pattern-showcase {
    grid-template-columns: 1fr;
  }
  
  .investment-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 5px;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .comment {
    flex-direction: column;
  }
  
  .comment-avatar {
    margin-bottom: 10px;
  }
  
  .comment-header {
    flex-direction: column;
    gap: 5px;
  }
  
  .comment-reply {
    margin-left: 20px;
  }
  
  #countdown-timer {
    flex-wrap: wrap;
    justify-content: center;
  }
}
