/* ------------------banner(service request)---------------------- */
.portfolio-section-banner {
  background-image: url("../images/service-request/banner.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 176px;
  display: grid;
  place-items: center start;
}
.banner-heading {
  font-weight: 700;
  font-size: 30px;
  color: #fff;
}

@media (max-width: 768px) {
  .portfolio-section-banner {
    height: 88px;
  }
  .banner-heading {
    font-size: 22px;
  }
}

/* --------porfolio-section-------- */
.portfolio-categories .category {
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  color: #aaa;
}
.portfolio-categories {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 15px;
  gap: 2rem;
  margin: 0 48px 48px 48px;
}

.portfolio-categories .category-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.portfolio-categories .category img {
  margin-bottom: 0.5rem;
}

.portfolio-categories .category.active {
  color: #e63946;
}
#portfolio-images {
  min-height: 300px;
  transition: all 0.4s ease;
}

.portfolio-categories .category p {
  font-size: 14px;
  margin: 0;
}
.portfolio-images .col-md-4,
.portfolio-images .col-sm-6 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-images .fade-in {
  opacity: 1;
  transform: translateY(0);
}

.project-card {
  background-color: #ffffff;
  color: #1a1a1a;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 0;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card {
  border-radius: 0 !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0 !important;
  border-bottom: 1px solid #eee;
}

.card-body {
  padding: 1rem;
  background-color: hsla(0, 0%, 95%, 0.4);
}
.card-body p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
  text-align: justify;
}

.card-body strong {
  color: #333;
  font-weight: 500;
}

.card-body .text-muted {
  color: #666;
}
.card-hidden {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.card-visible {
  opacity: 1;
  transform: translateY(0);
}
.project-info h5 {
  font-size: 18px;
  margin-bottom: 10px;
}
.project-info p {
  font-size: 14px;
}

.project-card:hover .project-info {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 577px) {
  .portfolio-categories {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin-left: 0;
    margin-right: 0;
  }
  .portfolio-categories .category-content {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    width: 100%;
    height: 100%;
  }
  .portfolio-categories .category {
    flex: 0 0 40%;
  }

  .portfolio-categories .category p {
    font-size: 14px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .project-card img {
    height: auto;
  }

  .project-info h5 {
    font-size: 16px;
  }

  .project-info p {
    font-size: 13px;
  }
}
/* -----------------portfolio-details------------------- */
.portfolio-header-section {
  background-color: #efefef;
}

.portfolio-sub-header {
  flex-wrap: wrap;
  gap: 1rem;
}

.portfolio-header-section a {
  border-right: 1px solid #393939;
  padding-right: 72px;
  color: #393939;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
}

.portfolio-header-section a:last-child {
  border: none;
}

.portfolio-header-section a.active {
  color: #dd1f4d;
}

@media (max-width: 767px) {
  .portfolio-header-section .container {
    justify-content: space-between !important;
    align-items: center;
    gap: 0;
  }

  .portfolio-header-section a {
    padding-right: 0;
    font-size: 10px;
    padding: 10px 0;
    border: none;
  }

  .portfolio-header-section a:nth-child(2),
  .portfolio-header-section a:nth-child(4) {
    border-right: none;
  }

  .portfolio-header-section a:nth-child(3),
  .portfolio-header-section a:nth-child(4) {
    border-bottom: none;
  }
}
/* ---------------portfolio-content-------------- */
.portfolio-solar-panel {
  background-color: hsla(0, 0%, 95%, 1);
  padding: 2rem;
}
@media (max-width: 767px) {
  .portfolio-solar-panel {
    padding: 1rem;
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  .card-body-text {
    font-size: 9px !important;
  }
}
.solar-details-list {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  padding-left: 0 !important;
}

.solar-details-list li {
  margin-bottom: 0.5rem;
  text-align: justify;
  list-style-type: none;
}

.solar-details-list strong {
  color: #000;
  font-weight: 500;
}
.solar-image img {
  width: 418px;
  height: 225px;
}
.portfolio-header {
  font-weight: 600;
  font-size: 24px;
  color: hsla(0, 0%, 22%, 1);
}
.portfolio-sub-header a.active {
  color: #e63946;
  font-weight: bold;
}
.portfolio-details-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1) !important;
}
