/********** SERVICES PAGE ONLY (GSS PREMIUM) **********/

:root{
  --primary: #c70d0d;
  --secondary: #1f4bff;
}

.gss-services{
  position: relative;
  padding: 55px 0 85px;
  overflow: hidden;
  background: #0b1220;
}

/* background image layer */
.gss-services__bg{
  position: absolute;
  inset: 0;
  background-image: var(--srv-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  filter: saturate(1.05);
}

/* overlay (keep image visible like 2nd pic) */
.gss-services__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 70% 30%, rgba(0,0,0,.08), transparent 60%),
    linear-gradient(120deg, rgba(6,3,21,.60), rgba(6,3,21,.25), rgba(6,3,21,.12));
}

.gss-services__wrap{
  position: relative;
  z-index: 2;
}

/* TOP PAGE HEADING */
.gss-services__pagehead{
  padding: 20px 0 35px;
}

.gss-services__pagetitle{
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 18px 45px rgba(0,0,0,.40);
}

.gss-services__crumb{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 16px;
}

.gss-services__crumb a{
  color: rgba(255,255,255,.90);
  text-decoration: none;
}
.gss-services__crumb a:hover{
  color: #fff;
  text-decoration: underline;
}
.gss-services__crumb strong{
  color: rgba(255,255,255,.92);
  font-weight: 700;
}

/* CENTER HEADING */
.gss-services__head{
  margin-bottom: 34px;
}

.gss-services__title{
  color: #fff;
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 46px);
  letter-spacing: -0.6px;
  margin: 0 0 10px;
  text-shadow: 0 18px 45px rgba(0,0,0,.35);
}

.gss-services__sub{
  color: rgba(255,255,255,.88);
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
}

/* CARDS */
.gss-srv-card{
  position: relative;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  transition: transform .22s ease, box-shadow .22s ease;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}

.gss-srv-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.gss-srv-card__media{
  position: relative;
  height: 190px;
  overflow: visible; /* ✅ MOST IMPORTANT: badge will not cut now */
}

.gss-srv-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .45s ease;
}

.gss-srv-card:hover .gss-srv-card__media img{
  transform: scale(1.08);
}

/* ✅ Badge EXACT like 2nd image (overlap between image + body) */
.gss-srv-card__badge{
  position: absolute;
  left: 50%;
  bottom: -26px; /* ✅ overlap */
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff2d2d, #b80d0d);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 45px rgba(184, 13, 13, .35);
  border: 6px solid rgba(255,255,255,.98);
  z-index: 3;
}

.gss-srv-card__badge svg{
  width: 26px;
  height: 26px;
  fill: #fff;
}

.gss-srv-card__body{
  padding: 46px 18px 18px; /* ✅ extra space because badge overlaps */
  text-align: center;
}

.gss-srv-card__body h4{
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 18px;
  color: #0b1833;
}

.gss-srv-card__body p{
  margin: 0;
  color: rgba(11,24,51,.72);
  font-size: 14.5px;
  line-height: 1.65;
}

.gss-srv-card__line{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
}

.gss-line--red  { background: var(--primary); }
.gss-line--navy { background: #0d1b44; }
.gss-line--gray { background: #6b7280; }
.gss-line--blue { background: var(--secondary); }

@media (max-width: 576px){
  .gss-services{ padding: 40px 0 65px; }
  .gss-srv-card__media{ height: 170px; }
  .gss-services__crumb{ font-size: 14px; gap: 8px; }
  .gss-srv-card__badge{ bottom: -22px; }
}