/* Clean Case Studies Styles */
.case-card {
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.case-header {
  padding: 30px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

.case-icon {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.case-card:hover .case-icon {
  transform: scale(1.1);
}

.case-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.case-stat {
  text-align: center;
  padding: 0 10px;
}

.case-stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}

.case-stat-label {
  font-size: 0.8rem;
  color: #555;
}

.case-content {
  padding: 30px;
}

.case-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #000;
}

.case-desc {
  color: #555;
  line-height: 1.6;
}

.case-tech {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.tech-tag {
  background-color: #f0f0f0;
  color: #333;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}


/* Mobile Icon Specific Fixes */
@media (max-width: 768px) {
  .fas, .fab, .far, .fa {
    display: inline-block;
    text-align: center;
    min-width: 1em;
  }
  
  /* Ensure icons are visible even if Font Awesome fails */
  .icon-fallback {
    font-size: 120%;
    line-height: 1;
    display: inline-block;
    text-align: center;
    min-width: 1em;
  }
}