

/* CARD */
.medical-card {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-bottom: 40px;
  position: relative;
}

/* TOP BORDER */
.medical-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
}

/* TITLE */
.medical-title {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 15px;
  text-align:center;
}

/* LIST */
.medical-list {
  padding-left: 20px;
}

.medical-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.medical-list li::marker {
  color: var(--accent-red);
}

/* ================= CAROUSEL ================= */

.medical-gallery {
  margin-top: 20px;
}

.gallery-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item h3 {
  background: var(--primary-blue);
  color: #fff;
  padding: 10px;
  font-size: 14px;
  margin: 0;
}

/* HOVER */
.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item:hover h3 {
  background: var(--accent-red);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .gallery-item img {
    height: 180px;
  }
}