:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #f8f9fa;
  --dark-color: #333;
}

/* Blog Hero Section */
.blog-hero {
  padding: 40px 0;
  background-color: var(--light-color);
}

.blog-hero .hero-content {
  padding: 30px 0;
}

.blog-hero .hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.blog-hero .hero-content p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.blog-hero .hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-hero .hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.section-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.section-main-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
}

.section-main-title span {
  color: var(--accent-color);
}


/* Breadcrumb Styles */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

.breadcrumb-item a {
  color: var(--secondary-color);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--primary-color);
  font-weight: 500;
}

/* Blog Posts Section */
.blog-posts {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 1.5rem auto;
}

/* Blog Card Styles */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.date-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(44, 62, 80, 0.9);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-content {
  padding: 2rem;
}

.blog-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: var(--accent-color);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Pagination Styles */
.pagination .page-item .page-link {
  color: var(--primary-color);
  border: 1px solid #ddd;
  margin: 0 5px;
  border-radius: 5px;
}

.pagination .page-item.active .page-link {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}

.pagination .page-item .page-link:hover {
  background-color: var(--light-color);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .blog-hero .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .blog-image {
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .blog-hero .row {
    flex-direction: column-reverse;
  }
  
  .blog-hero .hero-content {
    text-align: center;
    margin-top: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 575.98px) {
  .blog-hero .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .blog-image {
    height: 180px;
  }
}