: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;
}

.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: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.navbar a {
  color: var(--dark);
  padding: 0.5rem 0.75rem;
  transition: background 0.2s;
}

.navbar a:hover {
  background: var(--primary);
  border-radius: 3px;
}

/* Dropdowns */
.dropdown, .nested-dropdown {
  position: relative;
}

.dropdown-content, .nested-dropdown-content {
  position: absolute;
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  padding: 0.25rem 0;
  min-width: 200px;
  z-index: 100;
}

.dropdown-content a, .nested-dropdown-content a {
  padding: 0.6rem 1rem;
  color: #111;
  white-space: nowrap;
}

.dropdown-content a:hover, .nested-dropdown-content a:hover {
  background: #f1f5f9;
}

.dropdown:hover > .dropdown-content, 
.nested-dropdown:hover > .nested-dropdown-content {
  display: flex;
}

/* Main Section */
.main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 60px auto;
  padding: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.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;
}

.image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Responsive */
@media (max-width: 992px) {
  .main {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .image img {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .main {
    flex-direction: column;
    text-align: center;
  }
  .image img {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .dropdown-content, .nested-dropdown-content {
    position: static;
    box-shadow: none;
    width: 100%;
  }
  .form-container {
    padding: 2rem 1.5rem;
  }
  .image img {
    max-width: 250px;
  }
}
