/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #55623c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* 🌿 Sticky Top Navigation Bar */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #d3f0c2;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Add this: */
.top-nav .menu-toggle {
  margin-left: auto;
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #2e7d32;
}


.top-nav .logo-container {
  display: flex;
  align-items: center;
}

.top-nav img.logo {
  height: 40px;
  margin-right: 10px;
}

.top-nav .logo-text {
  font-size: 1.4rem;
  font-weight: bold;
  color: #2e7d32;
}

.top-nav .nav-buttons {
  display: flex;
  gap: 12px;
}

.top-nav .nav-buttons a {
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #2e7d32;
  color: #2e7d32;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s;
}

.top-nav .nav-buttons a:hover {
  background-color: #2e7d32;
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #2e7d32;
}

@media (max-width: 768px) {
  .top-nav .nav-buttons {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    right: 20px;
    top: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
  }

  .top-nav .nav-buttons.show {
    display: flex;
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
  }
}

/* Registration Form Container */
.container {
  margin-top: 80px;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.container header {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.form {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
}

.form .input-box {
  width: 100%;
  margin-top: 20px;
}

.input-box label {
  color: #333;
}

.form :where(.input-box input, .select-box) {
  position: relative;
  height: 50px;
  width: 100%;
  outline: none;
  font-size: 1rem;
  color: #707070;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
}

.input-box input:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.form .column {
  display: flex;
  column-gap: 15px;
}

.form .gender-box {
  margin-top: 20px;
}

.gender-box h3 {
  color: #333;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.form :where(.gender-option, .gender) {
  display: flex;
  align-items: center;
  column-gap: 50px;
  flex-wrap: wrap;
}

.form .gender {
  column-gap: 5px;
}

.gender input {
  accent-color: #5c6641;
}

.form :where(.gender input, .gender label) {
  cursor: pointer;
}

.gender label {
  color: #707070;
}

.address :where(input, .select-box) {
  margin-top: 15px;
}

.select-box select {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  color: #707070;
  font-size: 1rem;
}

.form button {
  height: 55px;
  width: 100%;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #5c6641;
}

.form button:hover {
  background: #3d452d;
}

/* Responsive Fixes */
@media screen and (max-width: 500px) {
  .form .column {
    flex-wrap: wrap;
  }

  .form :where(.gender-option, .gender) {
    row-gap: 15px;
  }
}

.logo-container a.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-container .logo-link .logo-text {
  color: #2e7d32;
}

