/* Blog Section Styles */
.blog-section {
  background-color: #f8f9fa;
  padding: 2rem; /* Match About Us padding */
  font-family: 'Montserrat', sans-serif;
}

.blog-container {
  max-width: 800px; /* Match About Us max-width */
  margin: 0 auto;
  color: #333;
}

.blog-container h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem; /* Match About Us */
  color: var(--primary-color); /* Match color token */
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.blog-container h1::after {
  content: "";
  position: absolute;
  bottom: -15px; /* Match About Us */
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px; /* Match About Us */
  background-color: #e74c3c;
}






/* Blog Grid */
/* .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: -50rem; 
  max-width: 1200px;
  margin: 0 auto;
  background: #fdf8f6;
} */
  
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 0rem;     /* Use margin instead of invalid negative padding */
  padding: 0 1rem 4rem;  /* Top 0, Right & Left 1rem, Bottom 4rem */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background: #fdf8f6;
}

  /* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.blog-card a{
    text-decoration: none !important;
}
  .blog-card:hover {
  transform: translateY(-10px);
}
 .blog-img {
  overflow: hidden;
  height: 200px;
}
 .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
  .blog-card:hover img {
  transform: scale(1.05);
}
  
  /* Content */
 .blog-content {
  padding: 1rem;
}
  .blog-content p {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.5rem;
}
 .blog-content h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #111;
  margin: 0;
}



/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
}

.pagination a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #3a2f2f;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: none;
}

.pagination a:hover {
  background-color: #3a2f2f;
  color: #ffffff;
  transform: scale(1.1);
}

.pagination a.active {
  background-color: #3a2f2f;
  color: #ffffff;
  pointer-events: none;
  transform: scale(1.15);
}

.arrow-btn {
  font-size: 24px;
  font-weight: bold;
  background-color: transparent;
  color: #3a2f2f;
  border: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.arrow-btn:hover {
  color: #6d4c41;
}