/* ---------------- General Body ---------------- */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f4f8; /* light gray-blue */
  color: #03045e;
}

/* ---------------- Sidebar ---------------- */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #03045e;
  color: white;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 100;
  overflow-y: auto;
}

.sidebar.active {
  left: 0;
}

.sidebar a {
  display: block;
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  transition: 0.2s;
}

.sidebar a:hover {
  background-color: #0077b6;
}

.sidebar a.active {
  background-color: #023e8a;
}

/* ---------------- Overlay ---------------- */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 50;
  transition: 0.3s;
}

.overlay.active {
  display: block;
}

/* ---------------- Menu Button ---------------- */
#menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 150; /* above sidebar and overlay */
  background-color: #023e8a;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------------- Main Content ---------------- */
main.hero, main {
  padding: 80px 20px 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.content-section {
  margin: 40px auto;
  max-width: 800px;
  background: #f5faff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

h1.title {
  text-align: center;
  margin-bottom: 40px;
}

/* ---------------- Projects Map ---------------- */
#map-container {
  position: relative;
  display: inline-block;
  margin-top: 30px;
}

#world-map {
  width: 90vw;
  height: auto;
  fill: #a8bfcf;
  stroke: #333;
  stroke-width: 1;
  cursor: pointer;
}

#world-map path:hover {
  fill: #2d9cdb; /* Blue hover effect */
  transition: fill 0.2s ease;
}

.tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}