/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Hero section */
.hero {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/tykes-in-property-01.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}




.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 2rem;
}


/* Button */
.hero-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #5aa7f7;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
  font-size: 1rem;
}



.hero-btn:hover {
  background: #5aa7f7;
}

.hero-heading {
  display: flex;
  flex-direction: column;   /* stack logo above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero-heading-img {
  height: 150px;
  width: auto;
}

/* Smaller screens */
@media (max-width: 600px) {
  .hero-heading-img {
    height: 55px;
  }
}

/* Fixed hero background */
.hero {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
 
}

/* Content section that scrolls over hero */
.content {
  position: relative;
font-size: 1.2rem;
  background: #fefff8;
  color: #333;
  padding: 4rem 2rem;
  min-height: 100vh;
  
    display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
  
}

.content h2,
.content p {
  max-width: 80%;
}



html {
  scroll-behavior: smooth;
}


#signup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 400px;
  margin: 2rem auto;
}

#signup-form input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

#signup-form button {
  padding: 0.75rem 2rem;
  background: #5aa7f7;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
  font-size: 1rem;
}

#signup-form button:hover {
  background: #e65f00;
}

#form-message {
  margin-top: 1rem;
  font-weight: bold;
  text-align: center;
}

.footer {
  background: #5aa7f7;
  color: #fff;
  text-align: center;
  padding: 3rem 2rem 2rem; /* less top padding since logo overlaps */
  position: relative;
}

.footer-logo {
  position: absolute;
  top: -40px; /* half of the logo height */
  left: 50%;
  transform: translateX(-50%);
}

.footer-logo img {
  height: 80px; /* adjust as needed */
  width: auto;
}

