
  .my-carousel {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
  }

  .my-swiper {
    overflow: hidden;
  }

.swiper-slide {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin: 10px 10px;
  text-align: center;
  font-size: 18px;
  box-shadow: 0 0 8px rgb(119, 196, 232);
  display: flex;
  flex-direction: column; /* ✅ Ключевой момент */
  align-items: center;
  justify-content: center;
      max-width: 90%;
  width: 100%;
    min-height: 24vh;
}

  .my-carousel-arrow {
    background-color: rgb(119, 196, 232);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 22px;
    padding: 0;
    top: 75%;
    transform: translateY(-50%);
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 22px;
    font-weight: bold;
  }

  .swiper-button-prev {
    left: 10px;
  }

  .swiper-button-next {
    right: 10px;
  }
  .swiper-slide p:last-child {
  font-style: italic;
  color: #666;
}
  .swiper-slide p {
  margin: 0;
  padding: 0;
}

.swiper-slide .author {
  margin-top: 10px;
  font-style: italic;
  color: #666;
}
  @media (max-width: 768px) {
      .swiper-slide{
          max-width: 30vh;
      }
  }
  @media (max-width: 480px) {
  .swiper-slide {
    padding: 16px;
    font-size: 16px;
  }
}
@media (min-width: 768px) and (max-width: 997.98px) {
  .landing-text {
    margin-left: 30px;
    margin-top: 15px;
  }
}
.landing .img-fluid {
    max-width: 100%;
}

/* ── Service cards grid ── */
.services-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f5f8fc;
  border-radius: 14px;
  padding: 24px 14px 20px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #be0017;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.service-card__icon {
  height: 100px;
  object-fit: contain;
  margin-bottom: 14px;
}

.service-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 6px;
  line-height: 1.3;
}

.service-card__subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #4a5568;
  margin: 0 0 10px;
}

.service-card__stats {
  font-size: 13px;
  color: #555;
  margin: 0 0 16px;
}
.service-card__stats .num {
  font-weight: 700;
  color: #be0017;
}

.service-card__btn {
  display: inline-block;
  margin-top: auto;
  padding: 8px 30px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #be0017;
  border: none;
  border-radius: 22px;
  transition: background .2s, transform .15s;
}
.service-card:hover .service-card__btn {
  background: #9a0012;
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .services-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575px) {
  .services-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
  }
  .service-card {
    padding: 16px 10px 14px;
  }
  .service-card__icon {
    height: 80px;
  }
  .service-card__title {
    font-size: 15px;
  }
  .service-card__subtitle {
    font-size: 14px;
  }
  .service-card__stats {
    font-size: 13px;
  }
  .service-card__btn {
    padding: 7px 22px;
    font-size: 13px;
  }
}