@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

body {
  font-family: "Roboto", sans-serif;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 163px 135px;
  background-image: url("../images/hero-bg-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Add a subtle overlay to ensure text readability if the background is busy */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0) 100%
  ); */
  z-index: 1;
}

.hero-content {
  max-width: 1182px;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-text-container {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 33px;
  align-items: flex-start;
  max-width: 591px;
  padding-right: 20px;
}

.hero-title {
  font-family: "Roboto", sans-serif;
  font-size: 62px;
  font-weight: 500;
  line-height: 1.2;
  color: #000000;
  text-transform: capitalize;
  margin: 0;
}

.hero-description {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  color: #000;
  margin: 0;
  max-width: 550px;
  text-transform: capitalize;
}

.hero-button {
  font-family: "Roboto", sans-serif;
  background-color: #274851;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 269px;
  height: 63px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 20px rgba(39, 72, 81, 0.15);
}

.hero-button:hover {
  background-color: #1e373d;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(39, 72, 81, 0.25);
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-container img {
  max-width: 100%;
  height: auto;
  min-height: 417px;
  object-fit: cover;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  /* animation: float 6s ease-in-out infinite; */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Responsive Styles */
@media (max-width: 1440px) {
  .hero-section {
    padding: 100px 20px;
  }

  .hero-title {
    font-size: 50px;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    padding: 60px 20px;
  }

  .hero-text-container {
    gap: 20px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-description {
    font-size: 20px;
  }

  .hero-button {
    padding: 14px 32px;
    font-size: 18px;
    width: 250px;
    height: 60px;
  }

  .hero-section::before {
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.6) 100%);
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 50px 20px;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-button {
    width: 100%;
    max-width: 269px;
  }

  .hero-text-container {
    gap: 20px;
    padding-right: 0;
    align-items: center;
  }

  .hero-title br,
  .hero-description br {
    display: none;
  }
}