:root{
  --primary: #1c588d;      /* main brand */
  --brand-dark: #2aa2b2;
  --deep: #1e4b5f;
  --bg-section: #1f4760;
  --card-border: rgba(255,255,255,.12);
  --text: #ffffff;
  --muted: rgba(255,255,255,.85);
}

/* SECTION BG */
.services-section{
  background: var(--primary); /* deep blue like your theme */
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

/* Watermark */
.services-section::before{
  content: "Service";
  position: absolute;
  left: 6%;
  top: -30px;
  font-size: 130px;
  font-weight: 900;
  letter-spacing: -2px;
  color: rgba(255,255,255,.06);
  pointer-events: none;
  user-select: none;
}

.services-head{
  margin-bottom: 40px;
}

.services-kicker{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-weight: 800;
  font-size: 14px;
}

.services-kicker .line{
  width: 55px;
  height: 2px;
  background: var(--brand);
  display: inline-block;
}

.services-title{
  margin: 12px 0 0;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
}

.services-title span{
  color: #0b0f14;
  background: rgba(255,255,255,.92);
  padding: 0 10px;
  border-radius: 6px;
}

/* GRID (3 top + 3 down) */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* CARD */
.service-card{
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,.02);
  overflow: hidden;
}

.service-link{
  display: block;
  text-decoration: none;
  color: inherit;
}

/* IMAGE */
.service-media{
  position: relative;
  overflow: hidden;
  height: 255px;
}

.service-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .55s ease;
}

/* subtle overlay on hover */
.service-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.35));
  opacity: 0;
  transition: opacity .35s ease;
}

.service-body{
  padding: 22px 24px 26px;
}

.service-body h3{
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 10px;
}

.service-body p{
  margin: 0;
  color: rgba(255,255,255,.86);
  line-height: 1.75;
  font-size: 15.5px;
}

/* HOVER ANIMATIONS */
.service-card:hover .service-media img{
  transform: scale(1.08);
}

.service-card:hover .service-media::after{
  opacity: 1;
}

.service-card:hover{
  border-color: rgba(53,182,199,.55);
}

.service-card:hover .service-body h3{
  color: #e8fbff;
}

/* small accent bar */
.service-body{
  position: relative;
}

.service-body::before{
  content:"";
  position:absolute;
  left: 24px;
  top: 0;
  width: 0;
  height: 3px;
  background: var(--brand);
  transition: width .35s ease;
}

.service-card:hover .service-body::before{
  width: 70px;
}

/* RESPONSIVE */
@media (max-width: 1000px){
  .services-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .services-title{
    font-size: 44px;
  }
}

@media (max-width: 640px){
  .services-grid{
    grid-template-columns: 1fr;
  }
  .services-title{
    font-size: 36px;
  }
  .service-media{
    height: 220px;
  }
}




/* ===============================
   SERVICE HERO
================================ */

.service-hero {
    position: relative;
    height: 35vh;
    background-image: url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.service-hero-content {
    position: relative;
    text-align: center;
    color: #ffffff;
    max-width: 850px;
    margin: auto;
}

.service-hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-hero-content p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.95;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .service-hero {
        height: 45vh;
    }

    .service-hero-content h1 {
        font-size: 38px;
    }

    .service-hero-content p {
        font-size: 16px;
    }
}
