.navbar-brand img{
  height: 65px;
}

form {
  background: rgba(255, 255, 255, 0.014);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 2rem;
  color: #fff;
  width: 100%;
  max-width: 400px;
  margin: auto;
}

/* Email input field */
form input[type="email"] {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  padding: 0.75rem;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

form input[type="email"]:focus {
  background-color: #fff;
  color: #000;
  outline: none;
  border: 2px solid #1a237e;
}

/* Label styling */
form label {
  color: #fff;
  margin-bottom: 0.5rem;
  display: block;
}

/* Submit button */
form button[type="submit"] {
  background-color: #4e54c8;
  color: white;
  border: none;
  padding: 0.75rem;
  width: 100%;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
  background-color: #5c6bc0;
}

@media (max-width: 768px) {
  /* Reset position & transform to normal flow */
  .navbar-brand {
    position: static !important;
    transform: none !important;
    margin-left: 0 !important;
    order: 1;
    flex-shrink: 0; 
  }

  /* Container is flex with space-between */
  .navbar .container-fluid {
    display: flex !important;
    justify-content: space-between !important; 
    align-items: center;
    padding: 0.5rem 1rem;
  }

  /* Your toggler/button container */
  .navbar .d-flex {
    order: 2;
    margin-left: auto !important; 
    margin-right: 0 !important;
  }

  /* Reduce logo image size */
  .navbar-brand img {
    max-height: 45px;
  }
}

