/* Home page styles */

/* ===== HERO ===== */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.30) 100%);
  z-index: 1;
}

.home-hero .media {
  position: absolute;
  inset: 0;
  background: #E1E7EB;
  z-index: 0;
}

.home-hero .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero .hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 40px;
  flex-flow: column;
  padding: 0 0px 0 100px;
  width: 100%;
  max-width: 100%;
}

.home-hero .content {
  flex: 1;
  max-width: 884px;
  align-self: flex-start;
}

.home-hero h1 {
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 78px;
  font-weight: 500;
  line-height: 1;
  color: var(--bg, #FFFFFF);
  margin-bottom: 41px;
}

.home-hero .actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
}

.home-hero .hero-call {
  background: var(--navy, #061C2D);
  color: var(--gold, #FFD400);
  border-color: var(--navy, #061C2D);
}

.home-hero .hero-call:hover {
  background: var(--gold, #FFD400);
  color: var(--navy, #061C2D);
  border-color: var(--gold, #FFD400);
}

.home-hero .badges {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background: var(--brand, #4079A0);
  padding: 30px 64px 30px 16px;
  flex-shrink: 0;
  z-index: 0;
}

.home-hero .badges::before {
  content: "";
  position: absolute;
  left: -160px;
  bottom: 0;
  width: 170px;
  height: 100%;
  background: url("../img/blue-retangle-curve.svg") no-repeat right bottom / 100% 100%;
  pointer-events: none;
}

.home-hero .badges > * {
  position: relative;
  z-index: 1;
}

.home-hero .badges img {
  height: 67px;
  width: auto;
}

/* ===== ABOUT ===== */
.home-about {
  background: #FFFFFF;
  color: var(--ink, #061C2D);
  padding: 90px 0;
}

.home-about .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 150px;
  align-items: center;
}

.home-about .content {
  order: 1;
}

.home-about .media {
  order: 2;
  display: flex;
  justify-content: center;
}

.home-about .eyebrow {
  margin-bottom: 20px;
}

.home-about h2 {
  margin-bottom: 50px;
}

.home-about .body {
  margin-bottom: 45px;
}

.home-about .frame {
  position: relative;
  width: min(100%, 505px);
  margin: 28px 28px 28px 24px;
}

.home-about .frame::before,
.home-about .frame::after {
  content: "";
  position: absolute;
  background: var(--brand, #4079A0);
  z-index: 0;
}

.home-about .frame::before {
  top: -28px;
  left: -28px;
  width: 78%;
  height: 88%;
}

.home-about .frame::after {
  right: -28px;
  bottom: -28px;
  width: 78%;
  height: 58%;
}

.home-about .frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* ===== SERVICES ===== */
.home-services {
  background: #E1E7EB;
  padding: 110px 0 50px;
}

/* ===== AWARDS ===== */
.home-awards {
  padding: 100px 0;
  background: var(--bg, #FFFFFF);
}

.home-awards .logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.home-awards .logos img {
  height: 80px;
  width: auto;
}

/* ===== BLOG ===== */
.home-blog {
  background: #E8EEF4;
  overflow: hidden;
  position: relative;
  padding: 90px 0;
}

.home-blog .bg {
  --parallax-y: 0px;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: lightgray;
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, 0.79) 0%, rgba(255, 255, 255, 0.89) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.00) 100%),
    url("../img/content-container.webp");
  background-attachment: fixed, fixed, fixed;
  background-position:
    center,
    center,
    center calc(50% + var(--parallax-y));
  background-repeat: no-repeat;
  background-size: auto, auto, cover;
}
.home-blog .btn-layout.dark {
    padding: 14px 75px;
}
.home-blog .container {
  position: relative;
  z-index: 1;
}

.home-blog .header {
  margin-bottom: 50px;
}

.home-blog .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.home-blog .swiper {
  position: relative;
  overflow: hidden;
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

.home-blog .swiper-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: content-box;
}

.home-blog .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
}

.home-blog .eyebrow {
  margin-bottom: 8px;
}

.home-blog .blog-swiper {
  overflow: hidden;
}

.home-blog .blog-swiper .swiper-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  position: relative;
}

.home-blog .blog-swiper .swiper-pagination-bullet {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(6, 28, 45, 0.28);
  opacity: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-blog .blog-swiper .swiper-pagination-bullet-active {
  background: var(--ink, #061C2D);
  transform: scale(1.08);
}

.home-blog .card {
  background: var(--bg, #FFFFFF);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.home-blog .tag {
  display: block;
  background: #4079A0;
  color: var(--bg, #FFFFFF);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 18px;
  font-weight: 400;
  padding: 20px 30px;
  max-width: fit-content;
}

.home-blog .card .body {
  padding: 30px 20px 40px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.home-blog .date {
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-muted, #707070);
  margin-bottom: 48px;
  display: block;
}

.home-blog .card h3 {
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink, #061C2D);
  line-height: normal;
  margin-bottom: 20px;
}

.home-blog .card .read-more {
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink, #061C2D);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-blog .card:hover .read-more,
.home-blog .card:focus-visible .read-more {
  color: var(--brand, #4079A0);
}

@media (max-width: 991px) {
  .home-about,
  .home-services,
  .home-awards,
  .home-blog {
    padding: var(--section-pad-mobile) 0!important;
  }
  .home-blog .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .home-blog .card .body {
    min-height: 240px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .home-blog .bg {
    background-attachment: scroll, scroll, scroll;
  }

  .home-hero .hero-grid {
    flex-direction: column;
    padding: 300px 0px 0;
    align-items: flex-start;
  }

  .home-hero h1 {
    font-size: 50px;
  }

  .home-hero .actions {
    gap: 16px;
  }

 .home-hero .content {
    padding-bottom: 40px;
    padding: 0 20px;
  }
  .home-hero .badges {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding: 30px 20px;
    justify-content: center;
  }

 .home-hero .badges:before {
  display:none;
  }

  .home-about .grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-about .media {
    order: -1;
  }

  .home-about h2 {
    font-size: 36px;
  }

  .home-blog h2 {
    font-size: 36px;
  }

  .home-blog .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

}

@media (max-width: 620px) {
  .home-hero {
    min-height: 100vh;
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .home-hero .actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    max-width: 340px;
  }

  .home-hero .actions .btn-layout {
    justify-content: center;
    width: 100%;
    padding-inline: 24px;
    text-align: center;
  }

  .home-hero .badges img {
    height: 50px;
  }

  .home-about h2 {
    font-size: 40px;
  }

  .home-about .body p {
    font-size: 18px;
  }

  .home-blog h2 {
    font-size: 30px;
  }

  .home-awards .logos {
    gap: 24px;
  }

  .home-awards .logos img {
    height: 50px;
  }
}

@media (max-width: 520px) {
  .home-hero h1 {
    font-size: 32px;
  }


}

@media (prefers-reduced-motion: reduce) {
  .home-blog .bg {
    background-attachment: scroll, scroll, scroll;
  }
}
