/*******************
* Hero Section
********************/
.hero-wrapper {
  background: url("../assets/ui/bgnd0.svg") no-repeat center center;
  background-size: cover;
}

.hero {
  margin-top: 3rem;
  padding: 6rem 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  width: 50%;
}
.hero-content .hero-text {
  width: 80%;
}
.hero-content .hero-buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}
.hero-content .hero-socials {
  margin-top: 2rem;
}

.hero-image {
  width: 50%;
  aspect-ratio: 3/2;
  min-height: 100%;
  overflow: hidden; /* This ensures the image stays clipped */
  transition: 0.3s ease-in-out width;
  border-radius: 1rem;
}
.hero-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 1rem;
}

/*******************
* Services Section
********************/
.services-wrapper {
  background: #141d2c;
}

.services {
  padding: 4rem 0;
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.services-content {
  width: 25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.services-content * {
  color: white;
}
.services-content p {
  color: rgba(255, 255, 255, 0.8);
}

.services-text {
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  flex: 1;
}

.service {
  background-color: #1d2b3f; /* dark background */
  color: white;
  padding: 1rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .service:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.75);
  }
  .service:hover::after {
    transform: rotate(45deg);
  }
}
.service h4 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-right: 1rem;
  font-weight: 700;
}

.service p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.service::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("../assets/ui/arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

/*******************
* Guarantees
********************/
.guarantees {
  padding: 4rem 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.guarantees-image {
  width: 50%;
  aspect-ratio: 1;
  min-height: 100%;
  overflow: hidden; /* This ensures the image stays clipped */
  transition: 0.3s ease-in-out width;
  border-radius: 1rem;
}
.guarantees-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 1rem;
}

.guarantees-content {
  width: 50%;
}

.guarantees-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.guarantee-title {
  padding-left: 25px;
  font-weight: 700;
  position: relative;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.guarantee-title::before {
  content: "";
  margin-right: 0.2rem;
  width: 1rem;
  height: 0.15rem;
  background-color: #00a4bd;
  left: 0rem;
  top: 0.75rem;
  position: absolute;
}

.guarantee-description {
  padding-left: 25px;
}

/*******************
* Projects
********************/
.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.projects-text {
  max-width: 50rem;
}
.projects-text h2.visanim {
  margin-bottom: 0.3rem;
}

.strikethrough::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 35%;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #00a4bd;
}

.projects-second-title {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

#projects-grid {
  margin-top: 0rem;
  width: 100%;
  position: relative;
}
#projects-grid .empty-space.first {
  height: 0rem;
}
#projects-grid .empty-space.second {
  height: 18rem;
}
#projects-grid .empty-space.third {
  height: 8rem;
}
#projects-grid .empty-space.fourth {
  height: 3rem;
}
#projects-grid #projects-spacer {
  visibility: hidden;
  width: 1%;
}

.empty-space {
  opacity: 0 !important;
  min-height: unset !important;
}

.project {
  z-index: 0;
  border-radius: 1rem;
  overflow: hidden;
  width: 24%;
  height: auto;
  background: #1d2b3f;
  transition: box-shadow 0.3s ease;
  margin-bottom: 1rem;
  position: relative;
}
.project::after {
  content: url("../assets/ui/arrow-dark.svg");
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 1.5rem;
  height: 1.5rem;
  z-index: 2;
  transition: transform 0.3s ease;
}
.project::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background: white;
  -webkit-backdrop-filter: blur(0.3rem);
          backdrop-filter: blur(0.3rem);
  border-radius: 50%;
  z-index: 1;
  transition: transform 0.3s ease;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse 2.5s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
.project-image {
  width: 100%;
  height: auto;
}
.project-image img {
  width: 100%;
  height: auto;
  min-height: 15rem;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  padding: 1.5rem;
  padding-top: 5rem;
  transition: 0.3s ease background-color;
}
.project-info::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
  background: linear-gradient(0deg, black 0%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
  transition: 0.5s ease opacity;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: #00a4bd;
  color: white;
  font-weight: 500;
  text-transform: lowercase;
  transition: 0.3s ease background-color;
  opacity: 1;
}
.tag:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.project-title {
  color: white;
  font-size: 1.4rem;
  line-height: 1;
  text-align: left;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .project:hover .project-image img {
    transform: scale(1.1);
  }
  .project:hover .project-info::after {
    opacity: 1;
  }
  .project:hover::after {
    transform: rotate(45deg);
  }
}
/*******************
* Reviews Section
********************/
.reviews-wrapper {
  background: transparent;
  position: relative;
  margin-top: -5rem;
  padding-top: 7rem;
}
.reviews-wrapper::before {
  content: "";
  position: absolute;
  top: -2rem;
  width: 100%;
  height: 100%;
  left: 0;
  background: #00a4bd;
  z-index: -2;
  -webkit-clip-path: polygon(0 0, 100% min(6vw, 120px), 100% 100%, 0 100%);
          clip-path: polygon(0 0, 100% min(6vw, 120px), 100% 100%, 0 100%);
}
.reviews-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
  z-index: -1;
  background: #141d2c;
  -webkit-clip-path: polygon(0 0, 100% min(6vw, 120px), 100% 100%, 0 100%);
          clip-path: polygon(0 0, 100% min(6vw, 120px), 100% 100%, 0 100%);
}

.reviews {
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.reviews h2 {
  color: white;
}

.reviews-text {
  max-width: 50rem;
}

.review-carousel-wrapper {
  padding-top: 2rem;
  text-align: left;
  background: #141d2c;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.review-carousel-wrapper span {
  position: absolute;
  width: 10%;
  height: 100%;
  top: 0;
  z-index: 1;
}
.review-carousel-wrapper .fade-left {
  left: 0;
  background: linear-gradient(to right, #141d2c 0%, rgba(20, 29, 44, 0) 100%);
}
.review-carousel-wrapper .fade-right {
  right: 0;
  background: linear-gradient(to left, #141d2c 0%, rgba(20, 29, 44, 0) 100%);
}

#review-carousel {
  position: relative;
  transition: transform 2s ease;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.review {
  background-color: #1c2b3a;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  flex: 1 0 calc((100% - 5rem) / 4); /* Four columns */
}
.review:first-child {
  margin-left: 1rem;
}

.review::before {
  content: url("../assets/ui/quote.svg");
  position: absolute;
  top: 1.3rem;
  right: 2.5rem;
  width: 1rem;
  height: auto;
  opacity: 0.2;
}

/*******************
* ABOUT
********************/
.about-wrapper {
  background-color: #141d2c;
  margin-top: -0.1rem !important;
}

.about {
  padding-bottom: 4rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.about-image {
  width: 50%;
  aspect-ratio: 1;
  min-height: 100%;
  overflow: hidden;
  transition: 0.3s ease-in-out width;
  border-radius: 1rem;
}
.about-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 1rem;
}

.about-content {
  width: 50%;
}

.about-content h2 {
  color: white;
}

/*******************
* Responsive
********************/
@media (max-width: 1000px) {
  /*******************
  * Navbar
  ********************/
  .navbar-wrapper {
    height: 4rem;
  }
  .nav-links {
    display: none;
  }
  #burger {
    display: block;
  }
  /*******************
  * Hero
  ********************/
  .hero {
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
  .hero-content {
    width: 100%;
    text-align: center;
  }
  .hero-content .hero-text {
    width: 100%;
  }
  .hero-content .hero-socials {
    display: none;
  }
  .hero-content .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    display: block;
    width: 100%;
    aspect-ratio: unset;
    height: auto;
    min-height: unset;
    max-height: 400px;
  }
  .hero-image img {
    height: 100%;
  }
  /*******************
  * Services
  ********************/
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services {
    padding: 3rem 0;
    flex-direction: column;
    align-items: center;
  }
  .services-content {
    width: 100%;
    flex-direction: column;
  }
  /*******************
  * Guarantees
  ********************/
  .guarantees {
    flex-direction: column-reverse;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    gap: 3rem;
  }
  .guarantees-content {
    width: 100%;
  }
  .guarantees-image {
    display: block;
    width: 100%;
    aspect-ratio: unset;
    height: auto;
    min-height: unset;
    max-height: 400px;
  }
  .guarantees-image img {
    height: 100%;
  }
  .guarantees-grid {
    margin-top: 2rem;
  }
  /*******************
  * Projects
  ********************/
  #projects-grid {
    margin-top: 3rem;
  }
  #projects-grid .project {
    margin-bottom: 2vw;
    width: 48%;
  }
  #projects-grid .project h4 {
    font-size: 1rem;
  }
  #projects-grid .empty-space {
    display: none;
    height: 0rem;
  }
  #projects-grid #projects-spacer {
    width: 2%;
  }
  .project-tags {
    margin-bottom: 0.5rem;
    gap: 0.25rem;
  }
  .project-tags .tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
  .project-info {
    padding: 1rem;
    padding-top: 10rem;
  }
  .project::after {
    width: 1.25rem;
    height: 1.25rem;
    top: 0.9rem;
    right: 0.9rem;
  }
  .project::before {
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
  }
  /*******************
  * Reviews
  ********************/
  .review {
    flex: 1 0 70%; /* One column */
  }
  .review:first-child {
    margin-left: calc(15% + 1rem);
  }
  /*******************
  * About
  ********************/
  .about {
    flex-direction: column;
    align-items: center;
    padding-bottom: 3rem;
    gap: 2rem;
  }
  .about-content {
    width: 100%;
  }
  .about-image {
    display: block;
    width: 100%;
    aspect-ratio: unset;
    height: auto;
    min-height: unset;
    max-height: 400px;
  }
  .about-image img {
    height: 100%;
  }
}
@media (max-width: 600px) {
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
}/*# sourceMappingURL=home.css.map */