/* Product Service Hero section */
#product-service-hero {
  margin-top: 4.6rem;
  background-color: var(--bg-secondary);
}

#product-service-hero h1,
#product-service-hero h4 {
  color: #ffffff;
}

#product-service-hero .service-card {
  border-radius: 20px;
  background-color: var(--bg-color);
  background: var(--bg-color);
  background: linear-gradient(142deg,
      var(--bg-color) 82%,
      var(--primary-color) 82%);
  position: relative;
  padding: 15px;
  overflow: hidden;
}

#product-service-hero .service-card .sub-section {
  position: relative;
  padding: 0;
}

#product-service-hero .service-card .sub-section::after {
  content: "";
  position: absolute;
  height: 80%;
  width: 2px;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  background-color: var(--bg-secondary);
}

#product-service-hero .service-card p {
  margin-bottom: 0;
}

#product-service-hero .service-card img {
  height: 3rem;
}

#product-service-hero .service-card .title {
  font-size: 1.1rem;
  color: #000000;
}

#product-service-hero .service-card .description {
  font-size: 1rem;
  line-height: 17px;
}

#product-service-hero .service-card .link {
  font-size: 0.8rem;
}

#product-service-hero .service-card .arrow {
  position: absolute;
  bottom: 4%;
  right: 0;
}

#product-service-hero .service-card .arrow img {
  height: 1.8rem;
}

/* Details carousal 1 section  */
#niche-carousal-section,
#details-carousal-1 {
  background-color: var(--bg-color);
  padding-top: 2rem;
}

#niche-carousal-section .details-section .head,
#details-carousal-1 .details-section .head {
  background-color: var(--bg-color);
}

#niche-carousal-section .details-section .body,
#details-carousal-1 .details-section .body {
  background-color: var(--bg-secondary);
  color: #ffffff;
  min-height: 38rem;
}

#niche-carousal-section .details-section .body ul,
#details-carousal-1 .details-section .body ul {
  list-style-type: none;
  padding-left: 0;
}

#niche-carousal-section .details-section .body ul li,
#details-carousal-1 .details-section .body ul li {
  position: relative;
  padding-left: 40px;
  /* Space for the custom SVG icon */
  font-size: 1.2rem;
  /* Font size */
}

#niche-carousal-section .details-section .body ul li::before,
#details-carousal-1 .details-section .body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("/static/v2/img/icon/diamonds-four-svgrepo-com.svg");
  background-size: cover;
  /* Ensure the SVG scales properly */
  background-repeat: no-repeat;
}

#details-carousal-1 .details-section .body ul.python-app-list li::before {
  background-image: url("/static/v2/img/icon/books.svg");
}

#details-carousal-1 .details-section .body .duration p {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: #ffffff;
}

#details-carousal-1 .python-application-card {
  background-color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 25px;
  color: rgb(58, 58, 58);
}

#details-carousal-1 .python-application-card .card-title img {
  height: 2rem;
}

#details-carousal-1 .product-img-excel {
  border: 1rem solid var(--bg-color);
  border-radius: 25px;
}

/* WhatsNext Production Section  */
#whatsnext-production {
  background-color: var(--bg-secondary);
  padding: 2rem 0;
}

#whatsnext-production h5,
#whatsnext-production h3,
#whatsnext-production h4,
#whatsnext-production h2,
#whatsnext-production h1,
#whatsnext-production p {
  color: #ffffff;
}

#whatsnext-production img {
  height: 20rem;
}

#whatsnext-production .whatsnext-production-card {
  background-color: #ffffff;
  color: var(--primary-color);
  min-height: 13rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#whatsnext-production .whatsnext-production-card h5 {
  color: var(--primary-color);
}

#whatsnext-production .whatsnext-production-card img {
  border-radius: 50%;
  height: 5rem;
  width: 5rem;
  padding: 10px;
  border: 1px solid var(--primary-color);
}

/* Product Service Section */
#product-service {
  background-color: var(--bg-secondary);
  padding: 2rem 0;
  color: #ffffff;
  display: flex;
  align-items: center;
}

#product-service h5,
#product-service h3,
#product-service h2 {
  color: #ffffff;
}

#product-service .software-service-card,
#product-service .platform-service-card,
#product-service .lab-service-card {
  -webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 25px;
  text-align: center;
}

#product-service .software-service-card .card-title,
#product-service .platform-service-card .card-title,
#product-service .lab-service-card .card-title {
  font-size: 20px;
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 10px;
}

#product-service .software-service-card {
  background-color: rgb(0, 176, 80);
}

#product-service .platform-service-card {
  background-color: rgb(174, 174, 174);
}

#product-service .lab-service-card {
  background-color: rgb(116, 116, 116);
}

#product-service .software-service-card ul,
#product-service .platform-service-card ul,
#product-service .lab-service-card ul {
  list-style-type: none;
  padding-left: 0;
}

#product-service .software-service-card ul li,
#product-service .platform-service-card ul li,
#product-service .lab-service-card ul li {
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
}

#product-service .lab-building-list {
  list-style-type: none;
  padding-left: 0;
}

#product-service .lab-building-list li {
  font-size: 20px;
  margin-block: 10px;
  padding: 1.3rem 1rem;
  border-top-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

#product-service .lab-building-list li:nth-child(1) {
  background-color: rgb(75, 75, 75);
}

#product-service .lab-building-list li:nth-child(2) {
  background-color: rgb(116, 116, 116);
}

#product-service .lab-building-list li:nth-child(3) {
  background-color: rgb(174, 174, 174);
}

#product-service .lab-building-list li:nth-child(4) {
  background-color: rgb(142, 217, 115);
}

#product-service .lab-building-list li:nth-child(5) {
  background-color: rgb(0, 176, 80);
}

#product-service .product-service-arrow-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#product-service .product-service-arrow-container img {
  height: 5rem;
  margin: 0 auto;
}

@media (max-width: 992px) {
  #product-service .product-service-arrow-container {
    flex-direction: row;
    margin-block: 2rem;
  }

  #product-service .product-service-arrow {
    transform: rotate(90deg);
  }
}

#niche-carousal .details-section h5 {
  color: #ffffff;
}

#niche-carousal .tab-carousal-img {
  height: clamp(20rem, 30vw, 30rem);
  width: 100%;
  width: auto;
  border-radius: 25px;
}

#niche-carousal .availability {
  margin-top: 20px;
}

#niche-carousal .availability p {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 0;
  font-weight: bold;
}

#niche-carousal .availability img {
  height: 3.5rem;
  margin-right: 15px;
}

.carousel-title {
  padding-top: 2rem;
}

@media (max-width: 992px) {
  .carousel-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .carousel-title-desc {
    font-size: clamp(1rem, 5vw, 1.7rem);
  }

  #niche-carousal .availability p {
    font-size: 1.3rem;
  }

  #niche-carousal .availability img {
    height: 2.5rem;
  }
}

/* Custom Tabs inside carousel */
/* Tab Pills */
.steps-tab-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: center;
}

.steps-tab-pills button {
  width: 100%;
  border-radius: 50px;
  line-height: 17px;
}

.steps-tab-link {
  padding: 10px 20px;
  border: 3px solid var(--primary-color);
  background-color: var(--bg-color);
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.steps-tab-link.active {
  background-color: var(--primary-color);
  color: white;
}

/* steps-Tab Content */
.steps-tab-content {
  position: relative;
}

.steps-tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.steps-tab-pane.active {
  display: block;
  opacity: 1;
  position: relative;
}

/* carousel  */
/* Custom styles for carousel arrows */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  /* Adjust the width of the arrow container */
  height: 50px;
  /* Adjust the height of the arrow container */
  background-color: rgba(0, 0, 0, 0.5);
  /* Background color */
  border-radius: 50%;
  /* Make the container circular */
  top: 50%;
  /* Center vertically */
  transform: translateY(-50%);
  /* Center vertically */
}

.carousel-control-prev {
  left: 5%;
}

.carousel-control-next {
  right: 5%;
}

/* Increase the size of the arrow icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
  /* Ensure the icon scales properly */
  width: 30px;
  /* Adjust the width of the arrow icon */
  height: 30px;
  /* Adjust the height of the arrow icon */
}

/* New Banner Styling */
.new-banner {
  position: absolute;
  top: 4px;
  right: -30px;
  background-color: #ff4757;
  color: white;
  padding: 5px 35px;
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: blink 1.5s infinite;
}

/* Blinking Animation */
@keyframes blink {

  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0.5;
  }
}