body {
  font-family: "Shurjo", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

main {
  flex: 1 0 auto;
}

.blog-wrap {
  width: 100%;
}

.hero-section {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center; /* Vertically center the content */
  color: #fff;
  overflow: hidden;
}

.hero-section .container {
  width: 100%; /* Force container to take full width of max-width */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better readability */
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left; /* Ensure text is on the left */
}

.hero-title,
.hero-section h2 {
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  text-align: start;
}

.breadcrumb {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
  color: #fff;
  text-align: left;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #ec3323;
}

.breadcrumb span {
  color: #ec3323;
  margin-left: 4px;
}

.description-section .section-desc {
  width: 80%;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  text-align: justify;
  font-weight: 400;
}

.filter-tabs {
  margin-top: 20px;
  margin-bottom: 50px;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-item {
  cursor: pointer;
  font-size: 22px;
  font-weight: 600;
  color: #000; /* Default black as requested */
  padding: 10px 0;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 575px) {
  .filter-list {
    gap: 0px;
  }
}

.filter-item:hover {
  color: #ec3323; /* Active color as requested */
}

.filter-item.active {
  color: #ec3323;
}

.filter-item::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #ec3323;
  transition: all 0.3s ease;
}

.filter-item.active::after {
  width: 100%;
}

.gallery-grid {
  margin: 0 -10px;
  display: block; /* Ensure it's block for Isotope */
}

/* ===== Grid Sizer == start ===== */
.grid-sizer,
.gallery-item {
  width: 16.66%;
}

.gallery-title {
  width: 100% !important;
  /* margin: 50px 0 20px; */
  /* margin: 32px 0; */
  margin: 16px 0;
  padding: 0 10px;
}

.gallery-title:empty {
  display: none;
}

.gallery-title h3 {
  font-size: 22px;
  font-weight: 600;
  border-left: 4px solid #000;
  padding-left: 12px;
}

.gallery-item,
.gallery-title {
  float: none;
}

.gallery-item {
  padding: 10px;
}

@media (max-width: 576px) {
  .grid-sizer,
  .gallery-item {
    width: 50%;
  }
}
/* ====end======= */
@media (max-width: 1200px) {
  .hero-section {
    height: 244px;
  }
  .gallery-item {
    width: 25%; /* 4 columns on small desktop/laptop */
  }
  .hero-title,
  .hero-section h2 {
    font-size: 32px;
  }
  .breadcrumb {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .gallery-item {
    width: 33.33%; /* 3 columns on tablet */
  }
}

@media (max-width: 767px) {
  .gallery-item {
    width: 50%; /* 2 columns on mobile */
  }
  .hero-section {
    height: 205px;
    background-attachment: scroll;
  }
  .hero-title,
  .hero-section h2 {
    font-size: 28px;
  }
  .breadcrumb {
    font-size: 16px;
  }
  .filter-list {
    flex-wrap: wrap;
    gap: 15px;
  }
  .filter-item {
    font-size: 22px;
  }
  .description-section .section-desc {
    width: 90%;
    font-size: 16px;
    text-align: left;
  }
}

.py-48 {
  padding-top: 48px;
  padding-bottom: 48px;
}

.pb-64 {
  padding-bottom: 64px;
}

.mb-40 {
  margin-bottom: 40px;
}

.gap-24 {
  gap: 24px;
}

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

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