/* =========================
   PAGE HERO (Reusable)
========================= */
.page-hero {
  position: relative;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

/* =========================
   DENTAL HERO BACKGROUND
========================= */
.dental-hero {
  background: url('../images/dental_top.jpg') center/cover no-repeat;
}

/* Overlay */
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 128, 128, 0.6);
  z-index: 1;
}

/* Content */
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-hero h1 {
  font-size: 46px;
  margin-bottom: 15px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.page-hero p {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.95;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .page-hero {
    height: 45vh;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero p {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    height: auto;
    padding: 80px 0;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero p {
    font-size: 14px;
  }
}


/* =========================
   TREATMENT CARDS
========================= */

.treatment-cards {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.treatment-cards .container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.treatment-card {
  background-color: #f0f7f7;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.treatment-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.treatment-text {
  padding: 30px 20px;
  text-align: center;
}

.treatment-text h3 {
  font-size: 28px;
  color: #008080;
  margin-bottom: 15px;
}

.treatment-text p {
  font-size: 18px;
  color: #333;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

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

@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .treatment-card img {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .hero-left h1 {
    font-size: 28px;
  }

  .treatment-card img {
    height: 250px;
  }

  .treatment-text h3 {
    font-size: 24px;
  }

  .treatment-text p {
    font-size: 16px;
  }
}
