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

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

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

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

a {
  text-decoration: none;
  color: var(--color-medium-brown);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-light-brown);
}

ul {
  list-style: none;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-md);
}

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

.section-title {
  position: relative;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.btn {
  display: inline-block;
  background-color: var(--color-medium-brown);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  text-align: center;
}

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: background-color var(--transition-normal);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.logo img {
  height: 40px;
  margin-right: var(--spacing-sm);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark-brown);
  transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark-brown);
  transition: transform var(--transition-fast);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.search-bar {
  position: relative;
}

.search-bar form {
  display: flex;
  align-items: center;
}

.search-bar input {
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid var(--color-beige);
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  width: 200px;
  transition: width var(--transition-normal), border-color var(--transition-fast);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--color-accent);
  width: 250px;
}

.search-bar button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-medium-brown);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("images/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  height: 500px;
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-white);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--color-cream);
}

/* Featured News */
.featured-news {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-gray);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.featured-main {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.featured-main .article-image {
  height: 400px;
}

.featured-main .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-main .article-content {
  padding: var(--spacing-lg);
}

.featured-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.featured-item {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.featured-item .article-image {
  height: 200px;
}

.featured-item .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-item .article-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
}

.category {
  color: var(--color-medium-brown);
  font-weight: 600;
  margin-right: var(--spacing-sm);
}

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

.read-more {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  font-weight: 500;
  color: var(--color-medium-brown);
}

.read-more i {
  margin-left: var(--spacing-xs);
  transition: transform var(--transition-fast);
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Latest News */
.latest-news {
  padding: var(--spacing-xl) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.filter-tabs {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.tab {
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.tab:hover {
  background-color: var(--color-beige);
}

.tab.active {
  background-color: var(--color-medium-brown);
  color: var(--color-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.news-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.news-card .article-image {
  height: 200px;
}

.news-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.news-card:hover .article-image img {
  transform: scale(1.05);
}

.news-card .article-content {
  padding: var(--spacing-md);
}

.load-more {
  text-align: center;
  margin-top: var(--spacing-xl);
}

/* Newsletter */
.newsletter {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-beige);
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.newsletter-text {
  flex: 1;
}

.newsletter-text h2 {
  margin-bottom: var(--spacing-sm);
}

.newsletter-form {
  flex: 1;
}

.form-group {
  display: flex;
  margin-bottom: var(--spacing-sm);
}

.form-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-cream);
  border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
  font-family: var(--font-body);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group .btn {
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.form-consent {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.875rem;
}

/* Popular Tags */
.popular-tags {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-cream);
  border-radius: var(--border-radius-md);
  color: var(--color-medium-brown);
  font-size: 0.875rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.tag:hover {
  background-color: var(--color-medium-brown);
  color: var(--color-white);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (max-width: 992px) {
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-text {
    margin-bottom: var(--spacing-md);
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    height: 70px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .main-nav {
    order: 2;
  }

  .nav-list {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
    z-index: 999;
  }

  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list a {
    display: block;
    padding: var(--spacing-sm) 0;
  }

  .search-bar {
    position: static;
    order: 1;
    margin-right: var(--spacing-md);
  }

  .search-bar input {
    width: 150px;
  }

  .search-bar input:focus {
    width: 150px;
  }

  .hero {
    height: 400px;
  }

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

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

  .featured-main .article-image {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .header-wrapper {
    padding: 0 var(--spacing-sm);
  }

  .logo img {
    height: 30px;
  }

  .logo span {
    font-size: 1.2rem;
  }

  .search-bar {
    display: none;
  }

  .hero {
    height: 350px;
  }

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

  .section-title {
    font-size: 1.5rem;
  }

  .featured-main .article-content,
  .featured-item .article-content {
    padding: var(--spacing-sm);
  }

  .featured-main .article-image {
    height: 200px;
  }

  .featured-item .article-image {
    height: 150px;
  }

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

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

  .form-group input {
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm);
  }

  .form-group .btn {
    border-radius: var(--border-radius-md);
    width: 100%;
  }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
  }
}

/* Animation for cards */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-card,
.featured-main,
.featured-item {
  animation: fadeIn 0.6s ease forwards;
}

.news-card:nth-child(2) {
  animation-delay: 0.1s;
}

.news-card:nth-child(3) {
  animation-delay: 0.2s;
}

.news-card:nth-child(4) {
  animation-delay: 0.3s;
}

.news-card:nth-child(5) {
  animation-delay: 0.4s;
}

.news-card:nth-child(6) {
  animation-delay: 0.5s;
}

/* Hide elements that should be filtered out */
.news-card.hidden {
  display: none;
}

/* Article Specific Styles */

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.breadcrumbs a {
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-medium-brown);
}

.breadcrumbs .separator {
  margin: 0 var(--spacing-xs);
}

.breadcrumbs .current {
  color: var(--color-medium-brown);
  font-weight: 500;
}

/* Article Hero */
.article-hero {
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: 80px;
  background-color: var(--color-white);
}

.article-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.reading-time {
  display: flex;
  align-items: center;
  color: var(--color-text-light);
}

.reading-time i {
  margin-right: 5px;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.share-buttons span {
  color: var(--color-text-light);
  margin-right: var(--spacing-xs);
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.share-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.facebook {
  background-color: #3b5998;
}

.twitter {
  background-color: #1da1f2;
}

.linkedin {
  background-color: #0077b5;
}

.email {
  background-color: #777;
}

/* Featured Image */
.featured-image {
  margin-bottom: var(--spacing-lg);
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
}

.image-caption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: var(--spacing-sm);
  font-style: italic;
}

/* Article Content */
.article-content {
  padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.main-content {
  font-size: 1.1rem;
  line-height: 1.7;
}

.article-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-medium-brown);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.main-content h2 {
  font-size: 1.8rem;
  margin: var(--spacing-lg) 0 var(--spacing-md);
  padding-bottom: var(--spacing-xs);
  border-bottom: 2px solid var(--color-beige);
}

.main-content h3 {
  font-size: 1.5rem;
  margin: var(--spacing-md) 0 var(--spacing-sm);
}

.article-image {
  margin: var(--spacing-lg) 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
}

figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: var(--spacing-sm);
  font-style: italic;
}

blockquote {
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md) var(--spacing-lg);
  border-left: 4px solid var(--color-accent);
  background-color: var(--color-cream);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

blockquote p {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-dark-brown);
  margin-bottom: var(--spacing-sm);
}

blockquote cite {
  font-size: 0.875rem;
  color: var(--color-medium-brown);
  font-style: normal;
  font-weight: 500;
}

.info-box {
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md);
  background-color: var(--color-beige);
  border-radius: var(--border-radius-md);
}

.info-box h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-brown);
}

.info-box ul {
  list-style-type: disc;
  padding-left: var(--spacing-lg);
  margin-bottom: 0;
}

.info-box li {
  margin-bottom: var(--spacing-xs);
}

.article-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  padding: var(--spacing-md);
  background-color: var(--color-cream);
  border-radius: var(--border-radius-md);
}

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

.author-info {
  flex: 1;
}

.author-info h3 {
  margin: 0 0 var(--spacing-xs);
  font-size: 1.2rem;
}

.author-info p {
  margin-bottom: var(--spacing-sm);
  font-size: 0.95rem;
}

.author-social {
  display: flex;
  gap: var(--spacing-xs);
}

.author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color-medium-brown);
  color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.author-social a:hover {
  background-color: var(--color-dark-brown);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-beige);
}

.tags span {
  font-weight: 600;
  color: var(--color-dark-brown);
}

.tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-cream);
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  color: var(--color-medium-brown);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

/* Article Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.sidebar-section {
  padding: var(--spacing-md);
  background-color: var(--color-gray);
  border-radius: var(--border-radius-md);
}

.sidebar-section h3 {
  margin: 0 0 var(--spacing-md);
  font-size: 1.2rem;
  padding-bottom: var(--spacing-xs);
  border-bottom: 2px solid var(--color-beige);
}

.popular-posts {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.popular-post {
  display: flex;
  gap: var(--spacing-sm);
}

.post-image {
  width: 80px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

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

.post-info {
  flex: 1;
}

.post-info h4 {
  margin: 0 0 var(--spacing-xs);
  font-size: 0.9rem;
  line-height: 1.4;
}

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

.sidebar-newsletter {
  margin-top: var(--spacing-sm);
}

.sidebar-newsletter input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-beige);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-sm);
}

.sidebar-newsletter .btn {
  width: 100%;
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  margin-bottom: var(--spacing-xs);
  border-bottom: 1px solid var(--color-beige);
  padding-bottom: var(--spacing-xs);
}

.category-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.category-list a:hover {
  color: var(--color-medium-brown);
}

.category-list span {
  font-size: 0.75rem;
  color: var(--color-text-light);
  background-color: var(--color-beige);
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
}

/* Related Articles */
.related-articles {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-gray);
}

/* Comments Section */
.comments-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
}

.comments-container {
  margin-bottom: var(--spacing-xl);
}

.comment {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-beige);
}

.comment.reply {
  margin-left: 60px;
  padding-top: var(--spacing-md);
  background-color: var(--color-gray);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  border-bottom: none;
}

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

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

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xs);
}

.comment-author {
  margin: 0;
  font-size: 1rem;
}

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

.comment-body {
  margin-bottom: var(--spacing-sm);
}

.comment-actions {
  display: flex;
  gap: var(--spacing-md);
}

.reply-btn,
.like-btn {
  background: none;
  border: none;
  color: var(--color-medium-brown);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
}

.reply-btn:hover,
.like-btn:hover {
  color: var(--color-dark-brown);
}

.like-btn.liked {
  color: var(--color-dark-brown);
}

.comment-form {
  background-color: var(--color-gray);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
}

.comment-form h3 {
  margin: 0 0 var(--spacing-md);
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

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

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

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.form-group.checkbox input {
  width: auto;
}

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

.success-message {
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm);
  background-color: #e8f5e9;
  color: #2e7d32;
  border-radius: var(--border-radius-md);
  text-align: center;
}

/* Progress Reading Bar */
.progress-container {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 999;
}

.progress-bar {
  height: 4px;
  background: var(--color-accent);
  width: 0%;
}

/* Responsive Styles */
@media (min-width: 992px) {
  .content-wrapper {
    grid-template-columns: 2fr 1fr;
  }
}

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

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .meta-left {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }

  .article-lead {
    font-size: 1.1rem;
  }

  .main-content {
    font-size: 1rem;
  }

  .main-content h2 {
    font-size: 1.5rem;
  }

  .main-content h3 {
    font-size: 1.3rem;
  }

  blockquote p {
    font-size: 1.1rem;
  }

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

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

  .comment {
    flex-direction: column;
  }

  .comment-avatar {
    width: 50px;
    height: 50px;
  }

  .comment.reply {
    margin-left: var(--spacing-md);
  }
}

@media (max-width: 576px) {
  .article-title {
    font-size: 1.8rem;
  }

  .breadcrumbs {
    font-size: 0.75rem;
  }

  .comment-form {
    padding: var(--spacing-md);
  }
}

/* Animation for article elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-title,
.article-meta,
.article-lead,
.main-content h2,
.main-content h3,
.article-image,
blockquote,
.info-box,
.tags {
  animation: fadeInUp 0.6s ease forwards;
}

.article-meta {
  animation-delay: 0.1s;
}

.article-lead {
  animation-delay: 0.2s;
}

/* Highlight effect for headings */
.main-content h2.highlight,
.main-content h3.highlight {
  color: var(--color-medium-brown);
}

/* About Page Specific Styles */

/* Hero Section */
.about-hero {
  position: relative;
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("images/about-hero-bg.jpg") no-repeat center center;
  background-size: cover;
  color: var(--color-white);
  text-align: center;
}

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

.about-hero .breadcrumbs,
.about-hero .breadcrumbs a {
  color: var(--color-cream);
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.about-hero .hero-subtitle {
  font-size: 1.3rem;
  color: var(--color-cream);
  margin-bottom: 0;
}

/* Our Story Section */
.our-story {
  padding: var(--spacing-xxl) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.story-content h2 {
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.story-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.story-content .highlight {
  font-size: 1.2rem;
  color: var(--color-medium-brown);
  font-weight: 500;
  line-height: 1.6;
}

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

/* Vision & Mission */
.vision-mission {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-gray);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.vision-box,
.mission-box {
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.vision-box {
  background-color: var(--color-cream);
}

.mission-box {
  background-color: var(--color-white);
}

.vm-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background-color: var(--color-medium-brown);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-icon i {
  font-size: 2rem;
}

.vision-box h2,
.mission-box h2 {
  margin-bottom: var(--spacing-md);
}

/* Core Values */
.core-values {
  padding: var(--spacing-xxl) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.value-item {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.value-item:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--spacing-md);
  background-color: var(--color-cream);
  color: var(--color-medium-brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon i {
  font-size: 1.8rem;
}

.value-item h3 {
  margin-bottom: var(--spacing-sm);
}

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

/* Our Team */
.our-team {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.team-member {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

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

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

.member-info {
  padding: var(--spacing-lg);
}

.member-info h3 {
  margin-bottom: var(--spacing-xs);
}

.member-title {
  color: var(--color-medium-brown);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.member-bio {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.member-social {
  display: flex;
  gap: var(--spacing-sm);
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-cream);
  color: var(--color-medium-brown);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

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

/* Production Process */
.production-process {
  padding: var(--spacing-xxl) 0;
}

.process-timeline {
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--color-accent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xxl);
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background-color: var(--color-medium-brown);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 1;
}

.timeline-content {
  padding: var(--spacing-lg);
  background-color: var(--color-cream);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.timeline-content h3 {
  margin-bottom: var(--spacing-sm);
}

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

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  grid-row: 1;
}

.timeline-item:nth-child(odd) .timeline-image {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-image {
  grid-column: 1;
  grid-row: 1;
}

/* Achievements */
.achievements {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-gray);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.achievement-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-cream);
  color: var(--color-medium-brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.achievement-icon i {
  font-size: 1.5rem;
}

.achievement-content h3 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.2rem;
}

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

/* Facilities */
.facilities {
  padding: var(--spacing-xxl) 0;
}

.facilities-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  height: 500px;
}

.facility-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.facility-slide.active {
  opacity: 1;
}

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

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-lg);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--color-white);
}

.slide-caption h3 {
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.slide-caption p {
  margin: 0;
  opacity: 0.9;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-lg);
  gap: var(--spacing-md);
}

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

.prev-slide:hover,
.next-slide:hover {
  background-color: var(--color-dark-brown);
}

.slider-dots {
  display: flex;
  gap: var(--spacing-xs);
}

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

.dot.active {
  background-color: var(--color-medium-brown);
}

/* Testimonials */
.testimonials {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.testimonial-content {
  padding: var(--spacing-lg);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  color: var(--color-beige);
  font-size: 2rem;
  opacity: 0.5;
}

.testimonial-content p {
  margin: 0 0 var(--spacing-md);
  padding-top: var(--spacing-md);
  font-style: italic;
  color: var(--color-text);
}

.testimonial-rating {
  color: var(--color-accent);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--color-cream);
}

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

.author-info h4 {
  margin: 0 0 var(--spacing-xs);
  font-size: 1rem;
}

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

/* Partners */
.partners {
  padding: var(--spacing-xxl) 0;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xl);
}

.partner-item {
  flex: 0 0 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
}

.partner-item:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 992px) {

  .story-grid,
  .vm-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item .timeline-content,
  .timeline-item .timeline-image {
    grid-column: 1;
  }

  .timeline-item .timeline-image {
    grid-row: 1;
  }

  .timeline-item .timeline-content {
    grid-row: 2;
  }

  .timeline-number {
    top: -30px;
    left: 30px;
    transform: none;
  }

  .process-timeline::before {
    left: 30px;
    transform: none;
  }

  .facilities-slider {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero .hero-subtitle {
    font-size: 1.1rem;
  }

  .achievement-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .facilities-slider {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .about-hero h1 {
    font-size: 2rem;
  }

  .story-content .highlight {
    font-size: 1.1rem;
  }

  .facilities-slider {
    height: 250px;
  }

  .partner-item {
    flex: 0 0 120px;
    height: 60px;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-left {
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-right {
  animation: fadeInRight 0.6s ease forwards;
}