#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1976d2;
  color: #fff;
  padding: 16px 24px;
  box-sizing: border-box;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

#menu .menu-icon {
  display: inline-block;
  margin-left: auto;
  width: 28px;
  height: 28px;
  background: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect y="4" width="24" height="2"/><rect y="11" width="24" height="2"/><rect y="18" width="24" height="2"/></svg>') no-repeat center center;
  background-size: 24px 24px;
  cursor: pointer;
  transition: background 0.2s;
}

/* Dropdown menu styles */
#menu-list {
  display: none;
  position: absolute;
  top: 56px;
  right: 24px;
  background: #fff;
  color: #1976d2;
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 4px;
  z-index: 1100;
  padding: 8px 0;
  font-size: 1rem;
  
}

#menu-list.show {
  display: block;
}

#menu-list li {
  list-style: none;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s;
}

#menu-list li:hover {
  background: #e3f2fd;
}

.big-blue-btn {
  display: block;
  margin: 90px auto 0 auto; /* space under banner, center horizontally */
  padding: 24px 48px;
  font-size: 1.5rem;
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s;
}

.big-blue-btn:hover {
  background: orange;
}

#menu .home-button {
  display: flex;
  align-items: center;
  margin-right: 16px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
#menu .home-button:hover {
  color: orange;
}

/* THIS IS FOR /mate/admitere.html which uses the same stylesheet */

/* @media (max-width: 600px) {
  #menu {
    flex-wrap: wrap;
    padding: 12px 8px;
  }
  #menu {
    flex-direction: column;
    align-items: flex-start;
  }
  #menu .menu-title {
    flex: 1 1 100%;
    margin: 8px 0 0 0;
    font-size: 1.1rem;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
} */

#menu .menu-title {
  flex: 1 1 0;
  margin: 0 16px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  text-align: left;
  letter-spacing: 0.5px;
  white-space: normal;      /* Allow text to wrap */
  overflow: visible;        /* Show all text */
  text-overflow: unset;     /* No ellipsis */
  word-break: break-word;   /* Break long words if needed */
  min-width: 0;             /* Prevent flex overflow issues */
  line-height: 1.3;
}

main {
  max-width: 700px;
  margin: 80px auto 0 auto; /* add space for fixed header */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(25, 118, 210, 0.08);
  padding: 32px 40px 24px 40px;
}

#intro-content {
  max-width: 700px;
  margin: 48px auto 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(25, 118, 210, 0.10);
  padding: 32px 40px 24px 40px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #222;
}

#intro-content ul {
  margin: 18px 0 0 24px;
  padding-left: 18px;
}

#intro-content li {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.6;
  position: relative;
}

#intro-content li::marker {
  color: #1976d2;
}

#intro-content a {
  color: #1976d2;
  text-decoration: underline;
  transition: color 0.2s;
}

#intro-content a:hover {
  color: orange;
  text-decoration: underline;
}