/* project styling started  */
.project {
  /* padding: 20px; */
  margin-bottom: 5rem;
}
.project-title {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.project-title h4 {
  font-size: 200px;
  font-weight: 400;
  font-family: var(--font-changa);
  color: var(--base-color);
  text-transform: uppercase;
  line-height: 50px;
  pointer-events: none;
  margin-top: 5rem;
  text-align: center;
}
.label {
  position: absolute;
  top: 63%;
  background-color: #fff;
  color: var(--base-color);
  font-family: var(--font-changa);
  font-size: 25px;
  text-transform: uppercase;
  line-height: 35px;
  text-align: center;
  width: 100%;
}
.project-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5.5rem auto 0rem;
  width: 60%;
  height: 500px;
  object-fit: cover;
}
.project-data {
  position: relative;
}
.project-info {
  font-family: var(--font-roboto);
  border-bottom: 2px dashed var(--black-color);
  width: 200px;
  padding-bottom: 7px;
}
.project-info label {
  font-size: 13px;
  color: var(--gray-color);
  font-weight: 500;
  letter-spacing: 1.2px;
}
.project-info p {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
}
.info-pos-1 {
  position: absolute;
  bottom: 2%;
  left: 3%;
}
.info-pos-2 {
  position: absolute;
  bottom: 2%;
  right: 3%;
  text-align: right;
}
.project-para {
  width: 30%;
  text-align: justify;
  font-family: var(--font-roboto);
  margin: 1rem auto 1.5rem;
}
.project-detail-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  grid-gap:2rem;
  padding:0px 25px 0px 0px;
  margin-bottom: 14rem;
}
.project-img-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-img-center img {
  width: 100%;
  height: 230px;
  margin: 0px 7px;
}
.project-col-img,
.project-detail-card {
  position: relative;
  width: 230px;
  height: 230px;
}
.project-col-img img {
  position: absolute;
  top: 50%;
  right: -25%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
}
.project-detail-card .card {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translateY(-50%);
  width: 230px;
  height: 230px;
  border: 1px solid var(--black-color);
}
.project-detail-card .card img {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 30px;
  height: 30px;
}
.project-detail-card .card ul {
  position: absolute;
  bottom: 3%;
  left: 4%;
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-roboto);
}
.project-detail-card .card ul li {
  margin-bottom: 4px;
}
.project-detail-card .card .title {
  font-size: 11px;
  font-family: var(--font-roboto);
  text-transform: uppercase;
  margin-left: 10px;
  margin-top: 10px;
}
.project-detail-card .card .title .slash {
  position: absolute;
  top: 1.5%;
  left: 29%;
  font-size: 30px;
  font-weight: 400;
}
.project-heading {
  position: absolute;
  top: 110%;
  right: 6%;
  width: 800px;
}
.project-heading h4 {
  font-size: 20px;
  font-weight: 500;
  font-family: var(--font-roboto);
}
.prlisting-flex {
    text-align: center;
    margin: auto;
    width:95%;
}

.prlisting-title {
    font-size: 30px;
    font-family: var(--font-changa);
    font-weight: 500;
    line-height: 30px;
    color: var(--black-color);
}


/* Add responsive styles for project detail page */
@media only screen and (max-width: 1506px) {
  .project-title h4 {
    font-size: 105px;
    margin-top: 3rem;
  }
  .label {
    font-size: 15px;
    line-height: 15px;
  }
    .prlisting-title {
        font-size: 20px;
        font-family: var(--font-changa);
        font-weight: 400;
        line-height: 30px;
        color: var(--black-color);
    }
}
@media only screen and (max-width: 991px) {
  .project-title h4 {
    font-size: 120px;
    margin-top: 3rem;
  }

  .label {
    font-size: 20px;
  }

  .project-bg {
    width: 80%;
    height: 400px;
    margin-top: 4rem;
  }

  .project-para {
    width: 70%;
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
    margin-bottom: 6rem;
    padding: 0px 15px;
  }

  .project-img-center {
    margin: 30px 0;
  }

  .project-detail-card .card {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .project-col-img img {
    position: static;
    transform: none;
    margin: 0 auto;
    display: block;
  }

  .project-heading {
    position: static;
    width: 100%;
    padding: 0 20px;
    margin-top: 30px;
  }

  .project-heading h4 {
    font-size: 18px;
    text-align: center !important;
  }
    .prlisting-title {
        font-size: 20px;
        font-family: var(--font-changa);
        font-weight: 400;
        line-height: 30px;
        color: var(--black-color);
    }
}

@media only screen and (max-width: 768px) {
  .project-title h4 {
    font-size: 90px;
  }

  .label {
    font-size: 18px;
  }

  .project-bg {
    width: 90%;
    height: 350px;
  }

  .project-para {
    width: 90%;
  }

  .project-img-center {
    flex-direction: column;
  }

  .project-img-center {
    margin: 10px 0;
  }

  .project-img-center img {
    width: 100%;
    height: 300px;
    margin: 10px 0;
    object-fit: cover;
  }

  .info-pos-1,
  .info-pos-2 {
    position: static;
    text-align: center;
    margin: 20px auto;
    width: 200px;
  }
    .prlisting-title {
        font-size: 20px;
        font-family: var(--font-changa);
        font-weight: 400;
        line-height: 30px;
        color: var(--black-color);
    }
}

@media only screen and (max-width: 480px) {
  .project-title h4 {
    font-size: 60px;
    line-height: 30px;
  }

  .label {
    font-size: 16px;
    line-height: 25px;
  }

  .project-bg {
    width: 100%;
    height: 250px;
    margin-top: 3rem;
  }

  .project-para {
    width: 100%;
    padding: 0 15px;
  }

  .project-detail-card .card {
    width: 100%;
    max-width: 230px;
  }

  .project-heading h4 {
    font-size: 16px;
  }
    .prlisting-title {
        font-size: 20px;
        font-family: var(--font-changa);
        font-weight: 400;
        line-height: 30px;
        color: var(--black-color);
    }
}
