
.page-hero {
  position: relative;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.services-hero {
  background: url('../images/carer.jpg') center/cover no-repeat;
}

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

.page-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  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.6;
}


.services {
  padding: 70px 20px;
  background: #f9f9f9;
}

.services .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.services-header h2 {
  font-size: 36px;
  color: #008080;
  margin-bottom: 15px;
}

.services-header p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Card */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.service-card i {
  font-size: 44px;
  color: #008080;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #008080;
}

.service-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  text-align: justify;
}


@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .page-hero {
    height: 45vh;
  }

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

  .service-card p {
    font-size: 14px;
  }
}
