/* ======================================
   SERVICES PAGE ONLY
   (base.css handles variables + header + footer + container)
====================================== */

/* HERO */
.services-hero{
  position: relative;
  background: #e9e9e9;
}

.services-hero-media{
  height: 420px;
  background-image: url("../images/services/services-hero.jpg"); /* change to your real file */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-hero-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
}

.services-hero-card{
  display: inline-block;
  background: #fff;
  border-radius: 22px;
  padding: 26px 34px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.services-hero-card h1{
  margin: 0;
  font-size: clamp(40px, 4vw, 64px);
  letter-spacing: -1px;
  color: #0a1a3a;
}

/* SECTIONS */
.services-section{
  background: var(--muted-bg);
  padding: 46px 0 56px;
}

.services-section--alt{
  padding-top: 0;
}

/* 3-column grid */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

/* Cards match screenshot (soft grey, rounded) */
.service-card{
  background: #eef1f7;
  border-radius: 22px;
  padding: 26px 26px;
  border: 1px solid rgba(0,0,0,0.02);
}

.service-card h3{
  margin: 0 0 14px 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: #0a1a3a;
}

.service-card h4{
  margin: 18px 0 6px;
  font-size: 16px;
  letter-spacing: -0.15px;
  color: #0a1a3a;
}

.service-card p{
  margin: 0 0 12px 0;
  color: #5b667d;
  line-height: 1.8;
  font-size: 15px;
}

.service-card .muted{
  margin-top: 6px;
  color: #6b768e;
}

.service-card ul{
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: #5b667d;
}

.service-card li{
  margin: 8px 0;
  line-height: 1.75;
  font-size: 15px;
}

/* CATEGORY CARDS (5 across) */
.categories{
  background: var(--muted-bg);
  padding: 10px 0 64px;
}

.categories-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* white cards with border and image */
.category-card{
  background: #fff;
  border-radius: 22px;
  border: 1px solid #15284f;
  overflow: hidden;
  text-decoration: none;
  color: #0a1a3a;
}

.category-card img{
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: #f1f3f8;
}

.category-card span{
  display: block;
  padding: 14px 14px 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.15px;
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .services-grid{
    grid-template-columns: 1fr;
  }
  .categories-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px){
  .services-hero-media{ height: 320px; }
  .services-hero-overlay{ bottom: 18px; }
  .services-hero-card{ padding: 18px 18px; }
}