.service-card2 {
  transition: transform .35s ease, box-shadow .35s ease;
  transform-style: preserve-3d;
}

.service-card2:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.service-card2 {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
  transform-style: preserve-3d;
  transition: all .45s cubic-bezier(.22,1,.36,1);
}

/* Hover lift + glow */
.service-card2:hover {
  transform: translateY(-14px) scale(1.03);
  box-shadow:
    0 30px 80px rgba(0,0,0,.25),
    0 0 30px rgba(0,255,200,.15);
}
.service-card2 img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.service-card2:hover img {
  transform: scale(1.12);
}
.service-card2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 1;
}

.service-card2:hover::before {
  opacity: 1;
}
.mech-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 60px 8%;
}
.service-card2 {
  position: relative;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s;
  display: flex;
  flex-direction: column;
  height: 420px; 
}
.service-card2 img {
  width: 100%;
  height: 65%; 
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card2 .card-text {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color:rgb(150,150,150)
}
.service-card2:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 30px 80px rgba(0,0,0,.25),
    0 0 30px rgba(0,255,200,.15);
}

.service-card2:hover img {
  transform: scale(1.08);
}
/* SECTION WRAPPER */
.body-types {
  padding: 80px 8%;
  background: #f8fafc;
  text-align: center;
}

.body-types h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 800;
  color: #0f172a;
}

/* GRID */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

/* CARD */
.type-card {
  background: #ffffff;
  padding: 28px 22px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,.06);
  transition: all .35s ease;
}

/* HOVER */
.type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,.15);
}

/* EMOJI */
.type-card .emoji {
  font-size: 34px;
  margin-bottom: 10px;
}

/* TEXT */
.type-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: #020617;
}

.type-card p {
  font-size: .95rem;
  color: #475569;
  line-height: 1.5;
}
