body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

header {
  max-width: 700px;
  margin: 1.5rem auto;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

header img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  font-size: 2rem;
  margin: 0.5rem 0 0.2rem;
}

header .role {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  color: #0077b5;
  font-weight: 500;
}

.tagline {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #777676;
}

.social-links {
  margin: 2px;
  text-align: center;
}

.social-links a {
  margin: 0 0.5rem;
  color: #0077b5;
  text-decoration: none;
  font-weight: 600;
}

a {
  color: #0077b5;
  text-decoration: none;
}

section {
  max-width: 700px;
  margin: 1rem auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Larger shadow for sections */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(237, 60, 61, 0.1);
}

header:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
footer:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #111;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 0.5rem;
}

footer {
  max-width: 700px;
  margin: 1.5rem auto;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}

footer img {
  vertical-align: middle;
  margin-right: 10px;
  width: 25px;
  height: 25px;
}

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

.language-selector select {
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 8px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  min-width: 45px;
}

.language-selector select:hover {
  border-color: #666;
}

.language-selector select:focus {
  border-color: #ed3c47;
}

/* Language transition styles */
.language-transition section,
.language-transition header {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

section,
header {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  section,
  header,
  footer {
    padding: 1rem;
    margin: 1rem;
  }

  header img {
    width: 120px;
    height: 120px;
  }

  h1 {
    font-size: 1.8rem;
  }
}
header,
footer {
  background-color: #ecedee;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
section,
header,
footer {
  padding: 0.3rem 1.5rem;
}
