.products-hero {
  text-align: center;
}

.split-heading {
  font-size: clamp(2rem,4vw,2.5rem);
  display: flex;
  font-weight: 700;
  justify-content: center;
  gap: 12px;
  color: #0F172A;
  margin-bottom: 12px;
}

.split-heading span {
  opacity: 0;
}

.text-left {
  animation: slideLeft 1.2s ease forwards;
}

.text-right {
  animation: slideRight 1.2s ease forwards;
}

.about-lead {
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes slideLeft {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== PRODUCT SECTION ===== */
.product-section {
  padding: 20px 6%;
  border: none !important;
}

.product-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #0F172A;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  padding: 60px;
  z-index: 1;
  background: transparent;
  transition: color 0.4s ease;
}

/* TEXT */
.product-text {
  opacity: 0;
  transition: all 0.9s ease;
}

.product-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 15px;
  transition: all 0.4s ease;
}

.product-desc {
  font-size: 1rem;
  color: #555;
  max-width: 520px;
  margin-bottom: 25px;
  transition: all 0.4s ease;
  word-spacing: 3px;
}

/* BUTTON */
.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: #0D6EFD;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s ease;
}

.product-btn:hover {
  background: #084298;
  transform: translateX(6px);
}

/* IMAGE */
.product-image {
  opacity: 0;
  transition: all 0.9s ease;
}

.product-image img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: auto;
}

/* ===== ANIMATIONS ===== */
.from-left {
  transform: translateX(-80px);
}

.from-right {
  transform: translateX(80px);
}

.product-section.show .from-left,
.product-section.show .from-right {
  opacity: 1;
  transform: translateX(0);
}

/* ===== HOVER BACKGROUND SLIDE EFFECT ===== */

/* Top & Bottom background layers */
.product-box::before,
.product-box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 55%;
  background: #0F172A;
  z-index: -1;
  transition: transform 0.6s ease;
  pointer-events: none;
}

.product-box::before {
  top: 0;
  transform: translateY(-100%);
}

.product-box::after {
  bottom: 0;
  transform: translateY(100%);
}

.product-box:hover::before {
  transform: translateY(0);
}

.product-box:hover::after {
  transform: translateY(0);
}

.product-box:hover .product-title,
.product-box:hover .product-desc {
  color: #FFFFFF;
}

.product-box:hover .product-btn {
  background: #2563EB;
  color: #FFFFFF;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .product-box {
    padding: 40px 25px;
    text-align: center;
  }

  .product-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .product-image {
    margin-top: 30px;
  }
}

@media screen and (max-width:578px){
  .product-desc{
    text-align: start;
  }
}

.product-btn:hover i {
  transform: translateX(6px);
}