@import url("https://fonts.googleapis.com/css2?family=STIX+Two+Text:ital,wght@0,400..700;1,400..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #f8f8f8;
}

.about-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 100px;
}
.about-main {
  grid-column-gap: 80px;
  grid-row-gap: 20px;
  flex-flow: column;
  display: flex;
  justify-content: center;
  /* align-items: center; */
}
.about-content {
  display: flex;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-flow: column;
  justify-content: center;
  /* align-items: center; */
}
.about-content h2 {
  text-align: center;
  font-size: 40px;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  line-height: 120%;
  color: #181818;
  letter-spacing: -0.9px;
  text-transform: lowercase;
}
.about-content p {
  font-size: 48px;
  font-family: "STIX Two Text", serif;
  color: #181818;
  letter-spacing: -0.8px;
  line-height: 120%;
}
.about-itlaic {
  letter-spacing: 0.5px;
  font-weight: 300;
  color: black;
  font-family: "STIX Two Text", serif;
  font-style: italic;
}
.about-para p {
  font-size: 26px;
  font-family: "Manrope", sans-serif;
  color: #181818;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  line-height: 150%;
  font-weight: 400;
}
.about-para1 p {
  font-size: 26px;
  font-family: "Manrope", sans-serif;
  color: #181818;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  line-height: 150%;
  font-weight: 400;
}
.about-para3 p {
  text-align: start;
  font-size: 26px;
  font-family: "STIX Two Text", serif;
  color: #181818;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  line-height: 150%;
  font-weight: 400;
  font-style: italic;
}
.about-ul li {
  list-style-type: none;
  font-size: 22px;
  font-family: "Manrope", sans-serif;
  color: #181818;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  line-height: 150%;
  font-weight: 400;
}
.about-ul li::before {
  content: "-";
  padding-right: 10px;
}
.about-ul {
  padding: 0;
}

.about-help {
  margin-top: 50px;
}
.help-title h6 {
  font-family: "STIX Two Text", serif;
  color: #181818;
  font-size: 24px;
  font-style: italic;
}
.help-big-title h2 {
  font-family: "Manrope", sans-serif;
  font-size: 40px;
}

.about-para2 {
  margin-top: 50px;
}

.about-para2 p {
  font-size: 26px;
  font-family: "Manrope", sans-serif;
  color: #181818;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  line-height: 150%;
  font-weight: 400;
}
.about-para4 p {
  font-size: 26px;
  font-family: "Manrope", sans-serif;
  color: #181818;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  line-height: 150%;
  font-weight: 400;
}

.main-service {
  position: relative;
  padding-bottom: 100px;
}
.service-title {
  text-align: center;
}
.service-title h2 {
  font-size: 60px;
  font-family: "STIX Two Text", serif;
  color: #181818;
  letter-spacing: -0.9px;
  text-transform: lowercase;
  margin-top: 0;
  margin-bottom: auto;
  font-weight: 300;
  line-height: 120%;
}
.service-italic {
  font-style: italic;
  font-weight: 600;
}
.service-title p {
  font-family: "Manrope", sans-serif;
  font-size: 26px;
}
.service-content {
  border: 6px solid #fff;
  background-color: #f8f8f8;
  text-align: center;
  padding: 80px 60px;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  box-shadow: 0 10px 20px #fdfdfd33, 0 0 40px #0000000f;
}
.service-card {
  margin-top: 50px !important;
}

.service-para p {
  text-align: center;
  font-size: 26px;
  font-family: "Manrope", sans-serif;
  color: #181818;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  line-height: 150%;
  font-weight: 400;
}

.service-para {
  padding-top: 50px;
}

/* .service-cards {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-flow: row;
  display: flex;
  margin-top: 60px;
}

.card-main {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: static;
  inset: auto 0% 0%;
  overflow: visible;
}
.cards {
  border-radius: 8px;
  width: 260px;
  height: auto;
  position: relative;
}
.cards img{
  border-radius: 8px;
}
.card-content{
  padding: 10px 12px 14px;
  position: absolute;
  inset: auto 0% 0%;
}
.card-content h3{
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 600;

} */


.service-cards-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.service-cards {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-flow: row;
  display: flex;
  margin-top: 60px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.service-cards::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.card-main {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: static;
  inset: auto 0% 0%;
  overflow: visible;
  
  /* Animation for infinite scroll */
  animation: scroll 40s linear infinite;
  /* This will create double the content for seamless scrolling */
  width: calc(260px * 16 + 20px * 16);
}

.cards {
  border-radius: 8px;
  width: 260px;
  height: auto;
  position: relative;
  flex-shrink: 0;
}

.cards img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.card-content {
  padding: 10px 12px 14px;
  position: absolute;
  inset: auto 0% 0%;
}

.card-content h3 {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 600;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-260px * 8 - 20px * 8)); /* Half of the total width */
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .cards {
    width: 200px;
  }
  .service-cards{
    margin-top: 40px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-200px * 8 - 20px * 8));
    }
  }
}

@media (max-width: 480px) {
  .cards {
    width: 160px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-160px * 8 - 20px * 8));
    }
  }
}

/* Pause animation on hover */
.service-cards:hover .card-main {
  animation-play-state: paused;
}

@media screen and (max-width: 767px) {
  .about-content p,
  .about-para p,
  .about-para1 p,
  .service-para p {
    font-size: 21px;
  }
  .about-ul li {
    font-size: 21px;
  }
  .about-para4 p,
  .about-para2 p {
    text-align: start;
    font-size: 21px;
  }
  .service-title h2 {
    font-size: 32px;
  }
  .service-title p {
    font-size: 22px;
  }
  .about-section {
    padding: 100px 0;
  }
  .main-service {
    padding-bottom: 60px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .about-content p {
    font-size: 30px;
  }
  .service-title h2 {
    font-size: 40px;
  }
}
