/* ====== SECTION ====== */
.derma-services {
  padding: 60px 0;
  background: #f9f3f3;
  font-family: Arial, sans-serif;
}

.section-title-center {
  text-align: center;
  margin-bottom: 30px;
}

.section-sub-title {
  font-size: 14px;
  color: #14315d;
}

.section-title-center h2 {
  font-size: 36px;
  color: #14315d;
  margin-top: 5px;
}

/* ====== SLIDER ====== */
.derma-slider {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.derma-card {
  flex: 0 0 32%;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}

.derma-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Overlay */
.derma-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
}

.derma-overlay h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
}
.derma-overlay p {
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
}

.derma-btn {
  background: #c80a0e;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  width: fit-content;
}

/* ====== BUTTONS ====== */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 25px;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #c80a0e;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.slider-btn:hover {
  background: #c80a0e;
}
/* Hover effect for slider cards */
.derma-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.derma-card:hover {
  opacity: 0.5; /* opacity change */
  transform: translateY(-5px); /* move up 5px */
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {
  .derma-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .derma-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .derma-card img {
    height: 360px;
  }

  .section-title-center h2 {
    font-size: 28px;
  }
}
.footer-map {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 15px;
}

.footer-map iframe {
  display: block;
}
