/* assets/css/service-area.css */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  color: #444;
  background-color: #fdfdfd;
  margin: 0;
  padding-bottom: 60px;
}

/* ===================== HEADER ===================== */

.header-section {
  background: url('../images/service-area-banner.jpg') no-repeat center center/cover;
  padding: 110px 20px;
  position: relative;
  text-align: center;
  color: #fff;
}

/* Keep your light overlay — but make it nicer */
.header-section .overlay {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(237, 236, 241, 0.72);
  padding: 62px 26px;
  color: #475769;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 14px 35px rgba(0,0,0,0.12);

  /* ✅ Safari / iOS support */
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.header-section h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #2c3e50;
  margin: 0;
  letter-spacing: 0.2px;
}

.header-section p {
  font-size: 1.15rem;
  margin-top: 12px;
  margin-bottom: 0;
  color: #506377;
  line-height: 1.55;
}

/* ===================== SECTION TITLES ===================== */

.section-title {
  font-size: 2.05rem;
  font-weight: 800;
  color: #2c3e50;
  text-align: center;
  margin: 50px 0 14px;
}

.section-subtitle {
  color: #667;
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ===================== AREA CARDS ===================== */

.area-box {
  background: #ffffff;
  padding: 32px 26px;
  border-radius: 16px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

/* Fix: no crazy dark hover */
.area-box:hover {
  transform: translateY(-6px);
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 16px 38px rgba(0,0,0,0.16);
}

/* Icon badge look (no HTML changes needed) */
.area-box i {
  color: #6780a5;
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(103,128,165,0.12);
  box-shadow: inset 0 0 0 1px rgba(103,128,165,0.18);
}

/* Titles */
.area-box h4 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  color: #2f3b48;
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* Lists: keep centered, but improve readability */
.area-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: inline-block; /* centers the list block */
  text-align: left;      /* makes text easier to read */
  color: #555;
}

.area-box ul li {
  margin-bottom: 10px;
  font-size: 0.98rem;
  color: #556;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.55;
}

.area-box ul li:last-child {
  margin-bottom: 0;
}

.area-box ul li::before {
  content: "•";
  color: #9c9c9c;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  top: 2px;
}

/* DC paragraph box looks consistent */
.area-box p {
  margin: 0;
  color: #556;
  line-height: 1.7;
}

/* ===================== BUTTON ===================== */
/* Avoid affecting every green button site-wide */
.service-content .btn-success {
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: 0 10px 18px rgba(40, 167, 69, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-content .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(40, 167, 69, 0.22);
}

/* ===================== FOOTER (if used) ===================== */
.footer {
  background-color: #f1f1f1;
  font-size: 0.9rem;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
  .header-section { padding: 90px 16px; }

  .header-section .overlay {
    padding: 42px 18px;
    border-radius: 14px;
  }

  .header-section h1 { font-size: 2.1rem; }
  .header-section p { font-size: 1.05rem; }

  .section-title { font-size: 1.8rem; }

  .area-box { padding: 26px 18px; }
}

@media (max-width: 480px) {
  .header-section h1 { font-size: 1.85rem; }
  .area-box i { width: 52px; height: 52px; }
}
