/*  Swiper CSS */
.container {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 16px;
}

.services-title {
	font-family: 'Exo 2', Arial, sans-serif;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  color: #102452;
  margin: 40px 0 20px;
}

/* Unique slider scope */
.services-slider {
  position: relative;
  margin-top: 50px;
}
.services-slider__container { position: relative; padding-left: 190px; overflow: visible; }
/* Let slider overflow to the right of 1200 container */
.services-slider .services-swiper {
  overflow: visible; /* allow overflow to the right; left clipped by container */
  padding-bottom: 8px;
}

.services-slider .swiper-wrapper {
  align-items: stretch;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 2px 4px 4px 0px #000A461A;
  overflow: hidden;
  width: 350px; /* fixed slide width from requirements */
  height: 100%;
}

.service-card__image { display: block; position: relative; width: 100%; height: 190px; overflow: hidden; transition: height .35s ease; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.service-card__content {
  padding: 25px;
  display: flex;
    flex-direction: column;
		font-family: 'Exo 2', Arial, sans-serif;
}

.service-card__title { margin: 0 0 10px; font-weight: 600; font-size: 22px; color: #333; }
.service-card__more { display: inline-block; color: #CC3917; text-decoration: none; font-weight: 400; font-size: 18px; margin-bottom: 14px; }
.service-card__cta {
    display: inline-flex;
    width: 200px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10.8px 25.07px;
    background: #12365b;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 400;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}
.service-card__title:hover {
  text-decoration: underline;
  cursor: pointer;
}
.service-card__more:hover {
  text-decoration: underline;
}
.service-card__cta:hover {
  background: #CC3917;
}
/* Primary card expands when slide is active */
.service-card { transition: transform .35s ease, box-shadow .35s ease; }
.services-swiper .swiper-slide { width: 350px; height: 290px; }
.services-swiper .swiper-slide-active {
  transform: translateY(-6px);
  box-shadow: 2px 4px 4px 0px #000A461A;
  height: 380px; /* active slide height from requirements */
}
.services-swiper .swiper-slide-active .service-card__image { height: 210px; }

/* Reveal extra controls only when active */
.service-card .service-card__more,
.service-card .service-card__cta { opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.services-swiper .swiper-slide-active .service-card__more,
.services-swiper .swiper-slide-active .service-card__cta { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Unique navigation */
.services-slider__nav { position: absolute; top: 0; left: 0; width: 150px; height: auto; display: flex; gap: 12px; align-items: center; justify-content: center; z-index: 5; }

.services-button {
    background: #fff;
    border-radius: 50%;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px !important;
  height: 60px !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* Use CSS-only assets for nav states */
.services-button--prev { background-image: url('https://static.tildacdn.com/tild3736-3638-4063-a233-376361613131/button-prev.png'); }
.services-button--prev:hover { background-image: url('https://static.tildacdn.com/tild6139-6432-4632-a431-613062356233/button-prev-hover.png'); }
.services-button--next { background-image: url('https://static.tildacdn.com/tild3936-3665-4533-b231-653763353331/button-next.png'); }
.services-button--next:hover { background-image: url('https://static.tildacdn.com/tild6661-3766-4638-b662-346466313835/button-next-hover.png'); }

/* Remove default Swiper arrow pseudo-elements/text */
.swiper-button-prev::after,
.swiper-button-next::after,
.swiper-rtl .swiper-button-next::after,
.swiper-rtl .swiper-button-prev::after {
  content: none !important;
  display: none !important;
}

/* Layout trick: overflow right outside container */
.services-block { overflow: hidden; }
.services-block .container { position: relative; }
.services-block .services-swiper { margin-right: calc(50vw - 600px); }

/* Responsive */
@media (max-width: 1280px) {
  .services-block .services-swiper { margin-right: 24px; }
}
@media (max-width: 768px) {
	.services-slider__container {
		padding-left: 0;
		padding-right: 0;
	}
  .services-title { font-size: 34px; }
  .service-card { width: 78vw; }
  .services-swiper .swiper-slide.service-card--primary { width: 80vw; }
	.services-slider__nav {
    position: absolute;
    top: -90px;
    right: 0;
		left: auto;
	}
}
@media only screen and (max-width: 480px) {
		.services-swiper .swiper-slide {
			width: 100%;
			height: auto;
		}
		.services-slider__nav {
			width: 110px;
			right: -20px;
		}
		.services-button {
			width: 40px;
			height: 40px;
		}
}

