/* --- General Reset & Fonts --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #242e3f, #e2bcaf);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Navbar --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff6f61;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff6f61;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 200px;
    text-align: center;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.active {
    transform: translateX(0%);
  }
  .hamburger {
    display: flex;
  }
}

/* --- Form Container --- */
.form-container {
  margin: auto;
  margin-top: 90px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  width: 90%;
  height: auto;
  max-width: 400px;
  animation: fadeIn 0.6s ease-in-out;
}

.form-container h2 {
  color: #ff6f61;
  text-align: center;
  margin-bottom: 20px;
}

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

input {
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
}

input:focus {
  border-color: #ff6f61;
  outline: none;
  box-shadow: 0 0 5px rgba(255,111,97,0.5);
}

button {
  background: #ff6f61;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

button:hover {
  background: #e85b50;
  transform: scale(1.05);
}

/* --- Animations --- */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
