/* ===================== Root Variables ===================== */
:root {
  --color-bg: #fff8fb;
  --color-bg-alt: #fdf1f8;
  --color-surface: #ffffff;
  --color-surface-2: #fdeef7;
  --color-border: rgba(236, 72, 153, 0.14);
  --color-text: #4a3b52;
  --color-text-muted: #92808f;
  --color-primary: #ec4899;
  --color-primary-light: #f9a8d4;
  --color-accent: #a78bfa;
  --color-mint: #6ee7d7;
  --gradient-primary: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
  --shadow-lg: 0 24px 60px rgba(236, 72, 153, 0.14);
  --shadow-md: 0 12px 30px rgba(236, 72, 153, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .btn, .nav-links a {
  font-family: "Quicksand", "Nunito", sans-serif;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ===================== Scroll Progress ===================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 0 4px 4px 0;
  z-index: 2000;
  transition: width 0.1s ease-out;
}

/* ===================== Reveal Animation ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Navbar ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 248, 251, 0.85);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(236, 72, 153, 0.08);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--color-text);
}
.logo span {
  color: var(--color-primary);
}
.logo::after {
  content: " 🌷";
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient-primary);
  transition: width var(--transition);
}
.nav-links a:hover {
  color: var(--color-primary);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  display: inline-block;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.28);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px rgba(236, 72, 153, 0.35);
}
.btn-outline {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  background: #fff;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-2);
  transform: translateY(-3px);
}
.btn-small {
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* ===================== Hero ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(244, 114, 182, 0.16), transparent 45%),
    radial-gradient(circle at 88% 25%, rgba(167, 139, 250, 0.16), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(110, 231, 215, 0.14), transparent 45%),
    var(--color-bg);
  z-index: -2;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  z-index: -1;
  animation: floaty 8s ease-in-out infinite;
}
.blob-1 {
  width: 90px;
  height: 90px;
  background: #fbcfe8;
  top: 22%;
  right: 12%;
  animation-delay: 0s;
}
.blob-2 {
  width: 46px;
  height: 46px;
  background: #ddd6fe;
  top: 60%;
  right: 22%;
  animation-delay: 1.5s;
}
.blob-3 {
  width: 60px;
  height: 60px;
  background: #a7f3d0;
  top: 40%;
  right: 4%;
  animation-delay: 3s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}
.hero-content {
  max-width: 780px;
}
.hero-eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1rem;
  margin-bottom: 14px;
}
.hero-name {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--color-text);
}
.hero-role {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 22px;
  min-height: 2.4rem;
}
.role-static {
  color: var(--color-text);
}
.typewriter {
  color: var(--color-primary);
  font-weight: 700;
}
.cursor {
  color: var(--color-primary);
  animation: blink 1s step-start infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
.hero-desc {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-socials {
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
}
.hero-socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.hero-socials svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}
.hero-socials a:hover {
  background: var(--gradient-primary);
  transform: translateY(-4px) rotate(-6deg);
}
.hero-socials a:hover svg {
  color: #fff;
}
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 24px;
  width: 26px;
  height: 42px;
  border: 2px solid var(--color-primary-light);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-down span {
  width: 4px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: scrollDown 1.6s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ===================== Section Titles ===================== */
.section-label {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  color: var(--color-text);
}

/* ===================== About ===================== */
.about {
  background: var(--color-bg-alt);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 52px;
  align-items: start;
}
.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 18px;
  font-size: 1.04rem;
}
.about-text strong {
  color: var(--color-primary);
}
.about-facts {
  display: flex;
  gap: 36px;
  margin-top: 28px;
}
.fact {
  display: flex;
  flex-direction: column;
}
.fact-number {
  font-family: "Quicksand", sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fact-label {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.95rem;
}
.info-row:last-child {
  border-bottom: none;
}
.info-label {
  color: var(--color-text-muted);
  font-weight: 700;
}
.status-dot {
  color: #10b981;
  font-weight: 700;
}
.status-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

/* ===================== Skills ===================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}
.skill-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
}
.skill-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  border-color: var(--color-primary-light);
}
.skill-icon {
  font-size: 2.1rem;
  margin-bottom: 10px;
}
.skill-card h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 700;
}
.skill-bar {
  height: 10px;
  background: var(--color-surface-2);
  border-radius: 10px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  background: var(--gradient-primary);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.cert-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cert-chip {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);
}
.cert-chip:hover {
  color: var(--color-primary);
  border-color: var(--color-primary-light);
  transform: translateY(-3px);
}

/* ===================== Experience Timeline ===================== */
.experience {
  background: var(--color-bg);
}
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--color-primary-light), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 0 5px rgba(244, 114, 182, 0.16);
}
.timeline-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  transition: transform var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-md);
}
.timeline-card:hover {
  transform: translateX(6px);
  border-color: var(--color-primary-light);
}
.timeline-date {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}
.timeline-card h3 {
  font-size: 1.12rem;
  margin-bottom: 4px;
  font-weight: 700;
}
.timeline-company {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.timeline-desc {
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

/* ===================== Education ===================== */
.education {
  background: var(--color-bg-alt);
}
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.edu-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-md);
}
.edu-card:hover {
  transform: translateY(-6px) rotate(1deg);
  border-color: var(--color-primary-light);
}
.edu-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.edu-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.edu-degree {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.edu-date {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ===================== Contact ===================== */
.contact {
  background: var(--color-bg);
  text-align: center;
}
.contact-desc {
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto 32px;
}
.contact-actions {
  margin-bottom: 56px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  text-align: left;
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-md);
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary-light);
}
.contact-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.contact-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.contact-card a {
  color: var(--color-primary);
  font-weight: 700;
}
.contact-card a:hover {
  text-decoration: underline;
}

/* ===================== Footer ===================== */
.footer {
  padding: 30px 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-content p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.back-to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top:hover {
  background: var(--gradient-primary);
  color: #fff;
  transform: translateY(-4px);
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 76px 0;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(280px, 80vw);
    background: var(--color-surface);
    flex-direction: column;
    padding: 100px 32px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-socials {
    margin-bottom: 20px;
  }
  .scroll-down,
  .hero-blob {
    display: none;
  }
  .timeline {
    padding-left: 26px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }
  .btn {
    width: 100%;
  }
}
