/* 1. Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding doesn't increase width */
    font-family: "Ubuntu", sans-serif;
}

body {
    background-color: #f0faff;
    min-height: 100vh;
}

/* 2. Responsive Header */
header {
    display: flex;
    justify-content: space-between; /* Pushes Logo to left, Nav to right */
    align-items: center;
    padding: 20px 5%; /* Responsive horizontal padding */
    color: #2761F5;
}

header h1 {
    font-size: 1.5rem;
}

/* 3. Navigation - Fixed the 900px margin issue */
ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px; /* Modern way to space items */
}

ul li a {
    text-decoration: none;
    color: #2761F5;
    font-weight: 500;
}

ul li a.active {
    padding: 10px 20px;
    border-radius: 50px;
    background-color: #2761F5;
    color: white;
    display: inline-block;
}
/* Container styling */
.form-wrapper {
  max-width: 430px;
  margin: 10px auto;
  padding: 30px;
  margin-top: 8%;
  height: 350px;
  background: white;
  font-family: "Ubuntu", sans-serif;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
    background-color: white;
  color: #333;
  margin-bottom: 25px;
}

/* Input group layout */
.input-group {
  margin-bottom: 15px;
    background-color: white;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
    background-color: white;
  color: #555;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
  width: 100%;
  background-color: white;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box; /* Critical for layout */
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  background-color: white;
}

/* Button styling */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #357abd;
}