.list-heading {
  font-size: 18px; /* Adjusted to h2 size */
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #8b0000, #a52a2a); /* Dark red gradient */
  color: white;
  padding: 7px 20px;
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: 1.5px;
  text-align: center;
}

/* Decorative Line */
.list-heading::after {
  content: "";
  display: block;
  width: auto;
  height: 1px;
  background: white; /* Dark red underline */
  margin: 3px auto 0;
  border-radius: 2px;
}

.list-group-item {
  border: none;
  padding: 5px 10px;
  margin-bottom: 2px;
}
/* Portfolio Section */
.portfolio {
  background-color: white;
  padding: 20px 7px;
}

.portfolio .section-title h1:before {
  left: 30%;
}

.portfolio .filter-buttons {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.portfolio .filter-buttons ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.portfolio .filter-buttons ul li {
  color: #000000;
  font-weight: 500;
  font-size: 16px;
  display: inline-block;
  margin: 0px 8px;
  text-transform: uppercase;
  cursor: pointer;
  padding-bottom: 0px;
}

.portfolio .filter-buttons ul li.active {
  color: #febd01;
  border-bottom: 2px solid #febd01;
}

.portfolio .portfolio-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio .portfolio-gallery .item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  position: relative;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio .portfolio-gallery .item img {
  width: 100%;
  display: block;
  border-radius: 8px;
  height: 170px;
}

/* Responsive Design Fixes */
@media (max-width: 767px) {
  .portfolio .portfolio-gallery .item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 500px) {
  .portfolio .portfolio-gallery .item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* .accordion-icon[aria-expanded="false"] .fa-angle-down {
  transform: rotate(0deg);
}

.accordion-icon[aria-expanded="true"] .fa-angle-down {
  transform: rotate(180deg);
  transition: 0.5s;
} */

.accordion-icon[aria-expanded="true"] .fa-angle-down {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.accordion-icon .fa-angle-down {
  transform: rotate(180deg);
}

/* Ensure images have rounded corners */
.img-fluid {
  border-radius: 8px;
  cursor: pointer; /* Makes it behave like a link */
}

.nopadding {
  padding: 2px !important;
  margin: 0 !important;
}

.custom-list {
  list-style-type: none;
}

.custom-list li {
  margin-top: 10px;
  margin-left: -30px;
}

.accordion .accordion-icon:focus {
  outline: none;
  box-shadow: none;
}

@media screen and (max-width: 700px) {
  .anchordatacontainer ul.custom-list {
    padding-left: 37px;
  }
}

/* @media screen and (max-width: 480px) {
} */

.big-image {
  transition: opacity 0.3s ease-in-out;
}

.yt-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.yt-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
