.industry-cards-wrapper {
  width: 100%;
}

.industry-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.industry-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #f8f9fa;
  border-radius: 12px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

/* Hover background image overlay */
.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(30, 41, 59, 0.92);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.industry-card:hover::before {
  opacity: 1;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

.industry-card-content {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Icon Styles */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  padding: 20px;
  border-radius: 50%;
}

.card-icon i,
.card-icon svg {
  font-size: 64px;
  color: #0891b2;
  transition: all 0.3s ease;
}

.card-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.industry-card:hover .card-icon {
  background-color: #ffffff;
  transform: scale(1.05);
}

.industry-card:hover .card-icon i,
.industry-card:hover .card-icon svg {
  color: #0891b2;
}

/* Number Styles */
.card-number {
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.industry-card:hover .card-number {
  color: #ffffff;
}

/* Title Styles */
.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.industry-card:hover .card-title {
  color: #ffffff;
}

/* Description Styles */
.card-description {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.industry-card:hover .card-description {
  color: rgba(255, 255, 255, 0.9);
}

/* Button Styles */
.card-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #0891b2;
  transition: all 0.3s ease;
  margin-top: auto;
}

.button-arrow {
  transition: transform 0.3s ease;
}

.industry-card:hover .card-button {
  color: #ffffff;
  gap: 12px;
}

.industry-card:hover .button-arrow {
  transform: translateX(4px);
}

/* Hover Effects */
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .industry-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .card-title {
    font-size: 22px;
  }

  .card-icon i,
  .card-icon svg,
  .card-icon img {
    font-size: 56px;
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 768px) {
  .industry-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .industry-card-content {
    padding: 32px 24px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-description {
    font-size: 14px;
  }

  .industry-card {
    min-height: 350px;
  }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.industry-card {
  animation: fadeIn 0.5s ease-out;
}

.industry-card:nth-child(1) {
  animation-delay: 0.1s;
}
.industry-card:nth-child(2) {
  animation-delay: 0.2s;
}
.industry-card:nth-child(3) {
  animation-delay: 0.3s;
}
.industry-card:nth-child(4) {
  animation-delay: 0.4s;
}
.industry-card:nth-child(5) {
  animation-delay: 0.5s;
}
.industry-card:nth-child(6) {
  animation-delay: 0.6s;
}
