:root {
  --primary: #2ecc71;
  --dark: #1a1a2e;
  --ethio-green: #078C3F;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f9fafb;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:focus {
  outline: 2px dashed var(--primary);
  outline-offset: 4px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 999;
  flex-wrap: wrap;
  gap: 1rem;
}

.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;
  flex-wrap: wrap;
}

.navbar a {
  color: var(--dark);
  padding: 0.5rem 0.75rem;
}

.navbar a:hover {
  background: var(--primary);
  color: #fff;
  border-radius: 3px;
}

.dropdown,
.nested-dropdown {
  position: relative;
}

.dropdown-content,
.nested-dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  flex-direction: column;
  min-width: 200px;
  padding: 0.25rem 0;
  z-index: 100;
}

.dropdown:hover > .dropdown-content,
.nested-dropdown:hover > .nested-dropdown-content {
  display: flex;
}

.dropdown-content a,
.nested-dropdown-content a {
  padding: 0.6rem 1rem;
  white-space: nowrap;
  color: #111;
}

.dropdown-content a:hover,
.nested-dropdown-content a:hover {
  background: #f1f5f9;
}

.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;
}

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;
}

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;
  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;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  padding: 3rem 5%;
  flex-wrap: wrap;
  gap: 2rem;
  border-radius: 10px 10px 0 0;
}

.footer-left {
  flex: 1 1 300px;
}

.footer-left h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-left p {
  font-size: 1rem;
  line-height: 1.6;
  color: #d1d5db;
}

.footer-right {
  flex: 1 1 200px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #1e293b;
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.social-links a:hover {
  background: var(--primary);
  color: #111;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  background-color: #0f172a;
  color: #d1d5db;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .main {
    flex-direction: column;
    text-align: center;
  }

  .image img {
    max-width: 300px;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .dropdown-content,
  .nested-dropdown-content {
    position: static;
    box-shadow: none;
  }
}
