/* Solutions Start */

#solutions {
  padding: 96px;
}

#solutions h2 {
  color: var(--Blue, #1e3c72);
  font-size: 80px;
  font-style: normal;
  font-weight: 700;
  line-height: 96px;
  text-transform: uppercase;
}

#solutions h3 {
  color: var(--Blue, #1e3c72);
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  text-transform: uppercase;
}

#solutions #myTab {
  border-bottom: 2px solid #bbc5d5;
  gap: 82px;
  margin-top: 64px;
  margin-bottom: 64px;
}

#solutions .nav-tabs {
  margin-top: 64px;
}

#solutions .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: transparent;
  color: var(--Blue, #1e3c72);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 140% */
  border-bottom: 6px solid var(--Blue);
  border-radius: 0px;
}

#solutions .nav-pills .nav-link {
  color: #474850;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 140% */
  padding-bottom: 24px;
  padding-left: 0px;
  padding-right: 40px;
}

#solutions .tab-pane {
  margin-top: 64px;
}

#solutions a:active,
#solutions a:hover {
  outline: 0;
}

#solutions .link-arrow {
  display: inline-block;
  flex: 0 auto;
  -webkit-box-flex: 0;
  min-width: 364px;
  position: relative;
  text-align: left;
  text-decoration: none;
  color: var(--Blue, #1e3c72);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin-top: 48px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1e3c72;
}

#solutions .link-arrow:hover {
  color: var(--Red, #ca202e);
  border-bottom: 1px solid var(--Red, #ca202e);
}

#solutions .link-arrow::before,
#solutions .link-arrow::after {
  content: url("/wp-content/uploads/2024/09/arrow-right.svg");
  display: block;
  font-family: Inter;
  font-size: inherit;
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translate(0%, -50%);
  transition: all 0.5s cubic-bezier(0.25, 0.25, 0.08, 1.08);
}

#solutions .link-arrow:hover::before {
  content: url("/wp-content/uploads/2024/09/arrow-right-red.svg");
}

#solutions .link-arrow.font-reg::before,
#solutions .link-arrow.font-reg::after {
  font-weight: 300;
}

#solutions .link-arrow::before {
  opacity: 0;
  transform: translate(-100%, -50%);
}

#solutions .link-arrow:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}

#solutions .link-arrow:hover::after {
  opacity: 0;
  transform: translate(100%, -50%);
}

#solutions .tab-content p {
  color: var(--Blue, #1e3c72);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  padding-left: 112px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  width: 80%;
}

#solutions img {
  border-radius: 20px;
}

@media only screen and (max-width: 1200px) {
  #solutions .tab-content .row {
    flex-direction: column; /* Stack the columns vertically */
  }

  #solutions .nav-pills .nav-link {
    padding-top: 0px;
    padding-bottom: 24px;
  }

  #solutions .tab-content .col-6 img {
    max-width: 100%; /* Ensure the image is responsive */
    height: auto;
    margin: 10px 0; /* Add some spacing around the image */
  }

  #solutions .nav-pills .nav-link {
    align-content: center;
  }

  /* Ensure the tab container is scrollable */
  #myTab {
    display: flex; /* Arrange tabs in a horizontal line */
    flex-wrap: nowrap; /* Prevent tabs from wrapping to the next line */
    overflow-x: auto; /* Allow horizontal scrolling */
    white-space: nowrap; /* Prevent text from wrapping */
    -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on touch devices */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    width: 100%; /* Ensure the container takes up full width */
    padding: 10px 0; /* Optional: Add padding for better appearance */
    padding-bottom: 00px; /* Add padding for better touch interaction */
    gap: 32px;
  }

  #myTab::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers */
  }

  #myTab .nav-link {
    flex: 0 0 auto; /* Prevent tabs from shrinking */
    padding: 0.5rem 1rem; /* Adjust padding for better spacing */
    display: inline-block;
    white-space: nowrap; /* Prevent text inside tabs from wrapping */
  }

  #myTab::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers */
  }

  #myTab .nav-link {
    flex: 0 0 auto; /* Prevent tabs from shrinking */
    padding: 0.5rem 1rem; /* Adjust padding to ensure the tab is visible */
    display: inline-block; /* Treat each tab as an inline element */
    white-space: nowrap; /* Prevent text from wrapping inside the tabs */
  }

  #myTab a {
    width: auto;
    gap: 32px;
  }

  #myTab .nav-link {
    align-content: start;
    display: block;
    max-width: 180px; /* Set a smaller max width to force text wrapping */
    padding: 0.5rem 0.5rem; /* Adjust padding as needed */
    white-space: normal; /* Allow the text to wrap */
    text-align: start;
  }

  #solutions .tab-pane {
    margin-top: 48px;
  }

  #solutions h3 {
    font-size: 30px;
    line-height: 36px; /* 120% */
    margin-bottom: 0px;
  }

  #solutions .tab-content p {
    padding-left: 24px;
    width: 100%;
    margin-bottom: 0px;
  }

  #solutions .link-arrow {
    min-width: 100%;
  }

  #solutions .img-margin {
    margin-top: 40px;
    margin-bottom: 96px;
  }
}

@media only screen and (max-width: 768px) {
  #solutions {
    padding: 80px 12px 0px;
  }

  #solutions h2 {
    font-size: 50px;
    font-weight: 600;
    line-height: 130%;
    text-transform: uppercase;
    margin-bottom: 48px;
  }

  #solutions #myTab {
    gap: 32px;
  }

  #solutions .nav-pills .nav-link {
    padding-right: 10px;
  }
}

/* Solutions end */