/* ===========================
   Case Studies List - Hero
   =========================== */
.csl-hero {
  padding: 200px 0 100px;
  background: linear-gradient(135deg, #100329 0%, #1C0944 50%, #0F0039 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.csl-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(130, 94, 231, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.csl-hero__inner {
  position: relative;
  z-index: 1;
}

.csl-hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}

.csl-hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===========================
   Case Studies Grid
   =========================== */
.csl-grid-section {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, #0F0039 0%, #100329 50%, #1C0944 100%);
}

.csl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.csl-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.csl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(130, 94, 231, 0.3);
}

.csl-card__image {
  height: 240px;
  overflow: hidden;
}

.csl-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.csl-card:hover .csl-card__image img {
  transform: scale(1.05);
}

.csl-card__content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.csl-card__logo {
  max-height: 24px;
  width: auto;
  margin-bottom: 16px;
}

.csl-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
}

.csl-card__text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.csl-card__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #53389E;
  transition: color 0.3s ease;
}

.csl-card:hover .csl-card__link {
  color: #6941C6;
}

.csl-grid--single {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.csl-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.csl-card__image--svg {
  background: linear-gradient(135deg, #1C0944 0%, #0F0039 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.csl-card__image--svg img {
  width: 60%;
  height: auto;
  object-fit: contain;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
  .csl-hero {
    padding: 140px 0 70px;
  }

  .csl-hero__title {
    font-size: 2.25rem;
  }

  .csl-grid,
  .csl-grid--three {
    grid-template-columns: 1fr;
  }

  .csl-grid-section {
    padding: 48px 0 80px;
  }
}
