/*--------------------------------------------------------------
# Visa Options
--------------------------------------------------------------*/

.departments-grid {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

@media (max-width: 992px) {
  .departments-grid {
    margin-bottom: 80px;
  }
}

.department-card {
  background: var(--surface-color);
  padding: 40px 32px;
  height: 100%;
  transition: all 0.4s ease;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.department-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color) 0%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.department-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.department-card:hover::before {
  transform: scaleX(1);
}

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

.card-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.card-icon img {
  height: 50%;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.card-description {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 32px;
}

.card-stats {
  display: flex;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-color);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
