
section {
  padding: 80px 0;
}
html, body, section {
  overflow-x: hidden;
}
.jumbotron h1 {
  width: 60%;
}
.shape-wrapper { position: relative; overflow: hidden; height: 230px;top: -220px;}
.red-shape--top,
.red-shape--bottom {
  position: absolute;
  width: 200px;
  height: 80px;
  background: #D4372E;
  transform: skewX(-12deg);
  z-index: -10;
  margin: 0;
}
.red-shape--top {
  top: 60px;
  right: 35px;
  transform: skewX(-12deg) translateX(55px);
}
.red-shape--bottom {
  top: 140px;
  right: 147px;
  transform: skewX(-12deg) translateX(-50px);
}
@media only screen and (max-width: 768px) {
  .jumbotron h1 {
    width: 75%;
  }
  .red-shape--top, .red-shape--bottom {
    display: none;
  }
  section {
    padding: 40px 0;
  }
}
.image-banner {
  margin-top: -180px;
}


/* start::section-3 */
.masonry{
  column-count: 3;
  column-gap: 20px;
}
.masonry-item{
  break-inside: avoid;
  margin-bottom: 20px;
  overflow: hidden;
}
.masonry-item img{
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 992px){
  .masonry{ column-count: 2; }
}
@media (max-width: 576px){
  .masonry{ column-count: 1; }
}
/* end::section-3 */

/* start::section-4 */
#section-4 {
  background-color: #2443DB;
  padding: 45px 0;
}
#section-4 h2 {
  color: #fff;
  margin-bottom: 30px;
}
#section-4 .cta-form {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
}
#section-4 .cta-form input {
  flex: 1;
  height: 48px;
  border: 0;
  outline: none;
  padding: 0 16px;
  background: #fff;
  color: #101828;
}
#section-4 .cta-form input::placeholder {
  color: #8b95a7;
}
#section-4 .cta-form button {
  height: 48px;
  padding: 0 26px;
  border: 0;
  cursor: pointer;
  background: #D4372E;
  color: #fff;
  font-weight: 600;
  transition: transform .2s ease, opacity .2s ease;
}
#section-4 .cta-form button:hover {
  transform: translateY(-1px);
  opacity: .95;
}
@media (max-width:576px) {
  #section-4 .cta-wrap {
    flex-direction: column;
  }
  #section-4 .cta-content {
    width: 100%;
    padding: 50px 26px;
  }
  #section-4 .cta-content h2 {
    font-size: 32px;
  }
  #section-4 .cta-form {
    flex-direction: column;
    align-items: stretch;
    height: 105px;
  }
  #section-4 .cta-form button {
    width: 180px;
  }
}
/* end::section-4 */


/* start::section-5 */
#section-5 span {
  position: relative;
  padding-left: 15px;
}
#section-5 span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #2443DB;
  border-radius: 50%;
}
.project-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: blur(6px);
  transform: scale(1);
  transition: transform .6s ease, filter .4s ease;
  will-change: transform;
}

.project-card:hover img{
  transform: scale(1.2);
}


.project-card img.loaded {
  filter: blur(0);
}

.project-card .overlay {
  position: absolute;
  inset: 0;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.project-card .overlay {
  position: absolute;
  inset: 0;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.project-card .overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, .75) 0%,
      rgba(0, 0, 0, .45) 35%,
      rgba(0, 0, 0, .15) 60%,
      rgba(0, 0, 0, 0) 100%);
  z-index: -1;
  opacity: .65;
  transition: opacity .3s ease;
}

.project-card:hover .overlay::before {
  opacity: 1;
  background: linear-gradient(to top,
      rgba(0, 0, 0, .75) 0%,
      rgba(0, 0, 0, .45) 35%,
      rgba(0, 0, 0, .15) 60%,
      rgba(0, 0, 0, 0) 100%);
}

.projects-grid:has(.project-card:hover) .project-card:not(:hover) .overlay::before {
  opacity: .65;

}
.overlay h5 {
  color: white;
}

.projects-grid {
  position: relative;
}

.project-item {
  width: 33.3333%;
}

@media (max-width:991px) {
  .project-item {
    width: 100%;
  }
}

.project-card:hover .overlay {
  opacity: 1;
}

.category-date {
  margin-bottom: 13px;
}

.category-date .category {
  color: #D4372E;
}
/* end::section-5 */



/* start::section-6 */
#section-6 {
  padding: 0;
  margin-top: -1px;
}

#section-6 .cta-wrap {
  display: flex;
  min-height: 380px;
}

#section-6 .cta-media {
  width: 45%;
  background-image: url("/assets/img/home-cta-worker.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

#section-6 .cta-content {
  width: 55%;
  background: #2443DB;
  padding: 70px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#section-6 .cta-content h1 {
  color: #fff;
  margin: 0 0 18px;
  max-width: 620px;
}

#section-6 .cta-content p {
  color: rgba(255, 255, 255, .85);
  margin: 0 0 28px;
  max-width: 560px;
  line-height: 1.6;
}

#section-6 .cta-form {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 560px;
}

#section-6 .cta-form input {
  flex: 1;
  height: 48px;
  border: 0;
  outline: none;
  padding: 0 16px;
  background: #fff;
  color: #101828;
}

#section-6 .cta-form input::placeholder {
  color: #8b95a7;
}

#section-6 .cta-form button {
  height: 48px;
  padding: 0 26px;
  border: 0;
  cursor: pointer;
  background: #D4372E;
  color: #fff;
  font-weight: 600;
  transition: transform .2s ease, opacity .2s ease;
}

#section-6 .cta-form button:hover {
  transform: translateY(-1px);
  opacity: .95;
}

@media (max-width:991px) {
  #section-6 .cta-wrap {
    flex-direction: column;
  }

  #section-6 .cta-media {
    width: 100%;
    height: 260px;
  }

  #section-6 .cta-content {
    width: 100%;
    padding: 50px 26px;
  }

  #section-6 .cta-content h2 {
    font-size: 32px;
  }

  #section-6 .cta-form {
    flex-direction: column;
    align-items: stretch;
    height: 105px;
  }

  #section-6 .cta-form button {
    width: 180px;
  }
}

/* end::section-6 */