/* Biomedical Waste Management — modern solution page */

.biomedical-page {
  background: #f4f8fc;
}

.biomedical-page .services-details {
  background: linear-gradient(180deg, #f4f8fc 0%, #ffffff 12%, #f8fbff 100%) !important;
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.biomedical-page .services-details::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: 120px;
  background: radial-gradient(circle, rgba(1, 120, 183, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.biomedical-page .services-details::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: 200px;
  background: radial-gradient(circle, rgba(26, 26, 46, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.biomedical-page .services-details .container {
  position: relative;
  z-index: 1;
}

/* Intro */
.bmw-intro {
  text-align: center;
  max-width: 880px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 40px);
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(1, 120, 183, 0.12);
  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.bmw-intro__eyebrow {
  display: inline-block;
  color: var(--aventiq-blue, #0178B7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.bmw-intro__title {
  color: #0f172a;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
}

.bmw-intro__subtitle {
  color: #1e293b;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 28px;
}

.bmw-intro__text {
  color: #475569 !important;
  font-size: clamp(16px, 1.8vw, 18px) !important;
  line-height: 1.85 !important;
  text-align: left !important;
  margin-bottom: 20px !important;
}

.bmw-intro__text:last-child {
  margin-bottom: 0 !important;
}

.bmw-intro__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(1, 120, 183, 0.12);
}

.bmw-stat {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(1, 120, 183, 0.08) 0%, rgba(1, 120, 183, 0.03) 100%);
  border-radius: 16px;
  border: 1px solid rgba(1, 120, 183, 0.1);
  text-align: left;
}

.bmw-stat strong {
  display: block;
  color: var(--aventiq-blue, #0178B7);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
}

.bmw-stat span {
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}

/* Feature blocks */
.biomedical-page .healthcare-section {
  max-width: none;
  margin: 0 0 clamp(32px, 4vw, 48px);
  padding: 0;
}

.biomedical-page .healthcare-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 1.4fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(1, 120, 183, 0.1);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.biomedical-page .healthcare-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(1, 120, 183, 0.12);
}

.biomedical-page .healthcare-section:nth-child(even) .healthcare-row {
  grid-template-columns: 1.4fr minmax(260px, 0.95fr);
}

.biomedical-page .healthcare-section:nth-child(even) .healthcare-image {
  order: 2;
}

.biomedical-page .healthcare-section:nth-child(even) .healthcare-content {
  order: 1;
}

.biomedical-page .healthcare-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.15),
    0 0 0 1px rgba(1, 120, 183, 0.08);
}

.biomedical-page .healthcare-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.25) 100%);
  pointer-events: none;
}

.biomedical-page .healthcare-image img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.biomedical-page .healthcare-row:hover .healthcare-image img {
  transform: scale(1.04);
}

.biomedical-page .healthcare-title {
  color: #0f172a !important;
  font-size: clamp(18px, 2.2vw, 22px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-bottom: 20px !important;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--aventiq-blue, #0178B7);
  display: inline-block;
}

.biomedical-page .healthcare-content p,
.biomedical-page .healthcare-content li,
.biomedical-page .healthcare-footer {
  color: #475569 !important;
  font-size: clamp(15px, 1.7vw, 17px) !important;
  line-height: 1.75 !important;
}

.biomedical-page .healthcare-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.biomedical-page .healthcare-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px !important;
}

.biomedical-page .healthcare-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0178B7, #4db3e8);
  box-shadow: 0 2px 8px rgba(1, 120, 183, 0.35);
}

.biomedical-page .healthcare-content strong {
  color: #1e293b;
  font-weight: 600;
}

.biomedical-page .healthcare-footer {
  margin-top: 20px !important;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(1, 120, 183, 0.06) 0%, rgba(1, 120, 183, 0.02) 100%);
  border-radius: 14px;
  border-left: 4px solid var(--aventiq-blue, #0178B7);
}

/* Solution block */
.bmw-solution {
  margin: clamp(48px, 6vw, 72px) 0;
  padding: clamp(36px, 5vw, 52px) clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, #0f1629 0%, #1a2d4a 45%, #0178B7 100%);
  border-radius: 28px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(1, 120, 183, 0.28);
}

.bmw-solution::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.bmw-solution__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.bmw-solution__title {
  color: #ffffff !important;
  font-size: clamp(24px, 3.5vw, 34px) !important;
  font-weight: 700 !important;
  margin: 0 0 24px !important;
  line-height: 1.2 !important;
}

.bmw-solution__lead,
.bmw-solution__text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(16px, 1.8vw, 18px) !important;
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
}

.bmw-solution__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.bmw-solution__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.bmw-solution__list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

/* Innovation cards */
.biomedical-page .innovation-section {
  max-width: none;
  margin: 0;
  padding: clamp(48px, 6vw, 64px) 0 0;
  text-align: center;
}

.biomedical-page .innovation-title {
  color: #0f172a !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 36px !important;
}

.biomedical-page .innovation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: 36px;
  text-align: left;
}

.biomedical-page .innovation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 22px 24px;
  background: #ffffff;
  border: 1px solid rgba(1, 120, 183, 0.12);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: hidden;
}

.biomedical-page .innovation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0178B7, #4db3e8);
}

.biomedical-page .innovation-card:nth-child(2)::before {
  background: linear-gradient(90deg, #015f92, #0178B7);
}

.biomedical-page .innovation-card:nth-child(3)::before {
  background: linear-gradient(90deg, #1a1a2e, #0178B7);
}

.biomedical-page .innovation-card:nth-child(4)::before {
  background: linear-gradient(90deg, #4db3e8, #0178B7);
}

.biomedical-page .innovation-card:hover {
  transform: translateY(-10px);
  border-color: rgba(1, 120, 183, 0.25);
  box-shadow: 0 24px 48px rgba(1, 120, 183, 0.16);
}

.biomedical-page .innovation-icon {
  width: 72px;
  height: 72px;
  margin: 0 0 18px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(1, 120, 183, 0.1) 0%, rgba(1, 120, 183, 0.04) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biomedical-page .innovation-icon img {
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.biomedical-page .innovation-card h4 {
  color: #0f172a !important;
  font-size: clamp(16px, 1.8vw, 18px) !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  line-height: 1.35 !important;
}

.biomedical-page .innovation-card p {
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  flex-grow: 1;
}

/* Sustainability */
.biomedical-page .sustainability-section {
  max-width: none;
  margin: clamp(56px, 7vw, 80px) 0 0;
  padding: 0;
}

.biomedical-page .sustain-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 40px);
  padding: clamp(28px, 4vw, 40px);
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(1, 120, 183, 0.1);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.biomedical-page .sustain-block:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
}

.biomedical-page .sustain-block:nth-child(even) .sustain-image {
  order: -1;
}

.biomedical-page .sustain-content h3 {
  color: #0f172a !important;
  font-size: clamp(18px, 2.2vw, 22px) !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(1, 120, 183, 0.2);
}

.biomedical-page .sustain-content p,
.biomedical-page .sustain-content li {
  color: #475569 !important;
  font-size: clamp(15px, 1.7vw, 17px) !important;
  line-height: 1.75 !important;
}

.biomedical-page .sustain-content ul {
  list-style: none;
  padding: 0;
}

.biomedical-page .sustain-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.biomedical-page .sustain-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--aventiq-blue, #0178B7);
  font-weight: 700;
}

.biomedical-page .sustain-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.biomedical-page .sustain-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.biomedical-page .future-box {
  text-align: center;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 48px);
  background: linear-gradient(165deg, #ffffff 0%, #f0f7fc 100%);
  border-radius: 28px;
  border: 1px solid rgba(1, 120, 183, 0.15);
  box-shadow: 0 20px 50px rgba(1, 120, 183, 0.1);
  position: relative;
  overflow: hidden;
}

.biomedical-page .future-box::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 24px;
  font-size: 120px;
  line-height: 1;
  color: rgba(1, 120, 183, 0.08);
  font-family: Georgia, serif;
  pointer-events: none;
}

.biomedical-page .future-box h4 {
  color: #0f172a !important;
  font-size: clamp(18px, 2.5vw, 22px) !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  letter-spacing: 0.03em;
}

.biomedical-page .future-box p {
  max-width: 640px;
  margin: 0 auto 24px !important;
  color: #475569 !important;
  font-size: clamp(17px, 2vw, 20px) !important;
  font-style: italic;
  line-height: 1.7 !important;
}

.biomedical-page .future-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  padding: 12px;
  background: linear-gradient(135deg, rgba(1, 120, 183, 0.12), rgba(1, 120, 183, 0.04));
  border-radius: 50%;
}

.biomedical-page .future-icon img {
  width: 100%;
  height: auto;
}

/* Hide legacy inline-styled elements when using new structure */

/* Responsive */
@media (max-width: 991px) {
  .biomedical-page .healthcare-row,
  .biomedical-page .healthcare-section:nth-child(even) .healthcare-row,
  .biomedical-page .sustain-block,
  .biomedical-page .sustain-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .biomedical-page .healthcare-section:nth-child(even) .healthcare-image,
  .biomedical-page .healthcare-section:nth-child(even) .healthcare-content,
  .biomedical-page .sustain-block:nth-child(even) .sustain-image {
    order: unset;
  }

  .biomedical-page .innovation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bmw-intro__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .biomedical-page .innovation-grid {
    grid-template-columns: 1fr;
  }

  .bmw-solution__list {
    grid-template-columns: 1fr;
  }
}
