/* Specialties Section Styles */
.specialties-section {
  padding: 80px 0;
  background: #ffffff;
}

.specialties-header {
  text-align: center;
  margin-bottom: 60px;
}

.specialties-footer {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 32px;
}

.specialties-link {
  display: inline-block;
  color: #2563eb;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.specialties-link:hover {
  color: #7a2952;
}

.specialties-title {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.2;
}

.title-part {
  display: inline-block;
  margin: 0 8px;
}

.title-part:first-child {
  color: #333333;
}

.title-part.highlight {
  color: #2563eb;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.specialty-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(153, 51, 102, 0.1);
}

.specialty-card:hover {
  transform: translateY(-8px);

  border-color: rgba(153, 51, 102, 0.2);
}

.specialty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

.specialty-icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.specialty-name {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin: 0;
  line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .specialties-section {
    padding: 60px 0;
  }

  .specialties-title {
    font-size: 28px;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px;
  }

  .specialty-card {
    padding: 25px 15px;
  }

  .specialty-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .specialty-name {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .specialty-card {
    padding: 20px 10px;
  }

  .specialty-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .specialty-name {
    font-size: 14px;
  }
}

/* Animation for cards on load */
.specialty-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

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

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effects for better interactivity */
.specialty-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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