.custom-box {
  position: relative;
  background-color: black;
  color: #fff;
  border-radius: 30px 0;
  padding: 40px 20px;
  font-weight: bold;
  text-align: center;
  min-height: 120px;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

.custom-box span {
  position: relative;
  z-index: 3;
}

.custom-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-color: #cf2128;
  width: 50px;
  height: 50px;
  border-bottom-left-radius: 100%;
  transition: 0.4s ease-in-out;
  z-index: 2;
}

.custom-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #cf2128;
  transform: scale(0);
  transform-origin: top right;
  transition: transform 0.4s ease-in-out;
  z-index: 0;
  border-radius: 30px 0;
}

.custom-box:hover::before {
  transform: scale(1);
}

.custom-box:hover {
  color: #fff;
}

.custom-box:hover::after {
  background-color: transparent;
}

.custom-box.active::after {
  background-color: transparent;
}

.custom-box.active::before {
  display: none;
}

.feature-box {
  background: linear-gradient(90deg, #e1252b, #e73c44, #e1252b);
  color: #fff;
  padding: 30px 25px;
  border-radius: 30px 0;
  height: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-box h5 {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 18px;
}

.feature-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #f1f1f1;
}


/* General Hero BG + left text */
.hero-slider-combined {
  background: linear-gradient(135deg, #000, rgb(14, 15, 14));
  padding: 60px 0 0 0;
}

.hero-title {
  font-size: 2.7rem;
  font-weight: 700;
  color: #fff;
}

.highlight {
  color: #e1252b;
}

.hero-subtitle {
  color: #fff;
  font-size: 1rem;
}

.hero-btn {
  background-color: #e1252b;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
}

.customs-heros-btns {
  background: #e1252b;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  /* maintain button height on hover */
  padding: 12px 30px;
  border-radius: 50px;
}

.customs-heros-btns:hover {
  background: #fff;
  color: #e1252b;
  border: 1px solid #e1252b;
  /* corrected */
}

/* Slider Container */
.slider-box-container {
  background: #000;
  height: 420px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  padding: 10px;
}

/* Infinite Up Scroll */
.slide-track-box.infinite {
  display: flex;
  flex-direction: column;
  animation: scrollInfinite 12s linear infinite;
}

/* Infinite Down Scroll */
.slide-track-box.reverseInfinite {
  display: flex;
  flex-direction: column;
  animation: scrollInfiniteReverse 12s linear infinite;
}

@keyframes scrollInfinite {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollInfiniteReverse {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.slide-box {
  background: #fff;
  color: #000;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding: 12px 20px;
  margin: 12px 0;
  font-weight: 600;
  text-align: center;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    text-align: left;
  }

  .hero-subtitle {
    text-align: left;
    display: block;
    margin: auto;
  }

  .hero-btn {
    text-align: center;
  }

  .slider-box-container {
    height: 300px;
    margin-top: 20px;
  }
}

@media (max-width: 991px) {

  .hero-slider-combined::before,
  .hero-slider-combined::after {
    display: none !important;
    content: none !important;
    /* pseudo-element ko bilkul hata dega */
  }
}

.hero-slider-combined::before {
  content: "";
  position: absolute;
  background: #fff;
  opacity: 0.3;
  filter: blur(60px);
  width: 150%;
  height: 100px;
  top: 84px;
  left: -50%;
  z-index: 9999;
  transform: rotate(0deg);
  pointer-events: none;
}

.hero-slider-combined {
  position: relative;
  overflow-x: hidden;
  /* scroll band ho jayega */
  z-index: 1;
}

.hero-slider-combined::after {
  content: "";
  position: absolute;
  background: #f4f9f7;
  width: 111%;
  height: 213px;
  bottom: -152px;
  left: -10px;
  transform: rotate(-8deg);
  z-index: 9999;
  pointer-events: none;
}

.heros-badges {
  display: inline-block;
  background-color: #cf2128;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  text-transform: capitalize;
  letter-spacing: 1px;
  text-align: center;
  transition: all 0.3s ease;
}

.icon-65 {
  width: 65px;
  height: 65px;
  max-width: 100%;
  margin-right: 10px;
}

.small-card {
  max-width: 220px;
  max-height: 250px;   
  margin: 0 auto;
  text-align: center;
  padding: 10px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.small-img img {
  width: 80px;
  height: auto;     
  margin: 0 auto;
  display: block;
  object-fit: contain; 
}


