/* ── Success Stories Carousel ── */

.cs-ss {
  padding: 80px 0;
}

.cs-ss .swiper-wrapper {
  gap: 14px;
  padding: 14px 0 24px;
}
.cs-ss .cs-ss__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #003399;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

/* ── Swiper container ── */

.cs-ss__swiper {
  position: relative;
  overflow: hidden;
}

.cs-ss__swiper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 80%);
}

.cs-ss__swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.cs-ss__swiper .swiper-pagination {
  position: relative;
  margin-top: 30px;
  text-align: left;
}

.cs-ss__swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d1d5db !important;
  opacity: 1;
  transition: 0.3s;
}

.cs-ss__swiper .swiper-pagination-bullet-active {
  background: #1a37ae !important;
  transform: scale(1.3);
}

/* ── Card ── */

.cs-ss__card {
  width: 215px;
  height: 382px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cs-ss__card:hover {
  transform: translateY(-10px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.cs-ss__card:hover .cs-ss__name {
  color: #fff !important;
}

/* SVG shape background */

.cs-ss__card-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cs-ss__card:hover .cs-ss__card-shape path {
  fill: #1a37ae;
  transition: fill 0.3s ease;
}

.cs-ss__card-shape path {
  transition: fill 0.3s ease;
}

/* Card content overlay */

.cs-ss__card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Student info */

.cs-ss__info {
  position: relative;
  padding: 24px 18px 0;
}

.cs-ss__name {
  color: #1a37ae !important;
  font-size: 2.2rem !important;
  font-weight: 600 !important;
  margin: 0;
  line-height: 1.1 !important;
  word-break: break-word;
  word-spacing: 100vw;
  display: inline-block;
}

.cs-ss__desc {
  color: #1a37ae;
  font-size: 0.8rem;
  margin: 6px 0 0;
  font-weight: 500;
}

#content .cs-ss__desc p {
  margin: 0;
  font-size: 14px !important;
}

.cs-ss__card:hover .cs-ss__name,
.cs-ss__card:hover .cs-ss__desc {
  color: #fff;
}

/* Button — sits in the notch cutout area */

.cs-ss__btn {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 5;
  background: #1a37ae;
  color: #ffffff;
  padding: 7px 24px;
  border-radius: 14px;
  font-size: 0.6rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cs-ss__card:hover .cs-ss__btn {
  background: #66feff;
  color: #000;
}

/* Student image */

.cs-ss__student-img {
  position: relative;
  width: 100%;
  z-index: 2;
  margin-top: auto;
  aspect-ratio: 1 / 1;
}

.cs-ss__student-img img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px 12px 0 0;
  aspect-ratio: 1 / 1;
}

/* ── Responsive ── */

@media (max-width: 1000px) {
  .cs-ss__info {
    padding: 18px 14px 0;
  }

  .cs-ss__name {
    font-size: 1.8rem;
  }

  .cs-ss__desc {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .cs-ss {
    padding: 50px 0;
  }

  .cs-ss__title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .cs-ss__name {
    font-size: 1.2rem;
  }

  .cs-ss__desc {
    font-size: 0.65rem;
  }

  .cs-ss__swiper .swiper-pagination {
    text-align: center;
  }
}
