.RollFormAutomation {
  background-color: #00a0e9;
  padding: 40px 20px 60px 20px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 6px solid #ffc107;
}

.RollFormAutomation .mainHeading {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 30px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.5px;
}

/* Slider Track Wrapper */
.RollFormAutomation .carouselWrapper {
  position: relative;
  margin: 0 auto;
}

.RollFormAutomation .cardsContainer {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  /* Hide scrollbar for clean carousel look */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.RollFormAutomation .cardsContainer::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Individual Card Design */
.RollFormAutomation .card {
  flex: 0 0 360px;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  height: 650px;
  position: relative;
}

.RollFormAutomation .imageWrapper {
  position: relative;
  width: 100%;
  height: 200px;
  margin-bottom: 16px;
  border-radius: 2px;
  overflow: hidden;
}

.RollFormAutomation .cardImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.RollFormAutomation .cardTitle {
  font-size: 26px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.25;
}

.RollFormAutomation .cardDescription {
  font-size: 0.82rem;
  color: #444444;
  margin-bottom: 14px;
  line-height: 1.4;
}

.RollFormAutomation .bulletList {
  list-style-type: none;
  padding-left: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.RollFormAutomation .bulletList li {
  font-size: 15px;
  color: #000;
  margin-bottom: 10px;
  line-height: 1.35;
}

/* Black Button */
.RollFormAutomation .cardButton {
  background-color: #000000;
  color: #ffffff;
  border: none;
  padding: 22px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.2s ease;
  position: absolute;
  bottom: 10px;
}

.RollFormAutomation .cardButton:hover {
  background-color: #222222;
}

/* Circular Arrow Navigation Buttons */
.RollFormAutomation .navButton {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #f7ca18;
  /* Yellow navigation arrow */
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
  font-size: 1.2rem;
  font-weight: bold;
  color: #000000;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.RollFormAutomation .navButton:hover {
  background-color: #e5bd1d;
  transform: translateY(-50%) scale(1.05);
}

.RollFormAutomation .prevButton {
  left: -20px;
}

.RollFormAutomation .nextButton {
  right: -20px;
}

/* ============================
Responsiveness
============================== */

@media (min-width: 0px) and (max-width: 575.98px) {
  .RollFormAutomation {
    padding: 30px 0;
  }

  .RollFormAutomation .mainHeading {
    font-size: 25px;
  }

  .RollFormAutomation .cardTitle {
    font-size: 22px;
  }

  .RollFormAutomation .card {
    height: 680px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .RollFormAutomation .card {
    flex: 0 0 290px;
  }

  .RollFormAutomation .mainHeading {
    font-size: 28px;
  }

  .RollFormAutomation .prevButton {
    left: 5px;
  }

  .RollFormAutomation .nextButton {
    right: 5px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
}
