/* General Styles */
body {
  background-color: #88aaff; /* Adjusted to a more blue color */
  color: #002288;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.content {
  width: 60%;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  text-align: left;
}

.header-content {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1em;
}

.logo {
  display: flex;
  align-items: flex-end; /* Align text and image baseline */
  font-size: 1.5em;
  font-weight: bold;
  gap: 0.5em;
}

.logo img {
  height: 1.5em;
  vertical-align: baseline;
}

.lang-switcher {
  margin-left: auto;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-end; /* ⬅️ align flags/text bottom */
}

.lang-switcher img.lang-flag {
  height: 16px;
  width: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lang-switcher a:hover img.lang-flag {
  transform: scale(1.1);
}

.lang-switcher strong img.lang-flag {
  filter: grayscale(100%) contrast(0.8);
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.footer {
  background-color: #88aaff;
  color: #002288;
  font-size: 0.9em;
  padding: 0px 0px;
  display: flex;
  justify-content: space-between; /* Distribute columns evenly */
  align-items: center; /* Align items vertically */
  flex-wrap: wrap; /* Allow wrapping if needed */
  box-shadow: none; /* Override any inherited box-shadow */
}

.footer-column {
  flex: 1; /* Allow columns to grow equally */
  padding: 0 0px;
  text-align: center; /* Center-align text for simplicity */
  white-space: nowrap; /* Prevent text from breaking into multiple lines */
}

.footer-bullet {
  padding: 0 10px;
  color: #002288;
  font-size: 1em;
  display: flex;
  align-items: center;
}

.description {
  font-size: 16px;
}

.services-container {
  display: flex;
  flex-direction: row; /* Change from column to row */
  gap: 20px;
  justify-content: center; /* Optional: center columns horizontally */
}

.services-column {
  width: 48%; /* Or adjust as needed, e.g., 50% for two columns */
}

.services-heading {
  color: #002288;
}

.services-list {
  list-style-type: disc; /* Use disc bullets */
  padding-left: 20px; /* Add padding to align bullets */
}

.service-item {
  margin: 10px 0;
}

.link {
  color: #5070c0;
  text-decoration: none;
}

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

/* Contact form elements */
.contact-form {
  margin-top: 20px;
}

.contact-form h3 {
  margin-bottom: 10px;
}

.contact-form label {
  display: block;
  text-align: left;
  margin-bottom: 0.3em;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  display: block;
  min-width: 320px;
  width: 100%;
  max-width: 600px;
  padding: 10px;
  margin-bottom: 10px;
  border: 2px solid #002288;
  border-radius: 4px;
}

.contact-form textarea {
  min-height: 120px;
  height: 180px;
  resize: vertical;
}

.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: red;
}

.contact-form button {
  display: block;
  padding: 10px 20px;
  background-color: #002288;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

.contact-form button:hover {
  background-color: #0056b3;
}

/* Style for hr elements */
hr {
  border: none;
  border-top: 2px solid #002288; /* Use the text color */
  height: 2px;
  margin: 20px 0; /* Optional: Add some margin for spacing */
}

/* Styled table for privacy policy */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
}

.styled-table th,
.styled-table td {
  border: 1px solid #002288;
  padding: 12px 15px;
  text-align: left;
}

.styled-table th {
  background-color: #002288;
  color: white;
}

.styled-table tr:nth-child(even) {
  background-color: #f3f3f3;
}

.styled-table tr:hover {
  background-color: #e0eaff;
}

/* Image styles */
.image {
  max-width: 100%; /* Ensure the image does not exceed the container's width */
  height: auto; /* Maintain the aspect ratio */
  display: block; /* Remove any inline spacing below the image */
  margin: 0 auto; /* Center the image horizontally if needed */
}

.notice {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 20px;
}

/* --- Main navigation as a menu bar --- */
.main-nav {
  margin-top: 1.5em;
  display: flex;
  justify-content: flex-start; /* Align items to the left edge */
  gap: 1.5em;
  background: #e6eeff;
  border-radius: 6px;
  padding: 0.5em 0 0.5em 2em; /* Add left padding for spacing from the edge */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.main-nav a {
  padding: 0.4em 1.2em;
  margin: 0;
  border-radius: 4px;
  text-decoration: none;
  color: #002288;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  background: none;
}

.main-nav a:hover,
.main-nav a:focus {
  background: #c7d8fa;
  color: #001155;
}

.main-nav a.active,
.main-nav a[aria-current="page"] {
  background: #5070c0;
  color: #fff;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
}
