.home-certificates {
  padding: 140px 0 120px;
  position: relative;
  background-image: var(--home-certificates-bg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  transition: background-image 0.35s ease, background-position 0.35s ease;
}



.home-certificates-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 35px;
}

.home-certificates-title {
  max-width: 1080px;
  font-size: var(--f48);
  font-weight: 700;
  color: #222;
}

.home-certificates-more {
  margin: 0;
  white-space: nowrap;
}



.home-certificates-swiper {
  overflow: visible;
}

.home-certificates-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-height: 445px;
  padding: 50px;
  border-radius: 16px;
  background: #fff;
  background-image: var(--home-cert-card-bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: transform 0.25s ease, background 0.25s ease;
  position: relative;
}

.home-certificates-card:hover {
  transform: translateY(-4px);
}

.home-certificates-card::before {
  content: '';
  position: absolute;
  inset: 0;
   border-radius: 15px;
  background: #fff;
  transition: background 0.25s ease;
}

.home-certificates-card:hover::before {
  background: rgba(0, 91, 172, 0.28);
   border-radius: 15px;
}

.home-certificates-card:hover .home-certificates-card-title,
.home-certificates-card:hover .home-certificates-card-desc,
.home-certificates-card:hover .home-certificates-card-icon,
.home-certificates-card:hover .home-certificates-card-icon i {
  color: #fff;
}

.home-certificates-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  justify-content: space-between;
  z-index: 1;
}

.home-certificates-card-title {
  font-weight: 700;
  color: #222;
}

.home-certificates-card-desc {
  margin-top: 10px;
  font-size: var(--f16);
  color: #888;
}

.home-certificates-card-icon {
  color: var(--gm-theme);
}

.home-certificates-card-icon i {
  font-size: 42px;
  line-height: 1;
}

.home-certificates-card-image {
  position: absolute;
  width:50%;
  max-width: 250px;
  right: 50px;
  bottom: -45px;
  z-index: 2;
}

.home-certificates-card-image img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.home-certificates-pagination {
  position: static;
  margin-top: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.home-certificates-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 !important;
  background: #bed0df;
  opacity: 1;
}

.home-certificates-pagination .swiper-pagination-bullet-active {
  background: var(--gm-theme);
}
@media (min-width: 768px) {

  .home-certificates-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 75px;
  }


}