/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Body */
body {
  background-color: #f6f9f8;
  color: #333;
  line-height: 1.6;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(-45deg, #004d4d, #008080, #00bfa6, #006d6d);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 2.3rem;
  font-weight: 700;
}

.hero-content span {
  color: #00ffee;
}

.hero-content p {
  margin-top: 10px;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ================= SIGNUP FORM ================= */
.signup-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: -70px;
  padding: 2rem;
}

.signup-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  padding: 2rem 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.signup-card h2 {
  color: teal;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.subtitle {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Inputs */
.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #008080;
  box-shadow: 0 0 6px rgba(0, 128, 128, 0.4);
  outline: none;
}

/* Checkbox */
.checkbox-group {
  text-align: left;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.checkbox-group input {
  margin-right: 0.5rem;
  accent-color: teal;
}

.checkbox-group a {
  color: teal;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* Button */
#signup-btn {
  width: 100%;
  padding: 0.8rem;
  background-color: teal;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

#signup-btn:hover {
  background-color: #00796b;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 121, 107, 0.3);
}

/* Sign-in link */
.signin-text {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.signin-text a {
  color: teal;
  font-weight: bold;
  text-decoration: none;
}

.signin-text a:hover {
  text-decoration: underline;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #f1f1f1;
  color: #555;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .signup-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 40vh;
  }

  .signup-container {
    margin-top: -50px;
  }

  .signup-card h2 {
    font-size: 1.4rem;
  }

  #signup-btn {
    font-size: 0.95rem;
  }
}
