#project-section {
  padding: 2.5rem 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--secondaryColor);
  justify-content: center;
  text-align: center;
}

.project-container {
  width: 100%;
  height: 100%;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.project-wraper {
  width: 20%;
  box-shadow: var(--boxShadow);
  height: fit-content;
  padding: 20px;
  border-radius: 10px;
  word-spacing: 2px;
  font-size: 18px;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 40px;
  box-sizing: border-box;
  &:hover {
    scale: 1.02;
  }
}
.prettyLittle-img,
.skcomputer-img,
.budhi-restro-image,
.warehouse-image,
.waste_water_img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}
.prettyLittle-img {
  background-image: url(images/services/prettyLittle.jpg);
}
.skcomputer-img {
  background-position: 50%;
  background-image: url(images/project/skcomputer.JPG);
}
.budhi-restro-image {
  background-image: url(images/project/Bodhi_Resort.jpg);
}
.warehouse-image {
  background-image: url(images/project/Warehouse\ .jpg);
}
.waste_water_img {
  background-image: url(images/project/Waste_Water.jpg);
}
.project-wraper p {
  text-align: justify;
}

.project-heading {
  font-size: var(--headerFontSize);
  font-weight: var(--headerFontWeight);
}

.project-wraper .sub-heading {
  color: var(--txtClr);
  text-align: left;
  font-size: 25px !important;
}
.text-container {
  position: relative;
  max-width: 95%;
  /* Adjust as needed */
  margin-bottom: 20px;
  /* Space between carts */
}

.text-content {
  display: block;
  /* -webkit-line-clamp: 3; */
  /* Number of lines to show before truncating */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: max-height 0.3s ease;
  margin-top: 10px;
}

.read-more-btn {
  display: none;
  background-color: transparent;
  color: white;
  border: none;
  /* padding: 10px 15px; */
  cursor: pointer;
  margin: 10px 0 !important;
}

.read-more-btn :focus {
  outline: 0px !important;
}
/* Media Queries for Responsiveness */

/* Small devices (phones, 600px and down) */
/*  */

/* Medium devices (portrait tablets and small desktops, 900px and down) */
@media (max-width: 900px) {
  .project-wraper {
    height: auto;
    width: 90%;
    min-width: 320px;
  }
  /* .project-heading {
    font-size: 40px !important;
  } */
}
@media (max-width: 600px) {
  .project-container {
    flex-direction: column;
    padding: 0px !important;
  }
  .project-wraper {
    width: 100%;
    height: auto;
    margin-top: 20px;
    min-width: unset;
  }
  .project-heading {
    font-size: 40px !important;
  }
  .text-content {
    display: -webkit-box;
    -webkit-line-clamp: 6;
  }
  .text-content.expanded {
    display: block;
    -webkit-line-clamp: unset;
  }
  .sub-heading {
    font-size: 1.2rem !important;
  }
  .read-more-btn {
    display: block;
  }
}
