body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#slider {
  color: #FFFFFF !important;
}

.hero-swiper {
  width: 100%;
  height: 80vh;
  min-height: 520px;
  position: relative;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, 0) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px;
  color: #fff;
  max-width: 1100px;
}

.slide-content .top {
  display: flex;
  gap: 15px;
}

.slide-content .top h4 {
  color: white;
  line-height: 34px;
}

.title {
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.05;
  margin: 0 0 16px;
  font-weight: 800;
  color: #FFFFFF;
  max-width: 50vw;
}

.desc {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  opacity: .95;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .75);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, .15);
}

.cta:hover {
  background: rgba(255, 255, 255, .12);
}

.red-shape--top {
  top: 430px;
  right: 35px;
  position: absolute;
  margin: -55px;
  background: #D4372E;
  width: 300px;
  height: 100px;
  -ms-transform: skewX(-12deg);
  -webkit-transform: skewX(-12deg);
  transform: skewX(-12deg);
}

.red-shape--bottom {
  top: 425px;
  right: 251px;
  position: absolute;
  margin: 50px;
  background: #D4372E;
  width: 300px;
  height: 100px;
  -ms-transform: skewX(-12deg);
  -webkit-transform: skewX(-12deg);
  transform: skewX(-12deg);
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 22px !important;
}

.swiper-pagination-bullet {
  opacity: 1;
  border: 1px solid #fff;
  background: transparent;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.hero-bar {
  position: absolute;
  bottom: 18px;
  z-index: 5;
  width: 100%;
  padding: 0 30px;
}

.hero-bar__inner {
  gap: 18px;
}

.hero-bar__dots::before {
  content: "";
  border: transparent;
  background-color: #FFFFFF;
  width: 100%;
  height: 2px;
  margin-top: 5px;
}

.hero-bar__title {
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 18px;
}

.hero-bar__line {
  margin-top: 12px;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, .7);
}

.hero-bar__dots {
  display: flex;
  justify-content: end;
  gap: 10px;
}

.hero-bar__dots .swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
}

.hero-bar__dots .swiper-pagination-bullet-active {
  opacity: 1;
  background: #ff3b30;
  border: 1px solid #ff3b30;
}

.hero-swiper .swiper-pagination {
  position: static !important;
}

@media (max-width: 768px) {
  .hero-swiper {
    height: 75vh;
    min-height: 480px;
  }

  .slide-content {
    padding: 28px;

  }

  .red-shape {
    display: none;
  }
}



/* start::section-2 */
#section-2 {
  padding: 80px 0;
}

.projects-filter {
  margin-top: 10px;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.filter-btn {
  background: none;
  border: none;
  /* margin: 10px 0; */
  font-weight: 500;
  color: #888;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  color: #D4372E;
}

.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;
}

.projects-search {
  position: relative;
  margin: 0 auto 14px;
}

.projects-search input {
  width: 100%;
  height: 46px;
  border: 0;
  border-bottom: 1px solid #d8d8d8;
  outline: none;
  padding: 0 44px 0 4px;
  font-size: 14px;
  background: transparent;
}

.projects-search input::placeholder {
  color: #b9b9b9;
}

.projects-search .search-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 8px 8px;
  cursor: pointer;
  color: #333;
}

.page-item.active .page-link {
  background-color: #D4372E;
  border-color: #D4372E;
}

.page-link {
  color: black;
}
/* end::section-2 */


/* start::section-5 */
#section-5 {
  padding: 0;
  margin-top: -1px;
}

#section-5 .cta-wrap {
  display: flex;
  min-height: 380px;
}

#section-5 .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-5 .cta-content {
  width: 55%;
  background: #2443DB;
  padding: 70px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#section-5 .cta-content h1 {
  color: #fff;
  margin: 0 0 18px;
  max-width: 620px;
}

#section-5 .cta-content p {
  color: rgba(255, 255, 255, .85);
  margin: 0 0 28px;
  max-width: 560px;
  line-height: 1.6;
}

#section-5 .cta-form {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 560px;
}

#section-5 .cta-form input {
  flex: 1;
  height: 48px;
  border: 0;
  outline: none;
  padding: 0 16px;
  background: #fff;
  color: #101828;
}

#section-5 .cta-form input::placeholder {
  color: #8b95a7;
}

#section-5 .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-5 .cta-form button:hover {
  transform: translateY(-1px);
  opacity: .95;
}

@media (max-width:991px) {
  #section-5 .cta-wrap {
    flex-direction: column;
  }

  #section-5 .cta-media {
    width: 100%;
    height: 260px;
  }

  #section-5 .cta-content {
    width: 100%;
    padding: 50px 26px;
  }

  #section-5 .cta-content h2 {
    font-size: 32px;
  }

  #section-5 .cta-form {
    flex-direction: column;
    /* display: block; */
    align-items: stretch;
    height: 105px;
  }

  #section-5 .cta-form button {
    width: 180px;
  }
}

/* end::section-5 */