* {
  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: 4rem !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;
  line-height: 25px;
  color: rgb(0, 0, 0) !important;
}

span {
  color: #006aff !important;
  font-size: 1.5rem !important;
  font-weight: 550 !important;
}

.down-arrow {
  color: white !important;
  position: absolute;
  top: 10px;
  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;
}

.capitalize-text {
  text-transform: capitalize;
}

.margin-tb {
  margin: 100px 0px;
}

.gray-bg {
  background-color: #f2f2f2 !important;
}

.max-width {
  max-width: 85vw;
  margin: auto;
}

/* Section 1 */

.first-sec {
  background-color: black;
}

.educare-accounts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 100px 0px;
}

.educare-left {
  width: 50%;
}

.educare-left h3 {
  padding: 20px 0px;
  font-size: 3rem !important;
  color: white !important;
}

.educare-left h3 span {
  font-size: 3rem !important;
}

.educare-left h2 {
  padding: 20px 0px;
  color: white !important;
  width: 90%;
}

/* Button styling */

.educare-button-container {
  display: flex;
  gap: 30px;
  padding: 20px 0px;
}

.educare-button-left {
  background-color: #006aff;
  color: white;
  padding: 15px 25px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.5rem;
  position: relative;
}

.educare-button-left:hover {
  background-color: #0156cd;
}

.educare-button-left:hover .down-arrow {
  top: 15px;
}

.educare-button-right {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #006aff;
  font-size: 1rem;
  border: 1px solid #006aff;
  border-radius: 5px;
  padding: 15px 15px;
}

.educare-button-right:hover {
  box-shadow: 0 0 5px 1px rgba(0, 123, 255, 0.7);
}

.educare-button-right span {
  font-weight: bold !important;
}

.educare-button-right img {
  width: 10px;
  height: 10px;
}

.educare-right {
  width: 50%;
  height: 500px;
  border-radius: 20px;
  /* background-color: cadetblue; */
}

.educare-img {
  height: 100%;
  width: 100%;
  background-image: url("images/educare-first-sec-img.avif");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border-radius: 20px;
}

/* sec section */

.sec-container > h3 {
  font-size: 3rem !important;
}

.info-span {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  /* Space between the span and heading */
}

.info-text {
  margin: 0;
}

h3 {
  font-size: 18px;
  /* Adjust size as needed */
}

.capsule-divs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  /* Allow wrapping for responsiveness */
  gap: 10px;
  /* Space between capsules */
  margin: 50px 0px;
}

.capsule-div {
  display: flex;
  align-items: center;
  color: white;
  border-radius: 25px;
  padding: 10px 20px;
  flex: 1;
  /* Distributes space evenly */
  min-width: 150px;
  /* Minimum width for responsiveness */
  cursor: pointer;
  border: 1px solid gainsboro;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
}

.capsule-div {
  display: flex;
  align-items: center;
  color: white;
  border-radius: 25px;
  padding: 10px 20px;
  flex: 1;
  /* Distributes space evenly */
  min-width: 150px;
  /* Minimum width for responsiveness */
  cursor: pointer;
  border: 1px solid gainsboro;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
}

.capsule-div::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #006aff;
  transition: left 0.3s;
  z-index: 0;
}

.capsule-div:hover::before {
  animation: slideIn 0.3s forwards;
}

.capsule-div:not(:hover)::before {
  animation: slideOut 0.3s forwards;
}

.capsule-div:hover .capsule-text {
  color: white !important;
}

.capsule-icon {
  transition: filter 0.3s ease;
}

.capsule-div:hover .capsule-icon {
  filter: invert(1) brightness(1);
}

.capsule-div > * {
  position: relative;
  z-index: 1;
}

/* Keyframes for sliding the background color in and out */
@keyframes slideIn {
  from {
    left: -100%;
  }

  to {
    left: 0;
  }
}

@keyframes slideOut {
  from {
    left: 0;
  }

  to {
    left: 100%;
  }
}

.capsule-text {
  margin-right: 10px;
  /* Spacing between text and image */
  flex: 1;
  /* Ensures the text takes up available space */
}

.capsule-icon {
  width: 24px;
  /* Adjust size as needed */
  height: auto;
}

/* Detailed text img sec  */

.main-detailed {
  /* background-color: #bc2253; */
  display: flex;
  flex-direction: column;
  padding: 50px 0px;
}

.detailed-sec-heading {
  width: 100%;
  /* background-color: chocolate; */
  margin-bottom: 50px;
}

.main-detailed-left-right {
  display: flex;
  justify-content: space-between;
}

.detailed-right-img-sec {
  /* background-color: #EDFF80; */
  display: flex;
  justify-content: right;
}

.detailed-right-img {
  height: 500px;
  width: 100%;
}

.detailed-right-img-sec img {
  transition: opacity 0.5s ease;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

.detailed-text-sec {
  width: 40%;
  /* background-color: #006AFF; */
}

.row {
  /* background-color: #EDFF80; */
  border-bottom: 1px solid rgb(184, 184, 184);
  /* margin: 30px 0px; */
}

.detailed-title-and-img {
  display: flex;
  justify-content: space-between;
  /* background-color: chartreuse; */
  cursor: pointer;
  padding: 25px 0px;
}

.detailed-title-and-img h4 {
  font-weight: 550 !important;
}

.plus-minus-img img {
  height: 15px;
  width: 15px;
}

.detailed-text {
  padding: 10px 0px;
}

.detailed-text p {
  max-height: 0px;
  overflow: hidden;
}


/* capsule slider  */

.up-slider,
.down-slider {
  height: 20vh;
  width: 100vw;
  display: flex;
  margin: 20px 0px;
  padding: 20px 0px;
  gap: 20px;
  position: relative;
}

.inner-slide {
  display: flex;
  gap: 50px;
  overflow: visible;
  padding: 10px 0px;
}

.inner-slide-up {
  animation: scroll 50s linear infinite;
}

.inner-slide-down {
  animation: scroll 50s linear infinite reverse;
}

/* Define keyframe animations for up-slider and down-slider */

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.bg-white,
.bg-black {
  padding: 10px 10px;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 200px;
  gap: 20px;
  min-width: 400px;
}

.bg-white {
  background-color: white;
  border: 3px solid rgb(0, 0, 0);
}

.bg-black {
  background-color: black;
}

.text-white {
  color: white !important;
  font-size: 3rem !important;
  font-weight: bold;
}

.text-black {
  font-size: 3rem !important;
  font-weight: bold;
}

/* card slider  */

.card-slider-heading {
  margin-bottom: 50px;
}

.card-right-text {
  text-align: center;
  padding-bottom: 10px;
  line-height: 30px;
}

.main-card-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-card-slider {
  width: 100vw;
  overflow: visible;
}

.card-slider {
  display: flex;
  justify-content: center;
  gap: 20px;
  /* Adds space between sliders, revealing part of the next/previous card */
  transition: transform 0.5s ease-in-out;
  /* background-color: #62ff00; */
  width: 85%;
  margin: auto;
  position: relative;
  overflow: visible;
  gap: 50px;
}

.slider {
  display: flex;
  min-width: 100%;
  align-items: stretch;
  /* Ensure both sections stretch to the same height */
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-left: -10px;
  margin-right: -10px;
}

.card-left {
  max-width: 352.5px;
  border-radius: 20px 0 0 20px;
  min-width: 352.5px;
  display: flex;
  align-items: stretch;
  /* Align content within the left section to stretch */
}

.card-left img {
  width: 100%;
  height: 100%;
  /* Make the image fill the height of the .card-left section */
  border-radius: 20px 0 0 20px;
}

.card-right {
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #edff80;
  height: 100%;
  border-radius: 0 20px 20px 0;
}

.slider-controls {
  position: absolute;
  /* top: 50%; */
  width: 95%;
  display: flex;
  /* background-color: #0156cd; */
  pointer-events: none;
  justify-content: space-between;
}

.circle-btn {
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  border: 1px solid black;
}

.left-btn {
  left: 25px;
  /* transform: translateX(25px); */
}

.right-btn {
  right: 25px;
  /* transform: translateX(-25px); */
}

.circle-btn img {
  width: 15px;
  height: 15px;
}

/* HRMS integrate  */

.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-weight: 600;
  width: 90%;
}

.everything-right {
  width: 50%;
}

.everything-right p {
  color: white !important;
  padding-bottom: 20px;
  line-height: 30px;
  font-size: 1.8rem !important;
}

.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%;
  width: 260px;
  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: 5rem !important;
}

/* 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: 1300px) {
  .detailed-right-img {
    height: 400px;
    width: 95%;
  }
}

@media (max-width: 1070px) {
  .fourth-main {
    width: 90%;
  }

  .faq-span {
    margin-top: 5px;
    border-bottom: 1px solid transparent;
  }
}

@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: 3.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;
  }

  /* 1st section  */

  .educare-accounts {
    flex-direction: column;
    gap: 50px;
  }

  .educare-left,
  .educare-right {
    width: 100%;
  }

  .educare-left h2 {
    width: 100%;
  }

  .educare-img {
    background-position: top;
  }

  .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;
    justify-content: center;
    gap: 20px;
    width: max-content;
  }

  .everything-item {
    width: max-content;
  }

  .yellow-word {
    color: #f6fcaa !important;
    font-size: 4rem !important;
  }

  .faq-columns {
    flex-direction: column;
    gap: 5px;
  }

  .remove-hr {
    display: none;
  }

  .faq-answer span {
    font-size: 1.5rem !important;
  }

  .card-right-text {
    font-size: 1.5rem !important;
  }

  .detailed-right-img-sec {
    display: none;
  }

  .detailed-sec-below-para-img {
    margin: 20px 0px;
    width: 100%;
  }

  .detailed-text-sec {
    width: 100%;
  }

  .capsule-divs {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .card-left {
    max-width: 200px;
    min-width: 200px;
  }

  .down-slider,
  .up-slider {
    zoom: 0.5;
  }
}

@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: 2.5rem !important;
    font-weight: normal;
    color: black !important;
    line-height: 35px;
  }

  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;
  }

  /* 1st section  */

  .educare-accounts {
    padding: 50px 0px 00px 0px;
    gap: 0px;
  }

  .educare-button-container {
    flex-direction: column;
  }

  .educare-button-right {
    justify-content: center;
  }

  .educare-right {
    height: 400px;
  }

  .educare-img {
    background-position: center;
  }

  .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;
  }

  .faq-question img {
    width: 15px;
    height: 15px;
    margin-left: 10px;
  }

  .detailed-sec-below-para-img {
    height: auto;
    width: -webkit-fill-available;
  }

  .slider {
    flex-direction: column;
    margin: 0;
  }

  .card-slider {
    width: 100%;
    gap: 10px;
  }

  .card-left {
    /* width: auto; */
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    max-width: 500px;
    min-width: 200px;
  }

  .card-left img {
    border-radius: 0;
  }

  .card-right {
    width: auto;
    padding: 0 10px;
    border-radius: 0;
  }

  .right-btn,
  .left-btn {
    transform: translateX(0);
  }

  .main-card-slider {
    overflow: visible;
  }

  .slider-controls {
    position: absolute;
    top: 105%;
    justify-content: flex-start;
    width: 95%;
    display: flex;
    /* background-color: #0156cd; */
    pointer-events: none;
    gap: 20px;
  }

  .inner-card-slider {
    width: 90vw;
  }
}
