
/* RESET AND BASICS */
html, body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  height: 100%;
  background-color: #f5f5f5;
  color: #333;
  overflow: hidden; /* Prevent scroll bars */
  box-sizing: border-box;
}


/* Mobile: allow scroll */
@media (max-width: 768px) {
  body {
    overflow-y: auto;     /* Allow vertical scroll */
    overflow-x: hidden;   /* Still prevent sideways scroll */
  }
}



/* HERO SECTION */
.hero {
  background-image: url('bg-desktop.png');
  background-size: cover;
  background-position: center;
  height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-repeat: no-repeat;
  padding: 1em;
}

.overlay {
  background: rgba(0, 0, 0, 0.3);
  padding: 2em;
  border-radius: 12px;
  max-width: 800px;
}

p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}


@media (max-width: 768px) {
  .hero {
    padding-top: 0px;
  }
}


@media (max-width: 768px) {
  .hero {
    background-image: url('bg-mobile.png'); /* your portrait image */
    height: 80vh;  /*Use full viewport height */
  }
}
