* {
  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: 4rem !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.8rem !important;
  font-weight: 550 !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;
}

.max-width {
  max-width: 85vw;
  margin: 0 auto;
}

.down-arrow {
  color: white !important;
  position: absolute;
  top: 7px;
  right: 5px;
  transition: all 0.5s ease;
  font-size: 1.5rem !important;
}

.bg-gray {
  background-color: #f2f2f2;
}

.capitalize-text {
  text-transform: capitalize;
}

/* Time care main header section  */

.main-timecare-header {
  margin: 130px 0px 50px 0px;
}

.time-care-header {
  display: flex;
}

.timecare-left {
  width: 50%;
  /* background-color: rebeccapurple; */
}

.timecare-left h2 {
  width: 90%;
  font-weight: lighter;
  padding-bottom: 30px;
  font-size: 5rem !important;
}

.timecare-left p {
  line-height: 30px;
  padding-bottom: 30px;
}

.timecare-right {
  width: 50%;
}

.timecare-right video {
  width: 100%;
}

/* Features  */

.features-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 50px 0px;
}

.features-text {
  margin-right: 20px;
  /* Space between text and image */
}

.lm {
  font-size: 2rem !important;
  display: flex;
  align-items: center;
  color: #006aff !important;
  text-decoration: none;
  /* Optional: Remove underline from link */
  padding: 20px 0px;
}

.lm img {
  height: 10px;
  width: 10px;
  margin-left: 8px;
  /* Adjust space between text and image */
}

/* Complete hrms  */

.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;
}

/* Button styling */

.timecare-button-container {
  display: flex;
  gap: 30px;
}

.timecare-button-left {
  background-color: #006aff;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.5rem;
  position: relative;
}

.timecare-button-left:hover {
  background-color: #0156cd;
}

.timecare-button-left:hover .down-arrow {
  top: 10px;
}

.timecare-button-right {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #006aff;
  font-size: 1rem;
}

.timecare-button-right span {
  font-weight: lighter !important;
}

.timecare-button-right img {
  width: 10px;
  height: 10px;
}

/* Text and image section  */

.main-textandimg {
  margin: 50px 0px;
  padding: 50px 0px;
  /* background-color: #0156cd; */
}

.text-img-section {
  display: flex;
  gap: 20px;
  /* background-color: cadetblue; */
}

.text-sec {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

.text-sec h2 {
  padding-bottom: 15px;
  text-align: left;
  /* Aligns the text to the left */
}

.text-sec p {
  font-size: 1.5rem !important;
  text-align: left;
  padding: 20px 0px;
}

.img-sec {
  width: 50%;
}

.img-sec img {
  width: 100%;
  height: auto;
}

.para-icon-text {
  display: flex;
  align-items: center;
  text-align: left;
}

.para-icon {
  padding-right: 20px;
}

/* slider  */

.full-width-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #00403f;
  position: relative;
  overflow: hidden;
  padding: 100px 0px;
  margin: 50px 0px;
}

.slider-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 100%;
}

.innerslide {
  width: 80%;
  text-align: center;
}

.inner-slide-text {
  color: #f6fcaa !important;
}

.circle-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  display: none;
  height: 15px;
  width: 15px;
}

.circle-button img {
  height: 15px;
  width: 15px;
}

.left-button {
  left: 20px;
}

.right-button {
  right: 20px;
}

/* 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-answer span {
  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: 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;
  }

  .time-care-header {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .timecare-left h2 {
    width: auto;
  }

  .timecare-left,
  .timecare-right {
    width: auto;
  }

  .main-textandimg {
    margin: 0px;
  }

  .text-img-section {
    flex-direction: column;
    gap: 50px;
  }

  .text-sec,
  .img-sec {
    width: auto;
  }

  .sec-reverse {
    flex-direction: column-reverse;
  }

  .sec-not-reverse {
    flex-direction: column;
  }

  .inner-slide-text {
    color: #f6fcaa !important;
  }

  .circle-button {
    position: relative;
    top: 15px;
    transform: translateY(0);
    display: inline-block;
    margin: 10px;
  }

  .innerslide {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .innerslide h4 + .circle-button {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .left-button {
    left: 0;
    order: 1;
  }

  .right-button {
    right: -50px;
    top: -30px;
    order: 2;
  }

  .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;
  }

  .faq-columns {
    flex-direction: column;
    gap: 5px;
  }

  .remove-hr {
    display: none;
  }

  .faq-answer span {
    font-size: 1.5rem !important;
  }

  .first-column-resverse {
    flex-direction: column-reverse;
  }

  .yellow-word {
    font-size: 4rem !important;
  }

  .features-image {
    height: auto;
  }
}

@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.5rem !important;
    font-weight: 550 !important;
  }

  .inner-slide-text {
    color: #f6fcaa !important;
  }

  .everything-container {
    padding: 20px;
  }

  .everything-row1 {
    padding-bottom: 50px;
  }

  .everything-left h2 {
    font-size: 2.5rem !important;
  }

  .yellow-word {
    font-size: 2.5rem !important;
  }

  .features-image {
    height: auto;
    width: 30px;
    margin-bottom: -5px;
  }

  .timecare-left h2 {
    font-weight: 600 !important;
    font-size: 3rem !important;
  }

  .timecare-button-right span {
    font-weight: 600 !important;
  }

  .timecare-button-left {
    width: 100%;
  }

  .timecare-button-container {
    flex-direction: column;
    align-items: center;
  }
}
