/* ============================================================
   OUR SERVICES PAGE — scoped styles (namespaced svc- so they
   never clash with style.css classes used on the home page,
   e.g. .hero-title / .hero-desc which already exist there)
   ============================================================ */

/* Safety reset — scoped containers already have max-width/box-sizing below,
   so we don't need a global html/body overflow-x:hidden (that breaks the
   header's position:sticky) */

.svc-hero,
.svc-hero-container,
.svc-list,
.svc-row-card,
.svc-row {
  box-sizing: border-box;
  max-width: 100%;
}

/* ===== Our Services Hero ===== */
.svc-hero {
  width: 100%;
  background: #ffffff;
  padding: 10px 0 40px;
  overflow: hidden;
}

.svc-hero-container {
  max-width: min(1600px, 94%);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* ---- Left text ---- */
.svc-hero-text {
  flex: 1 1 420px;
  max-width: 480px;
}

.svc-hero-title {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 44px;
  font-weight: 700;
  color: #0f2328;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.svc-hero-underline {
  display: block;
  width: 60px;
  height: 4px;
  background: #c4a959;
  border-radius: 2px;
  margin: 18px 0 24px;
}

.svc-hero-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 1.7;
  color: #5d6663;
  font-weight: 400;
}

/* ---- Right graphic ---- */
.svc-hero-graphic {
  position: relative;
  flex: 1 1 480px;
  max-width: 560px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px -20px rgba(15, 40, 30, 0.25);
  transition: opacity 0.6s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.svc-hero-graphic:hover {
  box-shadow: 0 26px 55px -18px rgba(15, 40, 30, 0.32);
  transform: translateY(-4px);
}

.svc-hero-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.svc-hero-graphic:hover .svc-hero-img {
  transform: scale(1.03);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .svc-hero-container {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding: 0 32px;
    gap: 30px;
  }
  .svc-hero-text {
    flex: 0 1 auto;
    width: 100%;
    max-width: 100%;
  }
  .svc-hero-underline {
    margin-left: auto;
    margin-right: auto;
  }
  .svc-hero-graphic {
    flex: 0 1 auto;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 3;
  }
  .svc-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 767px) {
  .svc-hero-container {
    padding: 0 20px;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .svc-hero {
    padding: 28px 0 36px;
  }
  .svc-hero-container {
    padding: 0 18px;
  }
  .svc-hero-title {
    font-size: 30px;
  }
  .svc-hero-desc {
    font-size: 15px;
  }
  .svc-hero-graphic {
    max-width: 100%;
    border-radius: 16px;
  }
}

@media (max-width: 375px) {
  .svc-hero {
    padding: 24px 0 30px;
  }
  .svc-hero-title {
    font-size: 26px;
  }
  .svc-hero-underline {
    margin: 14px 0 18px;
  }
  .svc-hero-desc {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* ============================================================
   OUR SERVICES — DETAILED LIST (numbered rows)
   ============================================================ */
.svc-list {
  background: #F8FAF9;
  padding: 60px 0 90px;
}

.svc-row-card {
  background: #ffffff;
  border: 1px solid #ECF0EE;
  border-radius: 18px;
  box-shadow: 0 10px 30px -20px rgba(15, 40, 30, 0.10);
  padding: 34px 36px;
  margin-bottom: 24px;
  transition: opacity 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.svc-row-card:last-child {
  margin-bottom: 0;
}

.svc-row-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(15, 82, 58, 0.22);
  border-color: #BFE0CC;
}

.svc-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

/* ---- Left: number + icon ---- */
.svc-row-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 64px;
  flex-shrink: 0;
}

.svc-row-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  background: #EAF3EC;
  border: 1px solid #D7EADD;
  color: #12523A;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.svc-row-card:hover .svc-row-num {
  background: #12523A;
  border-color: #12523A;
  color: #ffffff;
}

.svc-row-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F6F8F7;
  border: 1px solid #EAEFEC;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.svc-row-card:hover .svc-row-icon-wrap {
  background: #EAF3EC;
  border-color: #BFE0CC;
  transform: scale(1.06);
}

.svc-row-icon {
  font-size: 1.5rem;
  color: #12523A;
  transition: transform 0.3s ease;
}

.svc-row-card:hover .svc-row-icon {
  transform: scale(1.08);
}

/* ---- Middle: text content ---- */
.svc-row-body {
  flex: 1;
  min-width: 0;
}

.svc-row-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #16241D;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.svc-row-card:hover .svc-row-title {
  color: #12523A;
}

.svc-row-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #5B6660;
  max-width: 560px;
  margin-bottom: 20px;
}

.svc-row-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 560px;
}

.svc-row-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #16241D;
  transition: color 0.25s ease, transform 0.25s ease;
}

.svc-row-checklist li:hover {
  color: #12523A;
  transform: translateX(3px);
}

.svc-row-checklist i {
  color: #12523A;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.svc-row-checklist li:hover i {
  transform: scale(1.15);
}

/* ---- Right: image ---- */
.svc-row-image {
  width: 450px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ECF0EE;
  box-shadow: 0 14px 34px -18px rgba(15, 40, 30, 0.18);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.svc-row-card:hover .svc-row-image {
  box-shadow: 0 20px 42px -16px rgba(15, 82, 58, 0.28);
  border-color: #BFE0CC;
}

.svc-row-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s ease;
}

.svc-row-card:hover .svc-row-image img {
  transform: scale(1.05);
}

/* ---- Image placeholder (fallback / not-yet-added images) ---- */
.svc-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px dashed #D8DEDA;
  border-radius: 14px;
  background: #F6F8F7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #9AA6A0;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.svc-row-card:hover .svc-img-placeholder {
  border-color: #7CB342;
  background: #F1F7F2;
  color: #12523A;
}

.svc-img-placeholder i {
  font-size: 1.8rem;
}

.svc-img-placeholder span {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .svc-list {
    padding: 48px 0 70px;
  }
  .svc-row-desc,
  .svc-row-checklist {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .svc-row {
    flex-wrap: wrap;
  }
  .svc-row-body {
    flex: 1 1 100%;
  }
  .svc-row-image {
    width: 100%;
    order: 3;
  }
  .svc-row-checklist {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .svc-row-checklist {
    grid-template-columns: 1fr;
    gap: 10px 0;
  }
}

@media (max-width: 560px) {
  .svc-list {
    padding: 40px 0 56px;
  }
  .svc-row-card {
    padding: 22px 18px;
    border-radius: 14px;
    margin-bottom: 18px;
  }
  .svc-row {
    gap: 14px;
  }
  .svc-row-side {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 12px;
  }
  .svc-row-body {
    order: 2;
  }
  .svc-row-icon-wrap {
    width: 48px;
    height: 48px;
  }
  .svc-row-icon {
    font-size: 1.3rem;
  }
  .svc-row-num {
    height: 30px;
    min-width: 36px;
    font-size: 0.8rem;
  }
  .svc-row-title {
    font-size: 1.15rem;
  }
  .svc-row-desc {
    font-size: 0.92rem;
  }
  .svc-row-card:hover {
    transform: none;
  }
}

@media (max-width: 400px) {
  .svc-row-card {
    padding: 18px 14px;
  }
  .svc-row-side {
    gap: 10px;
  }
  .svc-row-icon-wrap {
    width: 42px;
    height: 42px;
  }
  .svc-row-icon {
    font-size: 1.15rem;
  }
  .svc-row-num {
    min-width: 32px;
    height: 28px;
    font-size: 0.75rem;
    padding: 0 6px;
  }
  .svc-row-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  .svc-row-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .svc-row-checklist li {
    font-size: 0.85rem;
  }
}

/* ============================================================
   Footer social icons — now Font Awesome instead of inline SVG
   (kept here since this page loads after style.css; safe if
   style.css already sets similar sizing, this just won't clash)
   ============================================================ */
.footer-social a i {
  font-size: 16px;
  line-height: 1;
}