@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #f8ede3, #f7d6e0, #d8c2f0);
  font-family: 'Poppins', sans-serif;
  color: #5e4b56;
  line-height: 1.6;
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  max-width: 950px;
  margin: auto;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(145, 121, 161, 0.15);
}

header {
  text-align: center;
  margin-bottom: 50px;
}

header h1 {
  font-size: 3rem;
  color: #8f6ba8;
  margin-bottom: 10px;
}


nav {
  margin-top: 40px;
  margin-bottom: 40px;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 18px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(173, 139, 188, 0.12);
}

nav li {
  display: flex;
}

nav a {
  position: relative;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  color: #7a617f;
  transition: all 0.3s ease;
}

nav a:hover {
  background: #f1d8e7;
  color: #6f567a;
  text-decoration: none;
  transform: translateY(-2px);
}

nav a.active {
  background: linear-gradient(135deg, #e5c5d8, #d8c2f0);
  color: #5e4b56;
  box-shadow: 0 4px 12px rgba(157, 121, 188, 0.25);
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background: #9d79bc;
  border-radius: 10px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 55%;
}

nav a.active::after {
  width: 55%;
}

.subtitle {
  font-size: 1.1rem;
  color: #8b7280;
  font-weight: 300;
}

section {
  margin-bottom: 45px;
}

h2, h3, h4, h5 {
  font-size: 1.6rem;
  color: #9d79bc;
  margin-bottom: 15px;
  border-left: 4px solid #e5c5d8;
  padding-left: 12px;
}

p {
  font-size: 1rem;
  color: #6d5b65;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #fff8fc;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(192, 155, 199, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(173, 139, 188, 0.25);
}

.card h3 {
  font-size: 1.2rem;
  border: none;
  padding: 0;
  margin-bottom: 10px;
  color: #8866a8;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills span {
  background: #f1d8e7;
  color: #6f567a;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.skills span:hover {
  background: #d9c2ef;
  transform: scale(1.05);
}

a {
  color: #a26ca7;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #7f5a8c;
  text-decoration: underline;
}

footer {
  text-align: center;
  margin-top: 40px;
  color: #8a7a82;
  font-size: 0.9rem;
}