.navbar {
  background-color: #005B3F;
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: 'Segoe UI', sans-serif;
}

/* The Top Level Oval Button */
.dropbtn {
  background-color: #ffffff;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50px; /* This makes the button Oval */
  transition: all 0.3s ease;
  min-width: 120px;
}

/* Individual Outline Colors for Buttons */
.tech-btn { color: #0d47a1; border: 2px solid #0d47a1; }
.design-btn { color: #880e4f; border: 2px solid #880e4f; }
.business-btn { color: #1b5e20; border: 2px solid #1b5e20; }
.life-btn { color: #0d47a1; border: 2px solid #e65100; }
.edu-btn { color: #880e4f; border: 2px solid #4a148c; }
.social-btn { color: #1b5e20; border: 2px solid #3e2723; }

/* ... Add others (lifestyle-btn, education-btn, etc) following this pattern ... */

/* Hover State: Button fills with color */
.dropdown:hover .tech-btn { background-color: #0d47a1; color: white; }
.dropdown:hover .design-btn { background-color: #880e4f; color: white; }
.dropdown:hover .business-btn { background-color: #1b5e20; color: white; }
.dropdown:hover .life-btn { background-color: #e65100; color: white; }
.dropdown:hover .edu-btn { background-color: #4a148c; color: white; }
.dropdown:hover .social-btn { background-color: #3e2723; color: white; }

/* Dropdown Menu Positioning */
.dropdown { position: relative; display: inline-block; }

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  padding: 10px;
  z-index: 1;
  top: 110%; /* Space between button and menu */
  left: 50%;
  transform: translateX(-50%); /* Centers menu under button */
}

.dropdown:hover .dropdown-content { display: block; }

/* Oval Items inside the menu */
.dropdown-content a {
  display: block;
  text-decoration: none;
  padding: 10px 15px;
  margin: 5px 0;
  text-align: center;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}

/* Matching the dropdown items to the button colors */
.item-1 { background: #e3f2fd; color: #0d47a1; border: 2px solid #0d47a1; }
.item-2 { background: #fce4ec; color: #880e4f; border: 2px solid #880e4f; }
.item-3 { background: #e8f5e9; color: #1b5e20; border: 2px solid #1b5e20; }
.item-4 { background: #e3f2fd; color: #0d47a1; border: 2px solid #0d47a1; }
.item-5 { background: #fce4ec; color: #880e4f; border: 2px solid #880e4f; }
.item-6 { background: #e8f5e9; color: #1b5e20; border: 2px solid #1b5e20; }