/* Industrial IIoT pages – matched to Biitcode IT/HR service style */

.maniBannerAll.iotBanner {
  background-color: #1E1B4B;
  padding: 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.maniBannerAll.iotBanner .banner-copy {
  padding: 64px 40px 64px 56px;
}

.maniBannerAll.iotBanner .eyebrow {
  color: #ec3237;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.maniBannerAll.iotBanner h1 {
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

.maniBannerAll.iotBanner h1 .highlight {
  color: #ec3237;
}

.maniBannerAll.iotBanner .banner-text {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  max-width: 540px;
}

.maniBannerAll.iotBanner .banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.maniBannerAll.iotBanner .btn-iot-primary {
  background: #ec3237;
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.maniBannerAll.iotBanner .btn-iot-primary:hover {
  background: #d42a2f;
  color: #fff;
  transform: translateY(-1px);
}

.maniBannerAll.iotBanner .btn-iot-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.maniBannerAll.iotBanner .btn-iot-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.maniBannerAll.iotBanner .banner-copy-col {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    90deg,
    #1E1B4B 0%,
    #1E1B4B 78%,
    rgba(30, 27, 75, 0.92) 90%,
    rgba(30, 27, 75, 0) 100%
  );
}

.maniBannerAll.iotBanner .banner-visual {
  position: relative;
  height: 100%;
  min-height: 420px;
  padding: 0;
  z-index: 1;
  margin-left: -80px;
}

.maniBannerAll.iotBanner .banner-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #1E1B4B 0%,
    rgba(30, 27, 75, 0.92) 22%,
    rgba(21, 28, 58, 0.55) 48%,
    rgba(13, 27, 42, 0.2) 72%,
    rgba(13, 27, 42, 0) 100%
  );
}

.maniBannerAll.iotBanner .banner-visual::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 100%);
}

.maniBannerAll.iotBanner .banner-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.05);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 42%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 42%, #000 100%);
}

.maniBannerAll.iotBanner .banner-badge {
  position: absolute;
  left: 96px;
  bottom: 28px;
  z-index: 3;
  background: rgba(5, 28, 44, 0.92);
  border: 1px solid rgba(236, 50, 55, 0.45);
  border-radius: 14px;
  padding: 14px 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.maniBannerAll.iotBanner .banner-badge strong {
  display: block;
  color: #ec3237;
  font-size: 1.35rem;
  line-height: 1.1;
}

.maniBannerAll.iotBanner .banner-badge span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

@media (max-width: 991.98px) {
  .maniBannerAll.iotBanner .banner-copy {
    padding: 48px 24px 28px;
    text-align: center;
  }
  .maniBannerAll.iotBanner .banner-copy-col {
    background: #1E1B4B;
  }
  .maniBannerAll.iotBanner .banner-text {
    margin-left: auto;
    margin-right: auto;
  }
  .maniBannerAll.iotBanner .banner-actions {
    justify-content: center;
  }
  .maniBannerAll.iotBanner .banner-visual {
    min-height: 280px;
    margin-left: 0;
  }
  .maniBannerAll.iotBanner .banner-visual::before {
    inset: auto 0 0 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(
      180deg,
      rgba(30, 27, 75, 0) 0%,
      rgba(30, 27, 75, 0.35) 40%,
      #1E1B4B 100%
    );
  }
  .maniBannerAll.iotBanner .banner-visual::after {
    display: none;
  }
  .maniBannerAll.iotBanner .banner-visual img {
    min-height: 280px;
    max-height: 320px;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .maniBannerAll.iotBanner .banner-badge {
    left: 24px;
  }
  .maniBannerAll.iotBanner h1 {
    font-size: 2.1rem;
  }
}

/* Intro */
.iotIntro {
  background: #031119;
  padding: 70px 0;
  color: #fff;
}

.iotIntro .about-heading,
.iotSolutions .about-heading,
.iotDetail .about-heading,
.iotRelated .about-heading,
.iotHighlights .about-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  color: #fff;
}

.iotIntro .about-heading::after,
.iotSolutions .about-heading::after,
.iotDetail .about-heading::after,
.iotHighlights .about-heading::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #ec3237;
  position: absolute;
  left: 0;
  bottom: -10px;
  border-radius: 2px;
}

.iotIntro p {
  color: #ffffffcc;
  font-size: 1.05rem;
  line-height: 1.75;
}

.iotIntro .intro-media {
  position: relative;
}

.iotIntro .intro-media img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  min-height: 340px;
  max-height: 420px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.iotIntro .intro-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 360px;
}

.iotIntro .intro-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.iotIntro .intro-gallery img:first-child {
  grid-row: 1 / 3;
  min-height: 360px;
}

.iotIntro .intro-stat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.iotIntro .intro-stat .stat-box {
  background: #051c2c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
}

.iotIntro .intro-stat .stat-box strong {
  display: block;
  color: #ec3237;
  font-size: 1.4rem;
}

.iotIntro .intro-stat .stat-box span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

/* Highlights strip */
.iotHighlights {
  background: #051c2c;
  padding: 50px 0;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.iotHighlights .hl-item {
  text-align: center;
  padding: 18px 12px;
}

.iotHighlights .hl-item i {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(236, 50, 55, 0.12);
  color: #ec3237;
  font-size: 1.5rem;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iotHighlights .hl-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.iotHighlights .hl-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}

/* Solution cards */
.iotSolutions {
  background: #031119;
  padding: 70px 0;
}

.iotSolutions .section-lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
  margin: 18px 0 34px;
  font-size: 1.02rem;
  line-height: 1.65;
}

.iot-card {
  background: #051c2c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}

.iot-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
  border-color: rgba(236, 50, 55, 0.4);
}

.iot-card .card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.iot-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.iot-card:hover .card-media img {
  transform: scale(1.06);
}

.iot-card .card-media .card-icon {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(5, 28, 44, 0.92);
  color: #ec3237;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(236, 50, 55, 0.35);
}

.iot-card .card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.iot-card h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.iot-card p {
  color: #ffffffb3;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 16px;
}

.iot-card a {
  color: #ec3237;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.iot-card a:hover {
  color: #ff5a5f;
}

/* Detail page */
.iotDetail {
  background: #031119;
  padding: 70px 0;
  color: #fff;
}

.iotDetail .lead-text {
  color: #ffffffcc;
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 22px 0 30px;
}

.iotDetail .detail-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.iotDetail .detail-image img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.iot-panel {
  background: #051c2c;
  border-radius: 14px;
  padding: 28px;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.iot-panel h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #fff;
}

.iot-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.iot-panel ul li {
  color: #ffffffcc;
  padding: 8px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.iot-panel ul li i {
  color: #ec3237;
  margin-top: 3px;
}

/* CTA */
.iotCta {
  background:
    linear-gradient(120deg, rgba(30, 27, 75, 0.94), rgba(5, 28, 44, 0.9)),
    url('../img/iot/iot-hero-banner.jpg') center/cover no-repeat;
  padding: 70px 0;
  text-align: center;
  color: #fff;
}

.iotCta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.iotCta p {
  color: #ffffffcc;
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}

.iotCta .btn-iot {
  background: #ec3237;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.iotCta .btn-iot:hover {
  background: #d42a2f;
  color: #fff;
}

/* Related */
.iotRelated {
  background: #031119;
  padding: 60px 0 70px;
}

.iotRelated .about-heading {
  margin-bottom: 28px;
}

.iot-related-card {
  display: block;
  text-decoration: none;
  background: #051c2c;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.iot-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 50, 55, 0.45);
}

.iot-related-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.iot-related-card .related-body {
  padding: 14px 16px 16px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.iot-related-card .related-body i {
  color: #ec3237;
  margin-right: 6px;
}
