body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f4f4f4;
}

header {
  background: #004080; /* deep blue */
  color: #fff;
  padding: 20px 0;
  text-align: center; /* keep centered */
  position: relative; /* allow absolute positioning inside */
}

nav {
  background: #333;
  color: #fff;
  display: flex;
  justify-content: center; /* center menu items */
  padding: 0; /* remove extra padding so dropdown aligns */
}

nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav .menu > li {
  position: relative;
}

nav .menu > li > a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  text-decoration: none;
}

nav .menu > li > a:hover {
  background: #444;
}

/* Submenu styling */
nav .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #444;
  display: none;
  min-width: 220px;
  text-align: left; /* keep submenu aligned left */
  z-index: 1000;
}

nav .submenu li a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
}

nav .submenu li a:hover {
  background: #555;
}

/* Show submenu on hover */
nav .menu li:hover > .submenu {
  display: block;
}

.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
  padding: 20px;
  background: #fff;
}

.showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.showcase img, .showcase video {
  max-width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

footer {
  background: #004080;
  color: #fff;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
}

/* Resume-specific styling */
.resume .job {
  margin-bottom: 25px;
}

.resume .job-header {
  display: flex;
  align-items: baseline; /* keeps text aligned nicely */
  font-weight: bold;
  color: #004080;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.resume .job-title {
  flex: 1; /* stays on the left */
}

.resume .job-company {
  margin-left: auto; /* pushes company to the right */
  text-align: right;
}

.resume .job-dates {
  margin-left: 15px; /* small gap between company and dates */
  text-align: right;
  font-style: italic;
}

.resume ul {
  list-style: disc;
  padding-left: 20px;
}

/* Language switch styling */
.lang-switch {
  position: absolute;
  top: 10px;
  right: 20px;
  display: flex;
  gap: 8px; /* space between buttons */
}

.lang-switch a {
  color: #fff;                /* white text */
  background-color: #0066cc;  /* lighter blue for contrast */
  padding: 6px 12px;
  border-radius: 20px;        /* pill shape */
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #fff;     /* subtle white border */
  transition: background 0.3s, color 0.3s;
}

.lang-switch a:hover {
  background-color: #0055aa;  /* darker blue on hover */
  color: #ffeb3b;             /* optional: yellow text on hover */
}

.lang-switch a.active {
  background-color: #fff;
  color: #004080;
}



