body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to left, #ecf3ff, #3c64a8);
  margin: 0;
  padding: 0;
}

/* Navbar */
nav {
  background: rgb(250, 250, 250);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e0e0e0;
  font-size: 35px;
}

.logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
  margin-left: 20px;
}

/* Navigation Buttons */
.nav-button, .login-btn {
  background: #0e2f44;
  color: white;
  border: none;
  padding: 15px 20px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s;
}

.nav-button:hover, .login-btn:hover {
  background: #0e2f44;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 25px;
  color: #444;
}

.hero-button {
  margin-top: 20px;
  background: #0e2f44;
  color: white;
  padding: 15px 25px;
  font-size: 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.hero-button:hover {
  background: #0e2f44;
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
}

.feature {
  text-align: center;
  max-width: 220px;
  padding: 15px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 10px;
}

.feature h3 {
  font-size: 25px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 15px;
  color: #030202;
}

/* Form Container (register & login) */
.form-container {
  width: 500px;
  height: 410px;
  background-color: #ffffff;
  padding: 30px 30px;
  margin: 60px auto;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(68, 67, 67, 0.1);
}

/* Input Fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"] {
  width: 90%;
  padding: 12px 16px;
  margin: 10px 0;
  border: 1px solid #050505;
  border-radius: 6px;
  font-size: 18px;
}

/* Buttons */
button,
input[type="submit"] {
  background-color: #0e2f44;
  color: white;
  padding: 12px 20px;
  margin-top: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

button:hover,
input[type="submit"]:hover {
  background-color: #0e2f44;
}

/* Form Message */
.form-message {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  color: #266034;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  /* Navbar adjustments */
  nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
  }

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

  .logo img {
    height: 50px;
    width: auto;
  }

  .login-btn {
    padding: 8px 16px;
    font-size: 15px;
    width: auto;
    height: auto;
    border-radius: 6px;
    margin-left: auto;
    align-self: center;
  }

  .login-btn:hover {
    background: #0c2533;
  }

  /* Hero Section adjustments */
  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .hero-button {
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 8px;
  }

  /* Features Section adjustments */
  .features {
    flex-direction: column;
    padding: 20px 10px;
    justify-content: center;
    align-items: center;
  }

  .feature {
    width: 90%;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
  }

  .feature h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .feature p {
    font-size: 14px;
  }

  /* Form container adjustments */
  .form-container {
    width: 90%;
    padding: 25px 20px;
  }

  .form-container input[type="text"],
  .form-container input[type="password"],
  .form-container input[type="email"],
  .form-container input[type="number"] {
    width: 100%;
  }

  /* Adjust login button size for mobile */
  .login-btn {
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 10px;
    width: auto;
    border-radius: 8px;
    transition: background 0.3s;
    margin-left: auto;
  }

  .login-btn:hover {
    background: #0c2533;
  }
}
