.hero {
  background-image: url("../images/firstview.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero h2 {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  max-width: 90%;
}
.hero p {
  position: relative;
  z-index: 2;
  font-size: 1.3rem;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .hero {
    min-height: 60vh;
  }
  .hero h2 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
    max-width: 90%;
  }
}
/* Featured Projects Section specific styles */
.featured-projects {
  padding: 2rem 0;
  text-align: center;
}
.featured-projects h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Latest News Section specific styles */
.latest-news {
  padding: 2rem 0;
  width: 80%;
  margin: 1rem auto;
}
.latest-news h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.latest-news ul {
  list-style: none;
  padding: 0;
}
.latest-news li {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.latest-news li time {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.25rem;
}
.latest-news li a {
  text-decoration: none;
  color: #337ab7;
  font-weight: bold;
  font-size: 1.1rem;
}
.latest-news li a:hover {
  text-decoration: underline;
}
