/* =====================================================
   TRANSFORMER SPARE PARTS PAGE
   Theme: #000E38 (navy) · #0b3c6f (blue) · #FFD532 (gold)
   Font: "Inter", sans-serif
   ===================================================== */


/* ================= SPARE SECTION ================= */
.spare-unique-section {
  padding: 3vw 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow */
.spare-unique-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(11, 60, 111, 0.04) 0%, transparent 55%),
    radial-gradient(circle at 5% 90%, rgba(255, 213, 50, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.spare-inner {
  width: 85vw;
  margin: auto;
  position: relative;
  z-index: 1;
}


/* ================= HEADING ================= */
.unique-heading {
  text-align: center;
  margin-bottom: 2vw;
}

/* Pill label — matches transformer.css .section-label */
.unique-heading .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5vw;
  font-size: 0.85vw;
  font-weight: 700;
  color: #0b3c6f;
  text-transform: uppercase;
  letter-spacing: 0.12vw;
  margin-bottom: 1.2vw;
  background: rgba(255, 213, 50, 0.15);
  padding: 0.5vw 1.4vw;
  border-radius: 2vw;
  border: 1px solid #FFD532;
}

.unique-heading h2 {
  font-size: 2.6vw;
  font-weight: 800;
  color: #0b3c6f;
  line-height: 1.2;
  margin: 0;
}

.unique-heading h2 span {
  color: #FFD532;
}

/* Gold underline bar */
.unique-heading h2::after {
  content: "";
  display: block;
  width: 4vw;
  height: 0.2vw;
  background: #FFD532;
  margin: 0.8vw auto 0;
  border-radius: 1vw;
}


/* ================= GRID ================= */
.spare-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8vw;
}


/* ================= CARD ================= */
.spare-item {
  background: #ffffff;
  border-radius: 1vw;
  padding: 1.8vw 1.4vw 1.5vw;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 0.5vw 1.5vw rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(11, 60, 111, 0.08);
  border-bottom: 0.25vw solid transparent;
  position: relative;
  overflow: hidden;
  border-color: #0b3c6f;

}

/* Subtle top shimmer on hover */
/* .spare-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25vw;
  background: linear-gradient(90deg, #FFD532, #0b3c6f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
} */

.spare-item:hover {
  transform: translateY(-0.6vw);
  box-shadow: 0 1.2vw 3vw rgba(11, 60, 111, 0.12);
  border-color: #000000;
}

.spare-item:hover::before {
  transform: scaleX(1);
}


/* ================= IMAGE ================= */
.spare-img {
  height: 9vw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2vw;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(235, 243, 255, 0.6));
  border-radius: 0.8vw;
  transition: background 0.35s ease;
}

.spare-item:hover .spare-img {
  background: linear-gradient(135deg, rgba(255, 213, 50, 0.08), rgba(11, 60, 111, 0.05));
}

.spare-img img {
  max-height: 7vw;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 0.3vw 0.8vw rgba(11, 60, 111, 0.08));
}

.spare-item:hover .spare-img img {
  transform: scale(1.08) translateY(-0.15vw);
}


/* ================= CONTENT ================= */
.spare-content h4 {
  font-size: 1.05vw;
  font-weight: 700;
  color: #0b3c6f;
  margin-bottom: 0.6vw;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.spare-item:hover .spare-content h4 {
  color: #000E38;
}

.spare-content p {
  font-size: 0.95vw;
  /* color: #313131; */
  color: #212121;
  line-height: 1.6;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.spare-content p strong {
  color: #0b3c6f;
  font-weight: 600;
}


/* ================= RESPONSIVE — TABLET (max-width: 991px) ================= */
@media (max-width: 991px) {

  .spare-unique-section {
    padding: 8vw 0;
  }

  .spare-inner {
    width: 90vw;
  }

  .spare-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
  }

  .unique-heading .subtitle {
    font-size: 2vw;
    padding: 1vw 3vw;
    margin-bottom: 2vw;
  }

  .unique-heading h2 {
    font-size: 4.5vw;
  }

  .unique-heading h2::after {
    width: 8vw;
    height: 0.3vw;
    margin-top: 1.5vw;
  }

  .spare-item {
    padding: 3vw 2.5vw;
    border-radius: 2vw;
    border-bottom-width: 0.4vw;
  }

  .spare-item::before {
    height: 0.4vw;
  }

  .spare-item:hover {
    transform: translateY(-1vw);
  }

  .spare-img {
    height: 18vw;
    border-radius: 1.5vw;
    margin-bottom: 2vw;
  }

  .spare-img img {
    max-height: 14vw;
  }

  .spare-content h4 {
    font-size: 2.3vw;
    margin-bottom: 1vw;
  }

  .spare-content p {
    font-size: 1.9vw;
  }
}


/* ================= RESPONSIVE — MOBILE (max-width: 576px) ================= */
@media (max-width: 576px) {

      .breadcrumb {
        font-size: 4vw;
        flex-wrap: wrap;
        gap: 2vw;
    }
  .spare-unique-section {
    padding: 5vw 0;
  }

  .spare-inner {
    width: 92vw;
  }

  .unique-heading {
    margin-bottom: 7vw;
  }

  .unique-heading .subtitle {
    font-size: 3vw;
    padding: 1.5vw 4vw;
    letter-spacing: 0.15vw;
    margin-bottom: 3vw;
  }

  .unique-heading h2 {
    font-size: 6.5vw;
  }

  .unique-heading h2::after {
    width: 12vw;
    height: 0.5vw;
    margin-top: 2vw;
  }

  .spare-timeline {
    grid-template-columns: 1fr;
    gap: 5vw;
  }

  .spare-item {
    padding: 5vw 4vw;
    border-radius: 3vw;
    border-bottom-width: 0.6vw;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 4vw;
  }

  .spare-item::before {
    height: 0.5vw;
  }

  .spare-item:hover {
    transform: translateY(-1.5vw);
  }

  .spare-img {
    height: auto;
    width: 18vw;
    min-width: 18vw;
    padding: 2vw;
    border-radius: 2vw;
    margin-bottom: 0;
  }

  .spare-img img {
    max-height: 14vw;
    width: 100%;
  }

  .spare-content {
    flex: 1;
    text-align: left;
  }

  .spare-content h4 {
    font-size: 4.2vw;
    margin-bottom: 1.5vw;
  }

  .spare-content p {
    font-size: 3.3vw;
  }
}