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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f9f9f9;
  color: #111;
  line-height: 1.5;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 6rem;
  background: #fafafa;
}

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
}

.hero-text button {
  padding: 0.8rem 1.6rem;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
}

.hero-text button:hover {
  background: #333;
}

.hero-illustration img {
  max-width: 280px;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
  margin-left: 15px;
}

/* Hide the checkbox */
.dropdown input[type="checkbox"] {
  display: none;
}

/* Dropdown label acts like a button */
.dropbtn {
  font-size: 0.95rem;
  cursor: pointer;
  color: #111;
  padding: 0;
}

.dropbtn:hover {
  text-decoration: underline;
}

/* Dropdown content hidden by default */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  margin-top: 8px;
  z-index: 10;
  list-style: none;
  padding: 0;
}

/* Show menu when checkbox is checked */
.dropdown input[type="checkbox"]:checked ~ .dropdown-content {
  display: block;
}

.dropdown-content li {
  padding: 10px 15px;
  font-size: 0.95rem;
}

.dropdown-content li a {
  color: #111;
  text-decoration: none;
  display: block;
}

.dropdown-content li:hover {
  background-color: #f5f5f5;
}

.dropdown-content li.selected {
  font-weight: bold;
  background-color: #efefef;
}
