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

:root {
  --bg: #fff8fc;
  --bg-2: #fff2f8;
  --text: #22304b;
  --muted: #68778f;
  --pink: #f58db7;
  --pink-dark: #dd5f98;
  --blue: #8caeff;
  --lavender: #d5c5ff;
  --peach: #ffd8c8;
  --white-glass: rgba(255, 255, 255, 0.72);
  --white-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(34, 48, 75, 0.1);
  --shadow: 0 20px 60px rgba(94, 105, 132, 0.16);
  --shadow-strong: 0 28px 80px rgba(94, 105, 132, 0.22);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgba(245, 141, 183, 0.2), transparent 18%),
    radial-gradient(circle at 92% 8%, rgba(140, 174, 255, 0.18), transparent 18%),
    radial-gradient(circle at 82% 82%, rgba(213, 197, 255, 0.18), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section {
  padding: 96px 0;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(95px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 260px;
  height: 260px;
  background: rgba(245, 141, 183, 0.35);
  top: 70px;
  left: -70px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(140, 174, 255, 0.28);
  top: 220px;
  right: -100px;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: rgba(213, 197, 255, 0.28);
  bottom: 20px;
  left: 18%;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.22) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(14px);
  background: rgba(255, 248, 252, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.55);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 800;
  font-size: 1.3rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.28s ease;
}

.site-nav a:hover {
  background: var(--white-strong);
  box-shadow: var(--shadow);
  color: var(--pink-dark);
}

.nav-cta {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: white;
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--white-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  margin: 5px auto;
}

/* HERO */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  position: relative;
}

.hero-avatar-zone {
  position: relative;
  width: fit-content;
  margin: 0 auto 18px;
}

.hero-sticker {
  position: absolute;
  background: var(--white-strong);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.sticker-left {
  top: 12px;
  left: -135px;
  transform: rotate(-6deg);
}

.sticker-right {
  top: 20px;
  right: -138px;
  transform: rotate(6deg);
}

.eyebrow {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white-strong);
  border: 1px solid rgba(255,255,255,0.76);
  box-shadow: var(--shadow);
  color: var(--pink-dark);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.center-avatar {
  margin-inline: auto;
}

.hero-avatar-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  transform-style: preserve-3d;
}

.avatar-glow {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,141,183,0.30), rgba(140,174,255,0.18), transparent 72%);
  filter: blur(14px);
  z-index: -1;
}

.avatar-ring {
  width: 180px;
  height: 180px;
  padding: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue), var(--lavender));
  box-shadow: var(--shadow-strong);
  animation: softFloat 4s ease-in-out infinite;
}

.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid white;
}

.avatar-labels {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.avatar-label {
  background: var(--white-strong);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 14px;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.hero-role {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-text-center {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.hero-tags,
.info-pills,
.skill-cloud,
.contact-socials,
.social-links,
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span,
.info-pills span,
.skill-cloud span,
.social-pill {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--white-glass);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(94, 105, 132, 0.08);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-tags-center,
.hero-actions-center,
.social-links-center {
  justify-content: center;
}

.social-links {
  margin-top: 16px;
  justify-content: center;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.28s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--white-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-bottom-cards {
  margin-top: 34px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* COMMON CARDS */
.hero-info-card,
.glass-card,
.edu-card,
.skill-panel,
.timeline-card,
.image-card,
.future-card,
.contact-card-big,
.achievement-card,
.award-box {
  background: var(--white-glass);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
}

.hero-info-card,
.glass-card,
.future-card,
.contact-card-big,
.skill-panel,
.timeline-card,
.award-box {
  padding: 24px;
}

.card-label {
  color: var(--pink-dark);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.hero-info-card h3,
.glass-card h3,
.future-card h3,
.skill-panel h3,
.award-box h3 {
  margin-bottom: 10px;
}

.hero-info-card p,
.glass-card p,
.future-card p,
.edu-content p,
.timeline-card p,
.contact-card-big p,
.achievement-content p,
.award-box ul {
  color: var(--muted);
}

/* HEADINGS */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-head p:last-child {
  color: var(--muted);
}

/* LAYOUTS */
.general-grid,
.experience-grid,
.talent-grid,
.contact-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.content-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.education-grid,
.skills-grid,
.future-grid {
  display: grid;
  gap: 22px;
}

.education-grid {
  grid-template-columns: repeat(2, 1fr);
}

.skills-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 22px;
}

.future-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* IMAGE CARDS */
.image-card,
.edu-card,
.achievement-card {
  overflow: hidden;
}

.image-card img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.image-card.tall img {
  min-height: 520px;
}

.edu-card img,
.achievement-card img {
  height: 260px;
  object-fit: cover;
}

.edu-content,
.achievement-content {
  padding: 22px;
}

.edu-content h3,
.achievement-content h3 {
  margin-bottom: 10px;
}

.award-box ul {
  padding-left: 18px;
}

.project-achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

/* TIMELINE */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  width: 2px;
  height: 100%;
  background: linear-gradient(var(--pink), var(--blue));
}

.timeline-item {
  position: relative;
  padding-left: 34px;
  margin-bottom: 28px;
}

.timeline-dot {
  position: absolute;
  left: -1px;
  top: 10px;
  width: 26px;
  height: 26px;
  background: white;
  border: 6px solid var(--pink);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.timeline-time {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--pink-dark);
  font-weight: 800;
}

/* SKILL BARS */
.skill-line {
  margin-bottom: 16px;
}

.skill-line span {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(34, 48, 75, 0.08);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--blue));
}

.contact-socials {
  margin: 16px 0 2px;
}

.contact-actions {
  margin-top: 16px;
}

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255,255,255,0.55);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

/* REVEAL */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 3D */
.tilt-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: var(--shadow-strong);
}

.tilt-card h3,
.tilt-card p,
.tilt-card span,
.tilt-card a {
  transform: translateZ(18px);
}

/* ANIMATION */
@keyframes softFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .avatar-ring {
    animation: none;
  }

  .js .reveal,
  .js .reveal.active {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tilt-card {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .hero-bottom-cards,
  .general-grid,
  .experience-grid,
  .talent-grid,
  .contact-wrap,
  .education-grid,
  .skills-grid,
  .future-grid,
  .project-achievement-grid {
    grid-template-columns: 1fr;
  }

  .sticker-left,
  .sticker-right {
    position: static;
    display: inline-flex;
    margin: 0 6px 10px;
    transform: none;
  }

  .hero-avatar-zone {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 76px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 16px;
    width: 220px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,0.94);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.show {
    display: flex;
  }

  .hero-content,
  .section-head,
  .contact-left {
    text-align: center;
  }

  .hero-avatar-wrap {
    margin-inline: auto;
  }

  .hero-tags,
  .info-pills,
  .skill-cloud,
  .hero-actions,
  .contact-socials,
  .social-links,
  .contact-actions,
  .avatar-labels {
    justify-content: center;
  }

  .hero-name {
    white-space: normal;
    font-size: 3rem;
  }

  .avatar-ring {
    width: 155px;
    height: 155px;
  }

  .hero-sticker {
    display: none;
  }
}
