/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.section-title h1 {
  color: var(--primary-color);
}

.section-title h1:before,
.section-title h1:after {
  content: "";
  width: 50px;
  height: 4px;
  background: var(--olive-green);
  display: inline-block;
}

.section-title h1:before {
  margin: 0 15px 10px 0;
}

.section-title h1:after {
  margin: 0 0 10px 15px;
}

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--olive-green);
  font-weight: bolder;
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

/*** Service Start ***/
h1 {
  color: var(--primary-color);
}
#portfolio {
  background: color-mix(in srgb, var(--olive-green), transparent 92%) !important;
}

.service .service-item {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  max-width: 95% !important;
}

.service .service-item .service-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: var(--surface-color);
}

.service .service-item .service-img img {
  transition: 0.5s;
  object-fit: contain;
  padding: 20px;
  width: 80%;
  height: 250px;
}

.service .service-item:hover .service-img img {
  transform: scale(1.2);
}

.service .service-item .service-img::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: var(--olive-green-trans);
  transition: 0.5s;
}

.service .service-item:hover .service-img::after {
  width: 100% !important;
  height: 100% !important;
}

.service .service-item .service-content {
  position: relative;
  min-height: 230px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  /* background: var(--surface-color); */
}

.service .service-item .service-content::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background: var(--olive-green);
  transition: 0.5s;
  z-index: 1;
}

.service .service-item:hover .service-content::after {
  width: 100% !important;
  height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
  transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner {
  position: relative;
  color: var(--primary-color) !important;
  transition: 0.5s;
  z-index: 2;
}

.service .service-content a {
  text-decoration: none;
  color: var(--primary-color);
  text-align: center;
}

.service .service-item:hover .service-content .service-content-inner a.h5 {
  color: var(--surface-color) !important;
  transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner a.h5:hover {
  color: var(--surface-color) !important;
}

.service .title-card {
  font-size: 1.5rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.service-item .service-content i {
  line-height: 0.5;
}
.service-item:hover .service-content p,
.service-item:hover .service-content .title-card {
  color: var(--surface-color) !important;
}

.service p {
  color: var(--surface-dark);
}

.service .section-title::after,
.about .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 4px;
  background-color: var(--olive-green); /* Eye-catching red underline */
  border-radius: 2px;
  animation: slideIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    width: 0;
    left: 50%;
  }
  100% {
    width: 100%;
    left: 0;
  }
}
/*** Service End ***/
.card-action-btns {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 99;
  justify-content: center;
  gap: 10px;
  pointer-events: auto;
}
