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

/* BASE */
body {
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: #111;
  line-height: 1.6;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: center;
  padding: 25px 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.nav-links a:hover {
  color: black;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: black;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.active {
  font-weight: 600;
}

/* SECTIONS */
section {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
  animation: fadeIn 1s ease;
}

/* ABOUT */
.about {
  text-align: center;
}

.profile-img {
  width: 160px;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

p {
  color: #555;
  margin-bottom: 10px;
}

/* CARDS (Education / Experience) */
.card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card h2 {
  margin-bottom: 5px;
}

.card p {
  font-size: 0.9rem;
  color: #777;
}

.card ul {
  margin-top: 10px;
  padding-left: 20px;
}

/* CONTACT */
.contact-section {
  text-align: center;
}

.contact-intro {
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border-radius: 12px;
  background: white;
  text-decoration: none;
  color: black;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.method-icon svg {
  width: 22px;
  height: 22px;
  fill: #333;
}

.method-label {
  font-weight: 600;
}

.method-value {
  color: #666;
  font-size: 0.9rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  color: #777;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .nav-links {
    gap: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }
}

.method-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
