* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  /* 6.25% = 1 px  */
  /* 62.5% = 1 rem =  10 px  */
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

html body {
  overflow-x: hidden !important;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 {
  font-size: 5rem !important;
  font-weight: normal;
  color: black !important;
}

h2 {
  font-size: 5rem !important;
  font-weight: normal;
  color: black !important;
}

h3 {
  font-size: 3rem !important;
  font-weight: normal;
  color: black !important;
}

h4 {
  font-size: 2rem !important;
  font-weight: normal;
  color: black !important;
}

h5 {
  font-size: 1rem !important;
  font-weight: normal;
  color: black !important;
}

h6 {
  font-size: 0.5rem !important;
  font-weight: normal;
  color: black !important;
}

P {
  font-size: 1.8rem !important;
  line-height: 25px;
  color: rgb(0, 0, 0) !important;
}

span {
  color: #006aff !important;
  font-size: 1.5rem !important;
  font-weight: 550 !important;
}

.capitalize-text {
  text-transform: capitalize;
}

.down-arrow {
  color: white !important;
  position: absolute;
  top: 12px;
  right: 5px;
  transition: all 0.5s ease;
  font-size: 1.5rem !important;
}

.green-horizontal {
  width: 50px;
  height: 5px;
  background: linear-gradient(
    90deg,
    rgba(0, 106, 255, 1) 0%,
    rgba(0, 38, 90, 1) 100%
  );
  margin: 0px 0px 20px 0px;
}

/* Payroll Header  */

.main-payroll {
  margin-top: 150px;
  margin-bottom: 100px;
}

.max-width {
  max-width: 85vw;
  margin: 0 auto;
}

.payroll-main {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.payroll-left {
  width: 50%;
}

.payroll-left h3 {
  padding: 20px 0px;
  font-size: 3rem !important;
}

.payroll-left h3 span {
  font-size: 3rem !important;
}

.payroll-left h2 {
  padding: 20px 0px;
}

.payroll-left p {
  padding: 20px 0px;
}

/* Button styling */

.pos-button-container {
  display: flex;
  gap: 30px;
  padding: 20px 0px;
}

.pos-button-left {
  background-color: #006aff;
  color: white;
  padding: 15px 20px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.5rem;
  position: relative;
}

.pos-button-left:hover {
  background-color: #0156cd;
}

.pos-button-left:hover .down-arrow {
  top: 15px;
}

.pos-button-right {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #006aff;
  font-size: 1rem;
}

.pos-button-right span {
  font-weight: bold !important;
}

.pos-button-right img {
  width: 10px;
  height: 10px;
}

.payroll-right {
  display: flex;
  justify-content: right;
  width: 45%;
  height: fit-content;
}

.payroll-right video {
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* Ensure Faster 2nd section */

.ensure-main {
  margin-bottom: 50px;
  padding: 30px 0px;
}

.ensure-main p {
  font-size: 3.5rem !important;
  line-height: 55px;
  font-weight: 600;
}

.ensure-span {
  font-size: 3.5rem !important;
  background-color: black;
  padding: 8px 15px;
  border-radius: 30px;
  color: white !important;
  font-weight: 600 !important;
}

/* Integrated 3rd section  */

.main-integrated {
  margin-bottom: 100px;
}

.integrated-container {
  width: 100%;
  box-sizing: border-box;
}

.integrated-row {
  margin-bottom: 30px;
}

.f-row-p {
  padding-top: 20px;
}

.integrated-row h2 {
  padding: 10px 0px;
}

.integrated-sec-row {
  display: flex;
  gap: 20px;
}

.integrated-column {
  width: 50%;
  height: 100%;
  box-sizing: border-box;
}

.integrated-column p {
  font-size: 1.5rem !important;
  padding: 30px 0px;
}

.integrated-link {
  color: #006aff !important;
}

.integrated-left-column {
  height: 250px;
  background-image: url("images/integrated-img.avif");
  background-size: cover;
  background-position: center;
  border-radius: 30px;
}

.integrated-right-column {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 30px;
}

.integrated-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  gap: 10px;
  font-size: 1.5rem !important;
}

.arrow-icon {
  width: 10px;
  height: 10px;
}

.integrated-card-row {
  display: flex;
  justify-content: space-between;
}

.integrated-card {
  width: 30%;
  padding: 28px;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid gainsboro;
}

.integrated-card-image {
  width: 20%;
  border-radius: 20px;
  margin-bottom: 10px;
}

.integrated-card p {
  font-size: 1.5rem !important;
  padding: 15px 0px;
}

/* Built 4th section  */

.built-container {
  background-color: black;
  color: white !important;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.built-heading {
  margin: 50px 0;
}

.built-heading h2 {
  color: white !important;
}

.built-content {
  display: flex;
  overflow: hidden;
}

.built-left {
  width: 60%;
}

.built-left img {
  width: 100%;
  height: auto;
}

.built-right {
  flex: 1;
  padding-left: 20px;
}

.built-item {
  position: relative;
  padding-left: 20px;
  /* Adjust padding to align text with border */
  margin-bottom: 0px;
  /* Remove margin to ensure borders are vertically aligned */
  transition: border-color 0.5s, color 0.5s;
  cursor: pointer;
}

.built-item.active::before {
  background-color: #006aff;
  /* Change border color when active */
  z-index: 2;
  /* Place the active border on top of the default border */
}

.built-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: gray;
  /* Default border color */
  transition: background-color 0.3s, height 0.3s;
}

.built-item.active::before {
  background-color: #006aff;
  /* Change border color when active */
  height: 100%;
  /* Change the border height */
}

.built-item h3 {
  color: white !important;
  display: flex;
  align-items: center;
}

.built-item h3 img {
  margin-left: 10px;
  height: 20px;
  width: 25px;
}

.built-item.active {
  border-left-color: #006aff !important;
}

.built-item.active h3 {
  color: #006aff !important;
}

.built-item p {
  color: white !important;
  padding: 25px 0px;
}

.built-item.active img {
  content: url("images/blue-right-arrow.webp") !important;
}

/* Hide scrollbar but still allow scrolling */

.built-right::-webkit-scrollbar {
  width: 0;
  /* Hide scrollbar for WebKit browsers */
  height: 0;
  /* Hide horizontal scrollbar if needed */
}

/* This css is for mobile section  */

/* Container for the built items */
.mobile-built-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* Adjust the spacing between rows as needed */
}

/* Style for each built item */
.mobile-built-item {
  padding: 1rem;
  border-radius: 8px;
  /* Adjust border radius as needed */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Style for the heading with arrow image */
.mobile-built-item h3 {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  /* Adjust font size as needed */
  color: #006aff !important;
  /* Adjust font color as needed */
  margin: 0px 0px 20px 0px;
}

/* Style for the paragraph */
.mobile-built-item p {
  margin: 0px 0px 20px 0px;
  color: #ffffff !important;
  /* Adjust font color as needed */
  font-size: 1rem;
  /* Adjust font size as needed */
}

/* Style for the arrow image */
.mobile-built-item img[src="images/blue-right-arrow.webp"] {
  margin-left: 1rem;
  width: 20px;
  /* Adjust size as needed */
  height: auto;
}

/* Additional style for the image below the paragraph */
.mobile-built-item img[src="images/blue-right-arrow.webp"] {
  margin-top: 0.5rem;
  width: 20px;
  /* Adjust size as needed */
  height: auto;
}

.mobile-built-img {
  width: 100%;
}

.built-footer {
  background-color: rgb(0, 0, 0);
}

.built-footer h2 {
  color: white !important;
  padding: 50px 0px;
}

.built-columns {
  display: flex;
  padding: 0px 0px 50px 0px;
  gap: 20px;
  width: 93%;
}

.built-column {
  height: 300px;
  border: 1px solid white;
  width: 50%;
  padding: 40px;
  border-radius: 15px;
  height: auto;
  margin-right: 50px;
  width: 100vw;
}

.built-column p {
  margin-bottom: 20px;
  line-height: 35px;
  font-size: 2.3rem !important;
  color: white !important;
}

.built-column .p-gr {
  color: rgb(189, 189, 189) !important;
  font-weight: normal !important;
  font-size: 1.5rem !important;
}

.slider-container {
  /* background-color: rgb(255, 0, 0); */
  width: 100vw;
  display: flex;
  justify-content: center;
  align-content: center;
  position: relative;
  overflow: hidden;
}

.slider {
  height: 50%;
  width: 100vw;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.slide {
  width: 100vw;
  display: flex;
  align-items: center;
  transition: all 1s ease;
}

.buttons {
  position: absolute;
  display: flex;
  gap: 20px;
  bottom: 25px;
}

.left-btn {
  height: 35px;
  width: 35px;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-btn {
  height: 35px;
  width: 35px;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-btn img {
  height: 15px;
  width: 15px;
}

.right-btn img {
  height: 15px;
  width: 15px;
}

/* every thing 5ht section  */

.main-everything {
  margin: 50px 0px;
}

.everything-container {
  padding: 100px 50px;
  background-color: black;
  border-radius: 20px;
}

.everything-row1 {
  display: flex;
  justify-content: space-between;
  padding-bottom: 100px;
}

.everything-left {
  width: 50%;
}

.everything-left h2 {
  color: white !important;
  font-size: 4rem !important;
  font-weight: 600;
  width: 90%;
}

.everything-right {
  width: 50%;
}

.everything-right p {
  color: white !important;
  padding-bottom: 20px;
  line-height: 30px;
}

.everything-right a {
  font-size: 2rem !important;
}

.everything-learn-more {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #006aff;
}

.everything-learn-more img {
  margin-left: 8px;
  height: 10px;
  width: 10px;
}

.everything-row2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 20px;
}

.everything-item {
  display: flex;
  align-items: center;
  border-radius: 25px;
  background-color: white;
  flex: 1 1 18%;
  box-sizing: border-box;
  margin: 0px 5px;
  padding: 5px 15px;
  cursor: pointer;
}

.everything-icon {
  margin-right: 20px;
}

.everything-item p {
  display: flex;
  align-items: center;
}

.yellow-word {
  color: #f6fcaa !important;
  font-size: 4rem !important;
}

/* Faqs 6th section  */

/* FAQS Section  */

.main-faq {
  margin: 100px 0px;
}

.faq-heading {
  padding-bottom: 20px;
  margin-top: 50px;
}

.faq-columns {
  display: flex;
  gap: 20px;
}

.faq-column {
  flex: 1;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  font-weight: 600;
}

.faq-question img {
  width: 15px;
  height: 15px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.faq-answer.open {
  max-height: 1000px;
  /* Temporary large value to trigger the transition */
  transition: max-height 0.3s ease-in;
}

.faq-answer p {
  line-height: 25px;
  font-size: 1.5rem !important;
}

.faq-item hr {
  margin: 20px 0px;
}

.faq-span {
  color: black !important;
  font-weight: lighter !important;
  font-size: 1.8rem !important;
}

@media (max-width: 1070px) {
  .fourth-main {
    width: 90%;
  }

  .faq-heading {
    width: 90%;
    margin: auto;
  }

  .faq-columns {
    width: 90%;
    margin: auto;
  }

  .faq-span {
    margin-top: 5px;
    /* Adds space above the border */
    border-bottom: 1px solid transparent;
    /* Default border for initial state */
  }
}

@media (max-width: 1024px) {
  .integrated-card-row {
    gap: 20px;
  }

  .integrated-card {
    width: 45%;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 4rem !important;
    font-weight: normal;
    color: black !important;
  }

  h2 {
    font-size: 4rem !important;
    font-weight: normal;
    color: black !important;
  }

  h3 {
    font-size: 2.5rem !important;
    font-weight: normal;
    color: black !important;
  }

  h4 {
    font-size: 2rem !important;
    font-weight: normal;
    color: black !important;
  }

  h5 {
    font-size: 1rem !important;
    font-weight: normal;
    color: black !important;
  }

  h6 {
    font-size: 0.5rem !important;
    font-weight: normal;
    color: black !important;
  }

  P {
    font-size: 1.5rem !important;
    color: rgb(0, 0, 0) !important;
  }

  span {
    color: #006aff !important;
    font-size: 1.5rem !important;
    font-weight: 550 !important;
  }

  /* Payroll Header  */

  .main-payroll {
    margin-top: 50px;
  }

  .payroll-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
    /* background-color: #006AFF; */
  }

  .payroll-left {
    width: 100%;
    text-align: left;
  }

  .payroll-right {
    width: 100%;
  }

  .payroll-right video {
    width: 100%;
  }

  .ensure-main p {
    font-size: 3rem !important;
    line-height: 50px;
    font-weight: 600;
  }

  .ensure-span {
    font-size: 3rem !important;
    color: white !important;
  }

  .integrated-row {
    margin-bottom: 20px;
  }

  .integrated-sec-row {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .integrated-column {
    width: 100%;
  }

  .integrated-left-column {
    background-size: cover;
  }

  .integrated-right-column {
    padding: 15px;
  }

  .integrated-card-row {
    flex-direction: column;
    align-items: center;
  }

  .integrated-card {
    width: 80%;
    padding: 15px;
  }

  .integrated-link {
    align-items: flex-start;
    gap: 10px;
  }

  .faq-columns {
    flex-direction: column;
    gap: 5px;
  }

  .remove-hr {
    display: none;
  }

  .faq-answer span {
    font-size: 1.5rem !important;
  }

  .built-columns {
    align-items: center;
    flex-direction: column;
    gap: 15px;
  }

  .built-column {
    width: 80vw;
    padding: 20px;
    margin-left: 30px;
  }

  .everything-container {
    padding: 50px;
  }

  .everything-row1 {
    padding-bottom: 100px;
    flex-direction: column;
  }

  .everything-left {
    width: auto;
  }

  .everything-right {
    width: auto;
  }

  .everything-left h2 {
    padding-bottom: 20px;
    width: auto;
  }

  .everything-row2 {
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    gap: 20px;
    width: max-content;
  }

  .everything-item {
    width: max-content;
  }

  .yellow-word {
    color: #f6fcaa !important;
    font-size: 4rem !important;
  }
}

@media (max-width: 768px) {
  .integrated-card {
    width: 100%;
  }
}

@media (max-width: 556px) {
  h1 {
    font-size: 3rem !important;
    font-weight: normal;
    color: black !important;
  }

  h2 {
    font-size: 3rem !important;
    font-weight: normal;
    color: black !important;
  }

  h3 {
    font-size: 2rem !important;
    font-weight: normal;
    color: black !important;
  }

  h4 {
    font-size: 2rem !important;
    font-weight: normal;
    color: black !important;
  }

  h5 {
    font-size: 1rem !important;
    font-weight: normal;
    color: black !important;
  }

  h6 {
    font-size: 0.5rem !important;
    font-weight: normal;
    color: black !important;
  }

  P {
    font-size: 1.5rem !important;
    color: rgb(0, 0, 0) !important;
  }

  span {
    color: #006aff !important;
    font-size: 1.2rem !important;
    font-weight: 550 !important;
  }

  .ensure-main p {
    font-size: 2.5rem !important;
    line-height: 40px;
    font-weight: 600;
    text-align: center;
  }

  .ensure-span {
    font-size: 2.5rem !important;
    color: white !important;
  }

  .faq-question img {
    width: 15px;
    height: 15px;
    margin-left: 10px;
  }

  .everything-container {
    padding: 20px;
  }

  .everything-row1 {
    padding-bottom: 50px;
  }

  .everything-left h2 {
    font-size: 3rem !important;
  }

  .yellow-word {
    color: #f6fcaa !important;
    font-size: 3rem !important;
  }

  .main-payroll {
    margin-top: 100px;
  }

  .integrated-link {
    display: flex;
    align-items: center;
  }

  .pos-button-right span {
    font-size: 1.5rem !important;
  }

  .built-column {
    padding: 10px;
  }

  .pos-button-container {
    flex-direction: column;
  }

  .pos-button-right {
    justify-content: center;
  }
}
