* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  color: white;
  font-weight: 300;
}

.hero {
  background: url('nb_advisory_bg_small.jpg') no-repeat center center/cover;
  height: 100vh;
  width: 100%;
  position: relative;
}

.overlay {
  position: relative;
  background: rgba(0, 0, 0, 0.4); /* Optional: keeps some contrast */
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 5rem;
  padding-right: 2rem;
  z-index: 1;
}

.overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.20); /* soft white fog */
  z-index: -1;
}


.logo {
  width: 120px;
  margin-bottom: 8rem; /* spacing between logo and text */
  opacity: 0.8;
}

.content {
  max-width: 85%;
}

.main-text {
  font-size: 2.5rem;
  line-height: 1.5;
  margin-bottom: 1rem;
   opacity: 0.9;
}
.connect-btn {
	margin-top:1rem;
	display: inline-block;
	background: url('button-bg-w-nb.png')no-repeat center center;
	background-size: contain; 
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
	max-width: 300px;
	aspect-ratio: 518 / 118;
	opacity:0.8;
}

.connect-btn:hover {
	background: url('button-bg-hover-w-nb.png') no-repeat center center;
	background-size: contain; 
	color: transparent; /* Fully transparent text */        
}



/* Responsive (Mobile) */
@media (max-width: 768px) {
  .overlay {
    padding-left: 2rem;
	padding-top: 2rem;
    align-items: flex-start; /* was center */
    text-align: left;        /* was center */
	justify-content: start;
  }

  .logo {
    width: 90px;
    margin-bottom: 6rem;
  }

  .main-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .content {
  max-width: 95%;
}

  .connect-btn {
	margin-top:1rem;	
	max-width: 150px;
	}
}

