/* Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Hero Section Styles */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff; /* Set default text color to white for better readability */
  height: 70vh; /* Set a smaller height for the hero section */
  max-height: 700px; /* Limit the maximum height */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0; /* Remove margin above and below */
  width: 100vw; /* Ensure the hero section takes full width of the viewport */
}

.hero .container {
  position: relative;
  width: 100%;
  max-width: 100%; /* Ensure the container takes full width of the viewport */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0; /* Ensure no padding around the container */
  margin: 0; /* Ensure no margin around the container */
}

.hero-content {
  text-align: center;
  max-width: 100%; /* Ensure full width on all screens */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better readability */
  padding: 20px;
  border-radius: 10px;
  z-index: 2; /* Ensure the content is above the image */
  margin: 0; /* Remove any additional margin */
}

.hero-content .welcome-box {
  background: none;
  text-align: center;
  width: 100%; /* Ensure the welcome box takes full width */
  max-width: 100%;
}

.hero-content .welcome-box h2 {
  font-size: 2.5rem; /* Adjust as needed */
  margin-bottom: 20px;
}

.hero-content .welcome-box p {
  font-size: 1.25rem; /* Adjust as needed */
  margin-bottom: 20px;
}

.hero .btn {
  margin-top: 10px;
  display: inline-block;
  background-color: #1caade;
  color: #fff;
  padding: 10px 20px;
  font-size: 1rem; /* Adjust as needed */
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero .btn:hover {
  background-color: #1caade;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Ensure the image is behind the content */
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%); /* Darken the image for better text contrast */
  border-bottom-left-radius: 20px; /* Curve the bottom left part of the image */
  border-bottom-right-radius: 20px; /* Curve the bottom right part of the image */
}

.icon1 {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin: 0 5px;
}

#myb {
  height: 70px;
  width: 70px;
  vertical-align: middle;
}

/* Media queries for responsiveness */
@media (max-width: 1200px) {
  .hero-content {
      margin: 0 auto;
      text-align: center;
  }
}

@media (max-width: 992px) {
  .hero {
      height: 60vh; /* Adjust the height for medium screens */
  }

  .hero .container {
      padding: 20px;
  }

  .hero-content {
      max-width: 90%; /* Increase max-width for medium screens */
  }

  .hero-content .welcome-box h2 {
      font-size: 1.5rem;
  }

  .hero-content .welcome-box p {
      font-size: 1rem;
  }

  .hero .btn {
      padding: 8px 16px;
      font-size: 14px;
  }

  #myb {
      height: 60px;
      width: 60px;
  }
}

@media (max-width: 900px) {
  .hero-content {
      max-width: 95%; /* Make the hero-content wider */
      padding: 20px; /* Add padding */
  }

  .hero-content .welcome-box h2 {
      font-size: 2rem; /* Adjust font size */
  }

  .hero-content .welcome-box p {
      font-size: 1.1rem; /* Adjust font size */
  }

  .hero .btn {
      padding: 8px 16px;
      font-size: 14px;
  }

  #myb {
      height: 60px;
      width: 60px;
  }
}

@media (max-width: 576px) {
  .hero {
      text-align: center;
      height: 60vh; /* Adjust the height for small screens */
      margin: 0; /* Remove margin above and below */
  }

  .hero .container {
      align-items: center;
      justify-content: center;
      padding: 0; /* Remove padding */
  }

  .hero-content {
      margin-top: 0; /* Remove top margin */
      text-align: center;
      max-width: 100%; /* Ensure full width on the smallest screens */
  }

  .hero-content .welcome-box h2 {
      font-size: 1.5rem; /* Smaller font size */
      margin-bottom: 10px; /* Reduce margin */
  }

  .hero-content .welcome-box p {
      font-size: 1rem; /* Smaller font size */
      margin-bottom: 10px; /* Reduce margin */
  }

  .icon1 {
      width: 15px; /* Smaller icons */
      height: 15px; /* Smaller icons */
  }

  .hero .btn {
      padding: 6px 12px;
      font-size: 12px;
  }

  #myb {
      height: 50px;
      width: 50px;
  }

  .hero-image {
      width: 100%;
  }

  .hero-image img {
      width: 100%; /* Ensure it stays within the container's width */
      height: 100vh; /* Adjust to cover full height */
      object-fit: cover; /* Ensure the image covers the full height without stretching */
  }
}

/* Prevent horizontal scrolling */
body {
  overflow-x: hidden;
}
