::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #b6b59b;
}

::-webkit-scrollbar-thumb {
  background: #e30016;
  /* background: #0c2f7a; */
  border-radius: 5px;
}

html {
  scroll-padding-top: 80px;
}

#payroll-hrms,
#payroll-outsourcing,
#fixxed-asset,
#vission-crm {
  padding-top: 80px;
}

.bg-yell {
  background: linear-gradient(to right, #262624);
}
.text-yell {
  background: #262624;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-yell2 {
  background: linear-gradient(to right, #262624, #847c19);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-yellw {
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-light {
  color: #f1f6f9 !important;
}

.blue-pri {
  color: #0c2f7a;
}

.flexx {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fw {
  font-weight: 300;
}

.custom-size {
  font-size: 2rem;
  color: #091e3e;
}

.fs-18 {
  font-size: 18px !important;
}

.custom-about-sizing {
  height: 60px;
  width: 60px;
}

.service-item2:hover .bg-yell {
  transform: rotate(45deg);
  width: 80px;
  height: 80px;

  transition: transform 0.3s ease-in-out;
}

.custom-rotate:hover .custom-rotate-final {
  transform: rotate(45deg);
  width: 80px;
  height: 80px;

  transition: transform 0.3s ease-in-out;
}

.custom-section-title::before {
  position: absolute;
  content: "";
  width: 150px;
  height: 5px;
  left: 35%;
  bottom: -5px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
}

.custom-section-title::after {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  bottom: -5px;
  left: 0%;
  background: #ffffff;
  border-radius: 50%;
  animation: custom-section-title-run 5s infinite linear;
}

@keyframes custom-section-title-run {
  0% {
    left: 25%;
  }
  50% {
    left: 35%;
  }
  100% {
    left: 44.3%;
  }
}

.custom-section-title2::before {
  position: absolute;
  content: "";
  width: 150px;
  height: 5px;
  left: 43%;
  bottom: -5px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateX(-50%);
}

.custom-section-title2::after {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  bottom: -5px;
  left: 0%;
  background: #ffffff;
  border-radius: 50%;
  animation: custom-section-title-run2 5s infinite linear;
}

@keyframes custom-section-title-run2 {
  0% {
    left: 33%;
  }
  50% {
    left: 41%;
  }
  100% {
    left: 52.5%;
  }
}

.why-card {
  width: 350px;
  background-color: #fff;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.why-card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Product */

.custom-wrapper {
  height: 480px;
  background-color: rgb(255, 255, 255);
  text-align: left;
  position: relative;
  transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: rgb(31 31 31 / 12%) 0px 1px 6px, rgb(31 31 31 / 12%) 0px 1px 4px;
}

.custom-product {
  width: 100%;
  height: 340px;
  background-image: url(../img/product-icon/hrms.jpg);
  background-color: rgb(130, 168, 225);
  background-repeat: no-repeat;
  background-position: center center;
}
.custom-product1 {
  width: 100%;
  height: 340px;
  background-image: url(../img/product-icon/crm.jpg);
  background-color: rgb(130, 168, 225);
  background-repeat: no-repeat;
  background-position: center center;
}
.custom-product2 {
  width: 100%;
  height: 340px;
  background-image: url(../img/product-icon/outsourcing.jpg);
  background-color: rgb(130, 168, 225);
  background-repeat: no-repeat;
  background-position: center center;
}
.custom-product3 {
  width: 100%;
  height: 340px;
  background-image: url(../img/product-icon/managment.jpg);
  background-color: rgb(130, 168, 225);
  background-repeat: no-repeat;
  background-position: center center;
}

.custom-blue {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 290px;
  background: #262624;

  transform: skewY(-10deg);
}

.custom-logo {
  position: absolute;
  top: 265px;
  left: 45%;
  width: 52px;
  height: 52px;
  background-origin: content-box;
  border-radius: 3px;
  z-index: 1;
  background-color: #f8de14;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.custom-content {
  position: absolute;
  top: 330px;
  left: 15px;
  color: rgb(255, 255, 255);
}

.custom-content h3 {
  margin: 0px;
  margin-bottom: 1rem;
  /* font-size: 1.25rem; */
  text-align: center;
  font-weight: normal;
  line-height: 1.5rem;
}

.custom-content p {
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.5rem;
}

.nav-link.dropdown-toggle::after {
  display: none !important;
}

.nav-item .dropdown-item:active {
  background: linear-gradient(to left, #847c19, #262624) !important;
}

/* Basic Styles */
.nav-item {
  position: relative;
  display: inline-block;
  margin-right: 20px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  padding: 10px;
  display: block;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 160px;
  z-index: 1;
}

.dropdown-item {
  padding: 8px 16px;
  color: #E21E26;
  text-decoration: none;
  display: block;
}

/* Arrow Icon Styles */
.dropdown-icon {
  margin-left: 5px;
  cursor: pointer;
}

/* Show the dropdown on hover */
.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-item:hover {
  background-color: lightyellow;
}

.dropdown-item:active {
  background-color: lightyellow;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .nav-item {
    display: block;
    margin-bottom: 10px;
  }

  .nav-link {
    display: inline-block;
    padding: 10px 15px;
  }

  .dropdown-menu {
    display: none;
    position: static;
  }

  /* Toggle dropdown on clicking arrow */
  .nav-item.active .dropdown-menu {
    display: block;
  }

  .nav-item.active .dropdown-icon {
    transform: rotate(180deg); /* Arrow rotates when active */
  }
}

/* Hide dropdown menu in responsive mode */
@media (max-width: 768px) {
  .nav-item .dropdown-menu {
    display: none !important;
  }
  .nav-item:hover .dropdown-menu {
    display: none !important;
  }
}

.faq-wrapper .panel.panel-default {
  border: 1px solid #ebebeb;
  margin-bottom: 20px;
}
.faq-wrapper .card,
.faq-wrapper .card-header {
  border-radius: 0;
}
.faq-wrapper .card {
  border-bottom: none;
  margin-bottom: 20px;
  border: none;
  -webkit-box-shadow: 0 18px 40px rgba(51, 51, 51, 0.1);
  box-shadow: 0 18px 40px rgba(51, 51, 51, 0.1);
}
.faq-wrapper .card:last-child {
  margin-bottom: 0;
}
.faq-wrapper .card-header {
  padding: 0;
  border-bottom: 0;
  background-color: #ffffff;
}
.faq-wrapper .card-header h5 button {
  border: none;
  width: 100%;
  text-align: left;
  color: #000000;
  padding: 20px 30px;
  position: relative;
  overflow-wrap: break-word;
  white-space: normal;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  border-radius: 5px;
  background: #ffffff;
  text-decoration: none;
}
@media only screen and (max-width: 479px) {
  .faq-wrapper .card-header h5 button {
    padding-left: 15px;
    padding-right: 20px;
  }
}
.faq-wrapper .card-header h5 button span {
  position: absolute;
  right: 35px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
@media only screen and (max-width: 479px) {
  .faq-wrapper .card-header h5 button span {
    right: 15px;
  }
}
.faq-wrapper .card-header h5 button span i {
  font-size: 14px;
  visibility: hidden;
  opacity: 0;
  display: none;
}
.faq-wrapper .card-header h5 button:hover,
.faq-wrapper .card-header h5 button:focus {
  text-decoration: none;
  color: #000000;
}
.faq-wrapper .card-header h5 button[aria-expanded="true"] {
  color: #ffffff;
  background: #262624;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.faq-wrapper .card-header h5 button[aria-expanded="true"] span i:nth-child(2) {
  visibility: visible;
  opacity: 1;
  display: inline;
}
.faq-wrapper .card-header h5 button[aria-expanded="true"]:before {
  height: 100%;
}
.faq-wrapper .card-header h5 button[aria-expanded="false"] span i:nth-child(1) {
  visibility: visible;
  opacity: 1;
  display: inline;
}
.faq-wrapper .card-body {
  padding: 23px 30px 29px;
}

.client-logo-carousel.light-gray-bg {
  /* background-color: #f5f5f5; */
  padding: 20px;
  border-radius: 10px;
}

.client-logo {
  width: 120px;
  object-fit: contain;
}

.custom-prev,
.custom-next {
  background-color: #007bff;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
}

.custom-prev:hover,
.custom-next:hover {
  background-color: #0056b3;
}

/* New Start */

.btn-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 10px;
  width: 200px;
  padding: 20px;
  overflow: hidden;
}
.btn-container:hover {
  cursor: pointer;
}

.btn-link {
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  z-index: 1;
}

.btn-arrow {
  border-radius: 50%;
  font-size: 30px;
  font-weight: 500;
  margin-left: 10px;
  z-index: 1;
}

.btn-round {
  position: absolute;
  right: 20px;
  top: 25px;
  /* border: 1px solid red; */
  border-radius: 50%;
  background-color: gray;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
}

.membership-item:hover .btn-round {
  transform: translateX(-50px);
  border-radius: 10%;
  background-color: rgba(241, 23, 23, 0.596);
  transition: 0.4s ease-in-out;
}

/* Only btn Css */

.custom-btn-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 10px;
  width: 170px;
  color: white;
  background: linear-gradient(to right, #0c2f7a, #224592);
  /*padding: 10px 20px; */
  /* Reduced padding on top/bottom, kept the same on left/right */
  /* overflow: hidden; has been removed as you indicated */
}
.custom-btn-container:hover {
  cursor: pointer;
  background: none;
  border: 1px solid #0c2f7a;
}

.custom-btn-link {
  text-decoration: none;
  color: #fff;
  display: flex;
  font-size: 16px;
  font-weight: 500;
  z-index: 1;
}

.custom-btn-container:hover .custom-btn-link {
  text-decoration: none;
  color: #363636;
}
.custom-btn-container:hover .custom-btn-arrow {
  color: #363636;
}

.custom-btn-arrow {
  border-radius: 50%;
  font-size: 30px;
  font-weight: 500;
  margin-left: 10px;
  z-index: 1;
}

.custom-btn-round {
  position: absolute;
  right: 10px;
  top: 14px;
  /* border: 1px solid red; */
  border-radius: 50%;
  background-color: gray;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
}

.custom-btn-container:hover .custom-btn-round {
  transform: translateX(-50px);
  border-radius: 10%;
  background-color: rgba(241, 23, 23, 0.596);
  transition: 0.4s ease-in-out;
}
