:root {
  --primary-color: #ff6b00;
  --secondary-color: #002b45;
  --background-color: #005E2F;
  --not-white:#f7f7f7;
  --font-color: #333;
  --font-family: 'Arial', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--background-color);
  color: var(--font-color);
}

header {
  background: url('header.png') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

header::before {
  /* Dark overlay to make text stand out */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

header > * {
  position: relative;
  z-index: 2;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  header {
    padding: 60px 15px;
    background-attachment: scroll; /* Fixed attachment can be buggy on mobile */
  }
}

.content{
  margin: 20px;
}

.container {
  max-width: 800px;
  margin: auto;
  text-align: center;
    background: var(--not-white);
}

.logo {
  max-width: 400px;
  margin-bottom: 1rem;
}

h1 {
  color: var(--secondary-color);
  font-size: clamp(2rem, 5vw, 3rem);
}

.tagline {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: bold;
}

.mission {
  font-size: clamp(0.9rem, 2.5vw, 0.9rem);
  margin-bottom: 2rem;
  line-height: 1.5;
  font-weight: bold;
}

.detail {
  font-size: clamp(0.75rem, 2.5vw, 0.75rem);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.footer {
  font-size: clamp(0.8rem, 2.5vw, 0.8rem);
  margin-top: 2rem;
  padding-bottom: 1rem;
  line-height: 1.5;
}



.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  
}

.signup-form input,
.signup-form button {
  padding: 0.75rem;
  font-size: 1rem;
  border: 2px solid var(--secondary-color);
  border-radius: 5px;
}

.signup-form button {
  background: var(--primary-color);
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.signup-form button:hover {
  background: #e65c00;
}

.success-message {
  margin-top: 1.5rem;
  color: green;
  font-weight: bold;
}

/* Tablet & Desktop Layout */
@media (min-width: 600px) {
  .signup-form {
    flex-direction: row;
    justify-content: center;
  }

  .signup-form input {
    flex: 1;
    min-width: 200px;
  }

  .signup-form button {
    flex: none;
  }
}
