#blogs {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: url("/assets/images/blogs-bg.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

    &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0); 
    z-index: -1;
  }
}
.header-section-blogs {
  text-align: center;
  padding: 40px 0 20px 0;
  position: relative;
}

.blog-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.blog-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.blog-nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.blog-nav a:hover,
.blog-nav a.active {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.leaf-decoration {
  position: absolute;
  top: 20px;
  right: 20%;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #8bc34a, #4caf50);
  clip-path: ellipse(60% 80% at 50% 50%);
  transform: rotate(-15deg);
  opacity: 0.9;
}

.leaf-decoration::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: #2e7d32;
}

.carousel-container {
  position: relative;
  padding: 20px 0 50px 0;
}

.scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.card {
  min-width: 280px;
  max-width: 280px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border-radius: 0;
  overflow: hidden;
  background: white;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-img-container {
  height: 180px;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 20px;
  background: white;
}

.card-date {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-align: center;
}
.thumbnails{
  height: 160px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.4;
  margin-bottom: 15px;
  min-height: 60px;
  text-align: center;
}

.btn-continue {
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: block;
  text-align: center;
}

.btn-continue:hover {
  color: #495057;
  text-decoration: underline;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.nav-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.nav-btn.prev {
  left: 20px;
}

.nav-btn.next {
  right: 20px;
}

.filter-info {
  text-align: center;
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

  .blog-nav {
    flex-direction: column;
    gap: 10px;
  }

  .leaf-decoration {
    display: none;
  }
}

.section {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.section.visible {
  opacity: 1;
  display: block;
}

.section.hidden {
  opacity: 0;
  display: none;
}
.blog-title-info {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: rgb(47, 79, 79);
  font-family: "Sen", sans-serif;

}
.blog-title-content{
  font-size: 22px !important;
}
