.case-studies {
  padding: 60px 10%;
  text-align: center;
  background: #f9f9ff;
}

.case-studies h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #171994;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.case-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease;
}

/* .case-card:hover {
  transform: translateY(-5px);
} */

.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.case-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.case-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

.case-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-blogger {
  padding: 10px 20px;
  border: 2px solid transparent;
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  color: #171994;
  background: #fff;
  border-image: linear-gradient(90deg, #3a868f, #171994) 1;
  transition: all 0.3s ease;
}

.btn-blogger:hover {
  background: #171994;
  border-color: #171994 !important;
  color: #fff;
}

.btn-linkedin {
  padding: 10px 20px;
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  background: #171994;
  color: #fff;
  border: 2px solid transparent;
  transition: background 0.3s ease;
}

.btn-linkedin:hover {
  color: #171994;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(#171994, #3a868f) border-box;
}