body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: #f0f2f5;
  color: #333;
}

header {
  background: linear-gradient(135deg, #dfe9f3, #ffffff);
  padding: 60px 20px 40px;
  text-align: center;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5em;
  margin: 0;
}

.bio {
  font-size: 1.1em;
  max-width: 700px;
  margin: 20px auto;
  padding: 0 20px;
  text-align: center;
}

.links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.link-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px 30px;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.link-card:hover {
  transform: translateY(-4px);
}

.link-card img {
  width: 24px;
  height: 24px;
}

footer {
  text-align: center;
  font-size: 0.9em;
  margin: 50px 0 20px;
  color: #aaa;
}

/* Language switcher styles */
header {
  position: relative;
}

.language-switcher {
  position: absolute;
  top: 10px;
  right: 20px;
}

.language-switcher a {
  text-decoration: none;
  color: #333; /* Keep this or make transparent if only icon should be visible */
  padding: 5px; /* Keep this, adjust if necessary */
  display: inline-block; /* Helps with sizing and spacing */
  vertical-align: middle; /* Align icons nicely if they are different heights */
}
.language-switcher a#lang-en-btn {
  margin-right: 8px; /* Space between English and Spanish flag */
}
.language-switcher a:hover, .language-switcher a.active {
  opacity: 0.7; /* Example: Dim slightly on hover, better for icons */
  transition: opacity 0.2s ease;
}
.language-switcher .flag-icon {
  font-size: 34px; /* Adjust size as needed */
  line-height: 34px; /* Match font-size for alignment */
}

/* Hidden class style */
.hidden {
  display: none !important;
}

.flag-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
}
