body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f4f6f8; 
  color: #1a1a1a; 
  margin: 0;
  padding: 0;
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #ffffff;
  border-bottom: 1px solid #dce2e8;
}

header h1 {
  font-size: 2.2rem; 
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #1a1a1a;
}

header h2 {
  font-size: 1.2rem; 
  font-weight: 500; 
  color: #555;
  margin-bottom: 1rem;
}

.cv-link {
  position: relative;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cv-link .tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #2b6cb0;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cv-link .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #2b6cb0 transparent transparent transparent;
}

.cv-link:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

#lang-btn{
  padding: 6px 14px;
  background: #2b6cb0;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

#lang-btn:hover {
  background: #1e4f80;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  color: #2f80ed;
  text-decoration: none;
  font-weight: bold;
}

.social-links a:hover {
  text-decoration: underline;
}

.cv-container {
  max-width: 1200px; 
  margin: 0 auto; 
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.box {
  background-color: #ffffff; 
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid #dce2e8; 
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04); 
}

.box h3 {
  color: #2b6cb0; 
  margin-bottom: 0.7rem;
  border-bottom: 1px solid #dce2e8;
  padding-bottom: 0.3rem;
}

h4 {
  margin-top: 1rem;
  color: #245a8c;
}

ul {
  padding-left: 1rem;
}

ul li {
  margin-bottom: 0.4rem;
  line-height: 1.4rem;
}

footer {
  text-align: center;
  padding: 1.2rem;
  background-color: #ffffff;
  color: #555;
  border-top: 1px solid #dce2e8;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .cv-container {
    grid-template-columns: 1fr;
  }
  .right-column{
    order: -1;
  }
  .left-column{
    order: 1;
  }
  header h1 {
    font-size: 1.6rem;
  }
}
