@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@100..900&family=Dela+Gothic+One&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Oswald:wght@200..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@100..900&family=Dela+Gothic+One&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


.hero-text {
  margin-left: 170px;
  width: 80%;
  font-style: normal;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.2em;
}

/* Large screens (desktops) */
@media (min-width: 1200px) {
  .hero-text {
    font-size: 60px; /* Keep large font size for large screens */
    margin-left: 170px; /* Keep original margin */
    width: 80%;
  }
}

/* Medium screens (tablets) */
@media (max-width: 1199px) and (min-width: 768px) {
  .hero-text {
    font-size: 45px; /* Slightly smaller font size */
    margin-left: 100px; /* Reduce margin */
    width: 85%;
  }
}

/* Small screens (phones) */
@media (max-width: 767px) {
  .hero-text {
    font-size: 35px; /* Further reduce font size */
    margin-left: 50px; /* Minimal margin for smaller screens */
    width: 90%;
  }
}

/* Extra small screens (small phones) */
@media (max-width: 480px) {
  .hero-text {
    font-size: 38px; /* Smaller font size */
    margin-left: 40px; /* Minimal margin */
    width: 80%;
  }
}

.hero-wrapper {
  position: relative; /* Required for the positioning of the pseudo-element */
  background: url('/images/leaf-bg.webp') no-repeat center;
  background-size: cover;
  padding-top: 100px; /* Adjust based on header height */
  min-height: 100vh; /* Ensure it covers the full viewport height */
  z-index: 1;
  animation: subtleMoveBackground 10s infinite ease-in-out; /* Add animation */
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.753); /* White tint with opacity */
  z-index: -1; /* Above the background but below other content */
  pointer-events: none; /* Ensures the tint does not interfere with clicks */
}


@keyframes subtleMoveBackground {
  0% {
    background-position: center -60px;
  }
  50% {
    background-position: center -20px;
  }
  100% {
    background-position: center -60px;
  }
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding-top: 30px;
  overflow: hidden; /* Hide overflow to ensure the image stays within bounds */
}

.hero-image {
  position: relative;
  width: 80%; /* Image takes 80% of the screen width */
  height: 100%;
  background-image: url('/images/image\ 1.webp'); /* Replace with your image path */
  background-size: 150% auto; /* Expand the image to 150% of the container width */
  background-position: center center; /* Start with the image centered */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Optional: Adds a subtle shadow around the image */
  animation: slideBackground 10s infinite alternate ease-in-out; /* Apply the sliding animation */
}

@keyframes slideBackground {
  0% {
    background-position: 0% center; /* Start with the image slightly shifted to the left */
  }
  100% {
    background-position: 10% center; /* Move the image to the right */
  }
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0, 0);
  color: white;
  text-align: left;
  padding: 20px;
  z-index: 0;
  max-width: 40%; /* Adjust this value to control how much of the image's width the text occupies */
}


.hero h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 300;
  padding-top: 40px;
  padding-left: 40px;
}

.hero-content .line {
  height: 0.5px;
  background-color: #ffffff; /* Change the color to match your design */
  margin: 20px 40px; /* Adjust the spacing around the line */
  width: 90%; /* Adjust the width of the line */
}


.hero p {
  font-size: 1em;
  margin-bottom: 30px;
  color: #ffffff;
  padding-left: 40px;
  font-family: "IBM Plex Sans", sans-serif;
}

.hero-content strong{
  font-family: 'Inter', sans-serif;
}

@media screen and (max-width: 768px) {

  .hero-content{
    padding: 0;
    max-width: 100%;
  }

  .hero h1 {
      font-size: 2.5em;
      padding-left: 15px;
  }

  .hero p {
      font-size: 1em;
      padding-left: 15px;
  }

}

@media screen and (max-width: 480px) {

  .hero-image{
    background-size: 250% 100%;
  }

  .hero h1 {
      font-size: 1.9em;
  }

  .hero-content .line {
      margin: 20px 15px;
  }

  .hero p {
      font-size: 1em;
      line-height: 1.5;
  }
}

/*companies*/

.trusted-companies {
  display: flex;
  align-items: center;
  padding: 20px;
  font-size: 1.25rem;
  font-weight: bold;
  position: relative;
  background-color: white;
  padding-left: 80px;
  padding-right: 80px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.trusted-companies span {
  margin-right: 20px;
  white-space: nowrap;
  z-index: 2; /* To ensure text remains visible over the gradient */
}

.logo-carousel {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.logo-carousel-track {
  display: flex;
  animation: scroll 15s linear infinite;
}

.logo-carousel img {
  height: 60px;
  margin-right: 40px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Adding the fog effect */
.logo-carousel::before, .logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px; /* Adjust width as needed */
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .trusted-companies {
      font-size: 1rem;
      flex-direction: column;
      align-items: flex-start;
  }

  .trusted-companies span {
      margin-bottom: 10px;
  }

  .logo-carousel img {
      margin-right: 20px;
      height: 30px;
  }
}

.bottom-blur {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Adjust the height as needed */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); /* For Safari support */
  mask:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%) add;
  pointer-events: none; /* Ensure the blur doesn’t interfere with interactions */
  z-index: 9999; /* Keep it on top of other elements */
}