body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

.hero {
  background-image: url('img/SmartseatsPh_Landing_Page_BG.jpg'); /* Replace with actual image path */
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: #2b1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  position: absolute;
  top: 470px;
  left: 80px;
  transform: translateY(-50%);
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  letter-spacing: 0;
  word-spacing: 0;
  max-width: 1500px;

}
.logo {
  position: absolute;
  top: 30px;
  left: 110px;
  font-size: 24px;
  font-weight: bold;
}
.logo img {
  vertical-align: middle;
  margin-right: 200px;
}

h1 {
  font-size: 5.5rem;
  color: #502c2c;
  margin-bottom: 10px;
}

h1 span {
  color: #502c2c;
}

p {
  font-size: 1rem;
  letter-spacing: 0;
  word-spacing: 0;
  margin-bottom: 0px;
}

.cards {
  position: absolute;
  left: 80;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 30px;
}

.card {
  background-color: #9b6b3e;
  color: white;
  padding: 20px;
  margin: 10px;
  border-radius: 10px;
  width: 250px;
  text-align: left;
}

ul {
  position: absolute;
  top: 30px;
  left: 70%;
  transform: translate(-50%, -50%);
  display: flex;
  li {
    list-style: none;
    a {
      position: relative;
      display: block;
      margin: 20px 0;
      padding: 10px 20px;
      text-decoration: none;
      color: #502c2c;
      font-family: sans-serif;
      font-size: 18px;
      font-weight: 600;
      transition: .5s;
      z-index: 1;
      &:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-top: 2px solid #502c2c;
        border-bottom: 2px solid #502c2c;
        transform: scaleY(2);
        opacity: 0;
        transition: .3s;
      }
      &:after {
        content: '';
        position: absolute;
        top: 2px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #502c2c;
        transform: scale(0);
        opacity: 0;
        transition: .3s;
        z-index: -1;
      }
      &:hover {
        color: #fff;
        &:before {
          transform: scaleY(1);
          opacity: 1;
        }
        &:after {
          transform: scaleY(1);
          opacity: 1;
        }
      }
    }
  }
}

.card a {
  color: #fff;
  text-decoration: underline;
}

footer {
  margin-top: 450px;
  font-size: 1.5rem;
}

footer a {
  color: white;
  text-decoration: none;
  
}
