body {
  background-color: #ffffff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Top nav bar */
.nav {
  display: flex;
  justify-content: center;
  background-color: #6d6d6d;
  padding: 10px;
  gap: 10px;
}
.nav a button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #ddd;
  border: none;
  border-radius: 0;
  transition: background-color 0.3s ease;
}
.nav a button:hover {
  background-color: #ff6c20;
}

/* Section nav bars */
.nav-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #6d6d6d;
  padding: 10px;
  gap: 10px;
}
.nav-btn {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #ddd;
  border: none;
  border-radius: 0;
  transition: background-color 0.3s ease;
}
.nav-btn:hover {
  background-color: #ff6c20;
}

/* Custom dropdowns */
.sacountry-bar {
  display: flex;
  justify-content: center;
  background-color: #6d6d6d;
  padding: 5px;
  gap: 10px;
  flex-wrap: nowrap;
}
.country-bar {
  display: flex;
  justify-content: center;
  background-color: #6d6d6d;
  padding: 10px;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Custom dropdowns */
.custom-dropdown {
  position: relative;
  display: inline-flex;
  width: 250px;
  text-align: center;
  margin: 0;
  box-sizing: border-box;
}
.custom-dropdown .selected {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  background-color: #ddd;
  border: none;
  border-radius: 0;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.custom-dropdown .selected:hover {
  background-color: #ff6c20;
}
.custom-dropdown .selected .outline-img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  transition: opacity 0.3s ease;
}
.custom-dropdown#colombia .selected:hover .outline-img {
  opacity: 0;
}
.custom-dropdown#colombia .selected:hover .highlight-img {
  opacity: 1;
}
.custom-dropdown .selected .highlight-img {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 40px;
  width: auto;
  margin-right: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.custom-dropdown .selected img {
  height: 20px;
  width: auto;
  margin-right: 10px;
}
.custom-dropdown .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ddd;
  border: 1px solid #ddd;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1;
}
.custom-dropdown .options.show {
  display: block;
}
.custom-dropdown .option {
  display: flex;
  align-items: center;
  padding: 5px;
  cursor: pointer;
}
.custom-dropdown .option:hover {
  background-color: #f0f0f0;
}
.custom-dropdown .option img {
  height: 20px;
  width: auto;
  margin-right: 10px;
}

/* Logo */
.logo {
  margin-top: 70px;
}

/* Page text */
.content {
  margin-top: 20px;
  font-size: 16px;
}

/* Grey section */
.grey-section {
  background-color: #6d6d6d;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Vertically centers both columns */
}

.lightgrey-section {
  background-color: #ddd;
  padding: 10px;
  height: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Vertically centers both columns */
}

.text-column {
  flex: 1;
  background-color: #838383;
  padding: 10px;
  border-radius: 0px;
  margin-right: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Vertical center */
  align-items: center;      /* Horizontal center */
  text-align: center;       /* Center multiline text */
  min-height: 0;
  width: 230px;
}


.image-column {
  flex: 1; /* Reserves space on the right for images */
  display: flex;
  flex-direction: column; /* Stack rows vertically */
  
}

.image-row {
  display: flex;
  margin-bottom: 10px;
  border: none;
  justify-content: center; /* This centers the images horizontally */
}

.logo-row {
  justify-content: center;
}

.image-row img {
  max-width: 200px;
  height: auto;
  margin: 5px; /* Space between images in a row */
}

/* Responsive design */
@media (max-width: 600px) {
  .grey-section {
    flex-direction: column;
    align-items: stretch; /* Reset to stack vertically */
  }
  .text-column {
    margin-bottom: 20px;
    justify-content: flex-start; /* Reset vertical centering on small screens */
  }
  .image-column {
    align-items: center;
  }
  .image-row {
    flex-direction: column;
    align-items: center;
  }
  .image-row img {
    margin: 5px 0;
  }
  .navarrow {
    flex-direction: column;
    align-items: center;
    height: 10px;
  }
  .navarrow a {
    margin: 5px 0;
  }
  .navarrow-bar {
    flex-direction: column;
    align-items: center;
  }
  .navarrow-btn {
    margin: 5px 0;
  }
  .nav {
    flex-direction: column;
    align-items: center;
  }
  .nav a {
    margin: 5px 0;
  }
  .nav-bar {
    flex-direction: column;
    align-items: center;
  }
  .nav-btn {
    margin: 5px 0;
  }
  .sacountry-bar {
    flex-direction: column;
    align-items: center;
  }
  .country-bar {
    flex-direction: column;
    align-items: center;
  }
  .custom-dropdown {
    width: 100%;
    margin: 5px 0;
  }
}
/* Ensure all images in image-row or tooltip-container have relative positioning */
.image-row img,
.tooltip-container img {
  position: relative !important; /* Overrides inline styles */
  max-width: 200px;
  height: 100px;
  margin: 25px;
  cursor: pointer; /* Indicates hoverable */
}

/* Tooltip styling */
.tooltip-container img::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%; /* Position above the image */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 10;
  pointer-events: none; /* Prevents tooltip from blocking hover */
}

.tooltip-container img:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Ensure parent containers don’t clip tooltips */
.grey-section {
  position: relative;
  overflow: visible;
}

.image-row {
  display: flex;
  margin-bottom: 10px;
  border: none;
  justify-content: center;
  position: relative;
}