.cp {
  padding: 60px 180px;
}

.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000000;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.hero-content.right {
  left: auto;
  right: 10%;
  text-align: right;
}

.hero-overlay.right {
  background: linear-gradient(
    240deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
}

.hero-content h1 {
  line-height: 1.2;
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero-content h1 .highlight {
  color: #ec681f;
  font-weight: bold;
}

.hero-content p {
  font-size: var(--fs-400);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-content .buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}
.hero-content.right .buttons {
  justify-content: flex-end;
}

.hero-content .buttons a,
.who-are-we a {
  text-decoration: none;
  padding: 10px 20px;
  font-size: var(--fs-400);
  display: inline-block;
  transition: background-color 0.3s;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-dots .dot.active {
  background-color: rgba(0, 0, 0, 0.4);
}

.btn-primary {
  background-color: #ec681f;
  color: white;
}

.btn-primary:hover {
  background-color: #cf5a1a;
}

.btn-secondary {
  border: 1px solid white;
  color: white;
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: white;
  color: black;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(40px) translateY(-50%);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
  }
}

.hero-content.slide-in {
  animation: slideInFromRight 0.6s ease-out;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #d9d9d9;
  gap: 52px;
}

.stats p {
  font-weight: 700;
  font-size: var(--fs-l);
}
.stats small {
  font-weight: 500;
  color: #626262;
}

.who-are-we {
  display: grid;
  grid-template-columns: 3fr 1fr;
}

.who-are-we img {
  width: 420px;
  object-fit: contain;
  margin-left: 120px;
}
.who-are-we p,
.asset-integrity p {
  color: #626262;
  line-height: 2;
  margin: 20px 0;
}

.asset-integrity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.asset-integrity > div {
  padding-right: 60px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.product-section {
  border-top: 1px solid #d9d9d9;
  text-align: center;
}

.product-section h2 {
  margin-bottom: 48px;
}

.product-section img {
  width: 240px;
}

.product-grid > div {
  align-items: center;
  justify-items: center;
}

.product-grid > div > p {
  font-weight: 600;
  margin-bottom: 32px;
}

.industry-section {
  justify-items: center;
  background-color: #fbfbfb;
  border-top: 1px solid #d9d9d9;
  text-align: center;
}

.industry-section > h2 {
  margin-bottom: 36px;
}

.industry-section > p {
  color: #626262;
  margin-bottom: 60px;
}

.industry-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media screen and (orientation: portrait) {
  .industry-flex {
    display: block;
  }
  .industry-wrapper {
    margin-bottom: 20px;
  }
  .cp {
    padding: 32px 24px;
  }
  .product-grid {
    display: block;
  }
  .product-grid > div {
    margin-bottom: 44px;
  }
  .asset-integrity {
    display: block;
  }
  .asset-integrity > div {
    margin-bottom: 24px;
  }
  .who-are-we {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .who-are-we img {
    width: 100%;
    margin-left: 0;
  }
  .stats {
    border: 0;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid #d9d9d9;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
}

.industry-flex > div {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* Prevent image overflow just in case */
}

.industry-flex > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* removes inline spacing from img */
}

.industry-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.industry-wrapper p {
  position: absolute;
  bottom: 16px;
  left: 16px;
  margin: 0;
  font-size: var(--fs-600);
  padding: 6px 12px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-weight: bold;
}
