/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(ellipse at 60% 20%, #6a4cff 0%, #3a266a 60%, #1a102e 100%);
  color: #e6e0f8;
  line-height: 1.7;
  min-height: 100vh;
}

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section {
  padding: 4rem 0 3rem 0;
}

/* Navigation Bar */
.navbar {
  background: rgba(40, 20, 80, 0.92);
  border-bottom: 1px solid #4e3a7a;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(106,76,255,0.08);
  transition: background 0.3s;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo {
  font-size: 1.7rem;
  color: #b39ddb;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  text-decoration: none;
  color: #e6e0f8;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: #4e3a7a;
  color: #c3aaff;
}

/* Header */
header {
  background: linear-gradient(120deg, #4e3a7a 60%, #6a4cff 100%);
  color: #f3eaff;
  text-align: center;
  padding: 5rem 1.5rem 3.5rem 1.5rem;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 48px rgba(106,76,255,0.18);
  position: relative;
  overflow: hidden;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #b39ddb;
  box-shadow: 0 4px 32px rgba(106,76,255,0.18);
  margin-bottom: 1.5rem;
  background: #2a1a4d;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.4rem;
  font-weight: 800;
  letter-spacing: 1px;
}

header p {
  font-size: 1.18rem;
  opacity: 0.93;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Headings */
h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: #c3aaff;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #6a4cff 60%, #4e3a7a 100%);
  border-radius: 2px;
  margin: 0.5rem auto 0 auto;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #b39ddb;
  font-weight: 700;
}

/* Grid Cards */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 1.5rem;
}

.card {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem 1.5rem;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(106,76,255,0.13), 0 2px 8px rgba(58,38,106,0.18);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  border: 1px solid #b39ddb;
}

.card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 16px 48px rgba(106,76,255,0.22), 0 4px 16px rgba(58,38,106,0.22);
  border-color: #6a4cff;
  background: rgba(255,255,255,0.28);
}

/* Magnify bio on hover */
.header-content p {
  transition: transform 0.3s cubic-bezier(.23,1.01,.32,1), box-shadow 0.3s;
  will-change: transform;
}

.header-content p:hover {
  transform: scale(1.12) perspective(400px) translateZ(12px);
  box-shadow: 0 8px 32px rgba(106,76,255,0.18);
  z-index: 2;
}

/* Contact */
a {
  color: #b39ddb;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  text-decoration: underline;
  color: #e6e0f8;
}

/* Footer */
footer {
  background: linear-gradient(120deg, #2a1a4d 60%, #6a4cff 100%);
  color: #e6e0f8;
  text-align: center;
  padding: 1.3rem 0;
  margin-top: 4rem;
  border-radius: 24px 24px 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  box-shadow: 0 -8px 48px 0 rgba(106,76,255,0.18), 0 8px 24px 0 rgba(58,38,106,0.12), 0 2px 8px 0 rgba(44,62,80,0.07);
  border-top: 4px solid #b39ddb;
}

/* Responsive Tweaks */
@media (max-width: 700px) {
  .container {
    padding: 1.2rem 0.5rem;
  }
  .section {
    padding: 2.2rem 0 1.5rem 0;
  }
  header {
    padding: 3.2rem 0.5rem 2.2rem 0.5rem;
    border-radius: 0 0 18px 18px;
  }
  .profile-pic {
    width: 100px;
    height: 100px;
  }
  h2 {
    font-size: 1.3rem;
  }
  .grid {
    gap: 1rem;
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1.1rem 0.7rem;
    border-radius: 10px;
  }
  footer {
    font-size: 0.95rem;
    padding: 0.7rem 0;
    border-radius: 12px 12px 0 0;
  }
}

/* Webflow-like Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(.23,1.01,.32,1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}
