/* General */
body {
  background-color: #ffe6f2;
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  transition: opacity 0.3s ease;
}

.loaded {
  opacity: 1;
}

nav {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 40px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #b30059;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #b30059;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover, nav a.active {
  color: #ff3385;
}

/* Hero */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 60px 20px;
}

.hero-text {
  max-width: 400px;
  text-align: left;
  margin-right: 40px;
}

.hero-text h1 span {
  color: #b30059;
}

.image-container {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff66b2, #ff99cc);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid white;
  object-fit: cover;
}

/* About Section */
.about {
  background-color: white;
  margin: 50px auto;
  width: 80%;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Resume */
.resume {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px 20px;
  gap: 40px;
}

.resume-left, .resume-right {
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.resume-left {
  width: 280px;
  text-align: left;
}

.resume-right {
  width: 600px;
  text-align: left;
}

.resume-pic {
  width: 150px;
  border-radius: 50%;
  border: 5px solid #ff99cc;
}

.download-btn {
  background-color: #b30059;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

.download-btn:hover {
  background-color: #ff3385;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

th, td {
  border: 1px solid #ffb3d9;
  padding: 8px;
}

/* Biodata */
.biodata-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.personal, .contact {
  background-color: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 300px;
  text-align: left;
}

/* Footer */
footer {
  background-color: white;
  color: #b30059;
  padding: 15px;
  margin-top: 50px;
}

/* Animation */
.fade-in {
  animation: fadeIn 0.7s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Make "View My Resume" look like a button */
a.view-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #ff4da6, #ff80bf);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

a.view-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #ff3399, #ff66b3);
}

/* Pop animation for all cards, boxes, and sections */
section, div, img, button, a {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover, div:hover, img:hover, button:hover, a:hover {
  transform: scale(1.03);
}