.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: calc(100vh - 5.6em); /* Subtracts 5.6em from the viewport height */
}

.hero-section img {
  width: 100vw; /* Ensures the image is as wide as the viewport */
  height: calc(100vh - 5.6em); /* Subtracts 5.6em from the viewport height */
  display: block;
  object-fit: cover; /* Ensures the image covers the area without distorting aspect ratio */
}


.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  text-align: left;
  width: 50%;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

.hero-text p {
  font-size: 3em;
  margin: 0;
  padding: 0.2em 0;
  line-height: 1.1;
  color: white;
}

.learn-more-btn {
  display: flex;
  align-items: center;
  background-color: #ffb827;
  padding: 1em 2em;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
  border-radius: 2em;
  border: none;
  cursor: pointer;
  margin-top: 1em;
}

.learn-more-btn:hover {
  color: #FFB827;
  background: #242525;
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.button-outline.yellow {
  position: relative;
  padding-right: 1.25em;
}

.fa-external-link-alt {
  margin-left: 0.375em;
  vertical-align: middle;
}

.white {
  padding: 5em 0;
}



.green {
  background-color: #d4ddc2;
  height: auto;
}

.tool-header {
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 120%;
  text-align: center;
  padding: 1.5em 0 1em 0;
  color: #242525;
}

.tool-section {
  display: flex;
  justify-content: center;
  padding: 2.5em 0; /* Padding around each section */
}


.tool-container {
  display: flex;
  justify-content: space-between;
  width: 70vw;
  max-width: 75em;
}

.tool-text {
  width: 47.5%;
  position: relative;
}

.tool-text h3 {
  font-size: 1.5em;
  font-weight: bold;
}

.tool-text p {
  font-size: 1em;
  font-weight: 400;
  line-height: 1.6;
  color: #242525;
  margin-bottom: 1.25em;
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.tool-image {
  width: 47.5%;
  height: auto;
  display: flex;
  justify-content: space-between;
  max-width: 47.5%;
}

.tool-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}


/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Styling placeholder font for email inputs*/
::-webkit-input-placeholder {
  /* Chrome/Opera/Safari/ */
  font-family: "Poppins", sans-serif;
}

::-moz-placeholder {
  /* Firefox 19+ */
  font-family: "Poppins", sans-serif;
}

:-ms-input-placeholder {
  /* IE 10+ */
  font-family: "Poppins", sans-serif;
}

:-moz-placeholder {
  /* Firefox 18- */
  font-family: "Poppins", sans-serif;
}


.mobile{
  display: none;
}


/* Media query for tablets */
@media (width <= 1000px) {

}

@media (width <= 750px) {
  .hero-section img {
    height: calc(100vh - 2.8125em); /* Subtracts 5.6em from the viewport height */
  }
  .hero-section {
    height: calc(100vh - 2.8125em); /* Subtracts 5.6em from the viewport height */
  }
}

@media (width <= 600px) {
  .mobile{
    display: flex;
  }
  .web{
    display: none;
  }
  .tool-container {
    display: inline;
  }
  .tool-text {
    width: 100%;
    margin-top: 0%;
  }
  .tool-text.mobile{
    display: inline;
  }
  .tool-image {
    width: 100%;
    height: auto;
    margin-top: 5%;
    margin-bottom: 5%;
    max-width: none;
  }
  .tool-header {
    padding: 1.5em 0 1em 0;
  }
  .hero-text p {
    font-size: 1.5em;
    margin: 0;
    padding: 0.2em 0;
    line-height: 1.1;
  }
  .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-90%, -50%);
    font-size: 1em;
  }


  .tool-text p {
    margin-bottom: 0 em;
  }
  .tool-section {
    padding: 1em; /* Padding around each section */
  }
  .tool-container {
    width: 90%;
  }
}

/* Media query for mobile devices */
@media (width <=  480px) {
  .tool-container {
    display: inline;
  }
  .tool-text {
    width: 100%;
  }
  .tool-image {
    width: 100%;
    height: auto;
    max-width: none;
  }
  
  .hero-text p {
    font-size: 1.2em;
    margin: 0;
    padding: 0.2em 0;
    line-height: 1.1;
  }
  .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-90%, -50%);
    font-size: 1em;
  }
}