.top-space {display: none !important;}

.hero-banner {
  height: 45vh;
  position: relative;
  padding-top: 8vh;
}

.hero-pic{
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
}

.hp-desktop{display: block;}
.hp-responsive{display: none;}

.hero-container{
  display: flex;
  z-index: 1;
  padding: 0 4em;
  position: relative;
  z-index: 1;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
}

h1 {
  font-size: clamp(3em, 6vw, 8.5em);
  text-align: center;
  z-index: 1;
  letter-spacing: -3px;
  position: relative;
  font-weight: 900;
}

.hero-container p {
  margin: 1em auto 3em;
  font-size: clamp(.9em, 1.4vw, 1.2em);
  text-align: center;
  width: 100%;
  max-width: 1450px;
}
/* End */

main {
  max-width: 1700px;
  margin: 0 auto;
  padding: 4em;
}

.client-projects {width: 100%;}

.client-projects .content{
  display: grid;
  margin: 0 auto;
  max-width: 100%;
  align-items: start;
  gap: 40px 30px;
  justify-items: center;
  height: 100% !important;
  grid-template-rows: auto;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 23%), 1fr));
}

.card {
  position: relative;
  text-align: left;
}

.card-pic {
  width: 100%;
  height: 235px;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  margin-bottom: 1em;
}

.card h3{
  font-size: 22px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card p {
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card p br{display: none;}

/* Responsive Mode */
@media (max-width: 1920px){
  .hero-banner {
    height: 510px;
    padding-top: 87px;
  }

  .hero-container p {max-width: 1300px;}
  main {max-width: 1500px;}
}

@media (max-width: 1600px){
  main {max-width: 1250px;}
}

@media (max-width: 1440px){
  .card-pic {height: 195px;}
}

@media (max-width: 1400px){
  .hero-banner {
    height: 100%;
    padding-top: 147px;
  }
}

@media (max-width: 1100px){
  main {
    max-width: 900px;
    padding: 1em 4em 3em;
  }

  .card-pic {height: 175px;}
  .card h3 {font-size: 18px;}
  .card p {font-size: 15px;}
}

@media (max-width: 1024px){
  .hero-banner {height: 400px;}
  .hero-container {padding: 3em 4em 0;}

  .tabs {
    max-width: 100%;
    width: 100%;
  }

  .hero-container p {padding: 0 1em;}

  .client-projects .content {
    gap: 30px 20px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 30%), 1fr));
  }
}

@media (max-width: 800px){
  .hero-container {padding: 3em 0 0;}
  .card-pic {height: 135px;}
}

@media (max-width: 700px){
  main {padding: 1em 2em 3em;}
}

@media (max-width: 600px){
  h1 {letter-spacing: -1px;}
  .client-projects .content {grid-template-columns: repeat(auto-fill, minmax(min(100%, 45%), 1fr));}
  .card-pic {height: 110px;}
  .card h3 {font-size: 18px;}
  .card p {font-size: 13px;}
}