/* Banner section */
.banner-image {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.banner-image-inner-div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}
.banner-image-inner-div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.banner-text {
  position: absolute;
  color: black;
  font-size: 24px;
  text-align: left;
  z-index: 2;
  width: 80%;
}
.banner-text h1 {
  color: #61ce70; /* #7bbf33 */
  font-size: 100px;
  font-weight: 700;
}
.banner-text p {
  color: #ffffff;
  font-size: 48px;
  font-family: "Roboto", Sans-serif;
  font-weight: 300;
  line-height: 2;
}
.banner-image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.853);
  z-index: 1;
}
.learn-more {
  background-color: transparent;
  padding: 1rem 3rem;
  border-radius: 10px;
  color: white;
  border: 1px solid white;
  margin-top: 5rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}
.learn-more:hover {
  cursor: pointer;
  background-color: rgba(128, 128, 128, 0.266);
}

/* Services */
.services {
  padding-bottom: 1rem;
  background-color: #f5efe0;
}
.services h1 {
  font-size: 78px;
  font-weight: 700;
  color: black;
  text-align: center;
  padding: 3rem 0rem;
}
.services-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0rem 12rem;
}
.card {
  padding: 3rem;
  text-align: center;
  flex: 1 1 300px;
}
.card img {
  width: 50px;
  height: 50px;
  margin-bottom: 2.5rem;
}
.card h2 {
  font-size: 25px;
  font-weight: bold;
  margin: 1rem 0;
}
.card p {
  font-size: 20px;
  color: black;
  line-height: 1.5;
  font-weight: 300;
}

/* Asset */
.asset {
  display: flex;
  flex-wrap: wrap;
  padding: 6rem 12vw;
  gap: 30px;
  align-items: center;
}

.asset-left {
  flex: 1 1 400px;
  min-width: 300px;
}

.asset-left h1 {
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 700;
  color: black;
  padding: 1rem 0;
}

.asset-left p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: black;
  line-height: 1.5;
  font-weight: 300;
  padding: 1rem 0;
}

.asset-right {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.asset-right img {
  max-width: 100%;
  height: auto;
}

.learn-more-asset {
  background-color: transparent;
  padding: 1rem 2rem;
  border-radius: 10px;
  color: black;
  border: 2px solid black;
  font-size: 1rem;
  margin: 2rem 0;
  transition: background-color 0.3s ease;
}

.learn-more-asset:hover {
  cursor: pointer;
  background-color: rgba(128, 128, 128, 0.266);
}

/* Laptops and small screens (1024px and below) */
@media (max-width: 1024px) {
  /* Banner */
  .banner-text h1 {
    font-size: 70px;
  }
  .banner-text p {
    font-size: 36px;
  }

  /* Services */
  .services h1 {
    font-size: 60px;
  }
  .services-row {
    padding: 0rem 4rem;
  }

  /* Asset */
  .asset {
    padding: 3rem 4rem;
  }
  .asset-left h1 {
    font-size: 60px;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  /* Banner */
  .banner-text {
    width: 90%;
    text-align: center;
  }
  .banner-text h1 {
    font-size: 40px;
  }
  .banner-text p {
    font-size: 24px;
  }
  .learn-more {
    margin-top: 2rem;
  }

  /* Services */
  .services h1 {
    font-size: 40px;
    padding: 2rem 0;
  }
  .services-row {
    padding: 0rem 1rem;
    flex-direction: column;
  }
  .card {
    padding: 2rem 1rem;
  }

  /* Asset */
  .asset {
    padding: 4rem 4vw;
    gap: 20px;
  }

  .asset-left h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .asset-left p {
    font-size: 1.1rem;
    text-align: center;
  }

  .learn-more-asset {
    display: flex;
    margin: 1.5rem auto;
  }

  .asset-right {
    justify-content: center;
  }
}

/* Phones (480px and below) */
@media (max-width: 480px) {
  /* Banner */
  .banner-text h1 {
    font-size: 32px;
  }
  .banner-text p {
    font-size: 20px;
  }

  /* Services */
  .services h1 {
    font-size: 32px;
  }
  .card h2 {
    font-size: 22px;
  }
  .card p {
    font-size: 16px;
  }

  /* Asset */
  .asset-left h1 {
    font-size: 32px;
  }
  .asset-left p {
    font-size: 16px;
  }
}
