/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Navigation Bar Styles */
.navbar {
  position: fixed;
  /* Make it stick to the top */
  top: 0;
  left: 0;
  width: 100%;
  /* Full width */
  /* z-index: 1000; Ensure it stays above other elements */
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #638373;
  padding: 10px 20px;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Optional: Adds a shadow for better visibility */
}

.navbar-brand a {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 15px;
}

.navbar-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.navbar-links li a:hover {
  color: #c8e6c9;
}

/* Content Container */
.container {
  display: flex;
  gap: 20px;
  max-width: 1000px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-top: 20px;
  /* Ensure some spacing below the navbar */
}

.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
}

/* Info Section */
.info-section {
  flex: 1;
  background: linear-gradient(135deg, #a7bebe, #7b989b);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.info-section .logo {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.info-section h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.info-section p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Form Section */
.form-section {
  flex: 2;
  padding: 40px;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.register-button {
  grid-column: span 2;
  padding: 15px;
  background-color: #09694c;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.register-button:hover {
  background-color: #0d9e56;
}

.terms {
  grid-column: span 2;
  font-size: 0.8rem;
  text-align: center;
}

.terms a {
  color: #0097a7;
  text-decoration: none;
}

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

/* Responsive Design */

@media (max-width: 768px) {
  .navbar-links {
    display: none;
    flex-direction: column;
    background-color: #0d9e56;
    position: absolute;
    top: 50px;
    /* Adjust based on navbar height */
    left: 0;
    width: 100%;
    padding: 10px 0;
  }

  .navbar-checkbox:checked~.navbar-links {
    display: flex;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .info-section {
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .info-section h1 {
    font-size: 1.5rem;
  }

  .form-section {
    padding: 20px;
  }

  .signup-form {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .register-button {
    grid-column: span 1;
  }

  .terms {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .info-section p {
    font-size: 0.9rem;
  }

  .form-section {
    padding: 15px;
  }

  .form-group input,
  .form-group select {
    font-size: 0.9rem;
    padding: 8px;
  }

  .register-button {
    padding: 12px;
    font-size: 0.9rem;
  }

  .terms {
    font-size: 0.75rem;
  }
}