:root {
  --primary: #002C5A;
  --secondary: #CD0000;
  --colorful-blue: #1D5FAA;
  --light-blue: #E3EBFF;
  --white: #ffffff;
  --gray: #e0e0e0;
  --dark: #0F1228;
  --black: #000000;
}

.references-filtration .swiper-button-prev,
.references-filtration .swiper-button-next {
  width: 45px;
  height: 45px;
  background-color: var(--secondary);
  transition: 0.3s;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 0;
  position: initial;
}
.references-filtration .swiper-button-prev svg,
.references-filtration .swiper-button-next svg {
  display: none;
}
.references-filtration .swiper-button-prev:hover,
.references-filtration .swiper-button-next:hover {
  background-color: rgb(237, 28, 36);
}
.references-filtration .swiper-button-prev {
  background-image: url("/wp-content/uploads/2026/03/Vector.svg");
}
.references-filtration .swiper-button-next {
  background-image: url("/wp-content/uploads/2026/03/Vector-1.svg");
}
.references-filtration .referencesFiltration {
  overflow: visible;
}
.references-filtration .referencesFiltration .swiper-slide {
  width: auto;
  padding-left: 10px;
}
.references-filtration .referencesFiltration .swiper-slide .wrapper {
  background-color: var(--light-blue);
  transition: 0.3s;
  padding: 0.7rem 2rem 0.7rem 2rem;
}
.references-filtration .referencesFiltration .swiper-slide a {
  text-decoration: none;
  color: var(--primary);
  height: 100%;
  width: 100%;
}
.references-filtration .referencesFiltration .swiper-slide a h2 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0;
}
.references-filtration .referencesFiltration .swiper-slide a img {
  height: 50px;
  object-fit: contain;
}
.references-filtration .referencesFiltration .swiper-slide.active a, .references-filtration .referencesFiltration .swiper-slide:hover a {
  color: var(--white);
}
.references-filtration .referencesFiltration .swiper-slide.active .wrapper, .references-filtration .referencesFiltration .swiper-slide:hover .wrapper {
  background-color: var(--primary);
}

.project-card {
  height: 425px;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  transition: 0.3s;
  background: linear-gradient(186.18deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 93%), var(--bg-image);
}
@media screen and (max-width: 767.98px) {
  .project-card {
    height: 300px;
  }
}
.project-card::before {
  content: "";
  position: absolute;
  background: linear-gradient(186.18deg, rgba(0, 0, 0, 0) 50.1%, rgba(0, 44, 90, 0.8) 93.38%), linear-gradient(0deg, rgba(41, 56, 150, 0.2), rgba(41, 56, 150, 0.2));
  transition: 0.3s;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.project-card:hover::before {
  opacity: 0.8;
}
.project-card a {
  position: relative;
  z-index: 100;
}
.project-card .title {
  margin-bottom: 1.5rem;
  transition: 0.5s;
}
.project-card .title .heading {
  position: relative;
  z-index: 99;
  font-weight: 600;
  line-height: 1.4;
  transition: transform 0.5s ease, font-size 0.5s ease;
}
.project-card .title .heading::before {
  content: "";
  width: 30px;
  height: 5px;
  background-color: var(--secondary);
  display: block;
  position: absolute;
  z-index: 99;
  left: -48px;
  top: 19px;
}
@media screen and (max-width: 991.98px) {
  .project-card .title .heading::before {
    left: -45px;
  }
}
@media screen and (max-width: 767.98px) {
  .project-card .title .heading::before {
    left: -42px;
    top: 16px;
  }
}
.project-card .title .cta {
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.project-card.bigger-box .heading {
  font-size: 2rem;
}
.project-card.smaller-box .heading {
  font-size: 1.75rem;
}
.project-card.smaller-box .heading::before {
  top: 17px;
}
@media screen and (max-width: 767.98px) {
  .project-card.smaller-box .heading::before {
    top: 14px;
  }
}
.project-card:hover .cta {
  transform: translateY(0);
  opacity: 1;
}
