.home-case-study-carousel-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition-duration: 0.3s;
}

.home-case-study-carousel-btn:hover {
  background-color: white;
  color: #171717;
}

.home-case-study-carousel-card {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  background: transparent;
  border-radius: 12px;
  color: #fff;
}


.case-study-spl-card {
  position: relative;
  min-height: 220px;
  background-color: #141414;
  border-radius: 5px;
  overflow: hidden;
  padding: 0; /* no padding for full image */
  transition: background-color 0.4s ease;
}

.case-study-spl-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-study-spl-card::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 100px;
  height: 100px;
  background: #141414;
  border-radius: 50% 50% 0% 50%;
  z-index: 1;
}

.case-study-spl-btn {
  position: absolute;
  bottom: 45px;
  right: 45px;
  width: 80px;
  height: 80px;
  border: none;
  border-radius: 50%;
  transform: translate(50%, 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #8cc55b;
  cursor: pointer;
  z-index: 2;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.case-study-spl-card:hover .case-study-spl-btn {
  background: linear-gradient(135deg, #067d3c, #143c55);
}

.case-study-spl-arrow {
  width: 50%;
  height: 50%;
  transform: rotate(-45deg);
  transition: transform 0.4s ease;
}

.case-study-spl-card:hover .case-study-spl-arrow {
  transform: rotate(45deg);
}

.case-study-label {
  color: #9ce37d;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 4px;
}

.case-study-title {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 8px;
}

.case-study-description {
  font-size: 14px;
  font-weight: 300;
  color: #e0e0e0;
}

.case-study-stats {
  font-size: 14px;
}

.home-case-study-stat-label {
  font-size: 13px;
  font-weight: 300;
  color: #ccc;
}

@media (min-width: 768px) {
  .home-case-study-carousel-card {
    max-width: calc(50% - 0.5rem); /* 2 cards */
  }
}

@media (min-width: 992px) {
  .home-case-study-carousel-card {
    max-width: calc(33.3333% - 0.5rem); /* 3 cards */
  }
}
