/* ----------------hero section-------------------- */
.header-content {
  padding: 5rem 0;
}

.header-content-right-side {
  max-width: 38.8rem;
}

.discover-btn , .request{
  border-radius: 0;
  padding: 1.6rem 2.4rem;
}

.header-content-left-side {
  max-width: 39.2rem;
}

@media (max-width: 992px) {
  .header-content-left-side{
    background-color: var(--bs-light-100);
    padding: 1rem;
    border-radius: 1rem;
  }

  .request{
    background-color: var(--bs-light-100);
  }
}

/* ---------------------main-------------------- */
.home-description {
  padding: 5rem 0;
  max-width: 115rem;
}

.home-card {
  width: 22.9rem;
}

.home-card h3 {
  min-height: 5rem;
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.home-card p {
  min-height: 6rem;
}

/* ---------------------section1-------------------- */
.projects {
  position: relative;
  height: 60rem;
}

.inner {
  position: relative;
  height: 100%;
}

.project-card {
  position: absolute;
  overflow: hidden;
  top: 0;
  bottom: 0;
  width: 25%;
  transition: 0.5s;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.project-card > * {
  position: relative;
  z-index: 2;
}

.project-card:nth-child(1) {
  right: 0;
}
.project-card:nth-child(2) {
  right: 25%;
}
.project-card:nth-child(3) {
  right: 50%;
}
.project-card:nth-child(4) {
  right: 75%;
}

.inner:hover .project-card:not(:hover) {
  opacity: 0;
}

.inner:hover .project-card:hover {
  right: 0;
  width: 100%;
  z-index: 10;
}

.project-card h4 {
  transition: all 0.5s ease;
}

.project-card ul,
.project-card p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  flex-grow: 1;
  transition: 0.5s;
  width: 100%;
  padding-inline-start: 2rem;
  list-style: disc;
}

.project-card p {
  padding-inline-start: 0;
  list-style: none;
}

.project-card:hover ul,
.project-card:hover p {
  opacity: 1;
  max-height: 60rem;
}

.cyber-security {
  background: url(../assets/images/cyber-security.webp) no-repeat center/cover;
}

.highway {
  background: url(../assets/images/highway.webp) no-repeat center/cover;
}

.buildozer {
  background: url(../assets/images/buildozer.webp) no-repeat center/cover;
}

.landscape {
  background: url(../assets/images/landscape.webp) no-repeat center/cover;
}
/* ---------------------section2-------------------- */
.section2-content {
  width: 62.1rem;
}
