:root {
  --primary: #2ecc71;
  --secondary: #3498db;
  --accent: #e74c3c;
  --dark: #1a1a2e;
  --darker: #16213e;
  --light: #f1f1f1;
  --ethio-green: #078C3F;
  --ethio-yellow: #FCDD09;
  --ethio-red: #DA121A;
  --ethio-black: #474242;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fafb;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  flex-wrap: wrap;
  background: #fff;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar a {
  color: var(--dark);
  padding: 0.5rem 0.75rem;
  transition: background 0.2s;
}

.navbar a:hover {
  background: var(--primary);
  border-radius: 3px;
}

/* Main Section */
.main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 2rem;
}

.form-container {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

h2 {
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #1e293b;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #333;
}

input {
  padding: 0.8rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: 0.3s;
  width: 100%;
}

input:focus {
  border-color: var(--ethio-green);
  outline: none;
  box-shadow: 0 0 8px rgba(7,140,63,0.3);
}

button {
  background: var(--ethio-green);
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

button:hover {
  background: #056d32;
}

.extra-text {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #555;
}

.extra-text a {
  color: var(--ethio-green);
  font-weight: 600;
  text-decoration: none;
}

.extra-text a:hover {
  text-decoration: underline;
}

/* Hamburger icon */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* Responsive Mobile Styles for horizontal nav */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    flex-direction: row;        /* horizontal layout */
    display: none;             /* hidden by default */
    width: 100%;
    justify-content: center;   /* center items horizontally */
    background: #fff;
    position: fixed;           /* fixed below navbar */
    top: 60px;
    left: 0;
    padding: 0.5rem 0;
    gap: 1rem;                 /* space between links */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;             /* show on hamburger click */
  }

  .nav-links a {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    text-align: center;
  }
}