/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    /* — Elegant Warm Palette — */
    --bg-main: #faf8f5;
    --bg-alt: #f3eeea;
    --bg-card: #ffffff;

    --text-dark: #2c2c34;
    --text-body: #5a5a68;
    --text-light: #8e8e9c;
    --text-faint: #b8b8c4;

    --accent: #c5a0a0;          /* dusty rose */
    --accent-deep: #a67c7c;
    --accent-soft: #e8d5d5;
    --accent-glow: rgba(197, 160, 160, 0.25);

    --gold: #c9a96e;
    --gold-soft: #f0e6d3;

    --gradient-hero: linear-gradient(160deg, #faf8f5 0%, #f0e6ee 50%, #e8dce8 100%);
    --gradient-accent: linear-gradient(135deg, #c5a0a0, #d4b5b5, #c9a96e);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #fdf9f7 100%);

    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-py: 100px;
    --container-max: 960px;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Radius */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(44, 44, 52, 0.06);
    --shadow-card: 0 8px 32px rgba(44, 44, 52, 0.07);
    --shadow-hover: 0 12px 40px rgba(44, 44, 52, 0.10);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-main);
    color: var(--text-body);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

::selection {
    background: var(--accent-soft);
    color: var(--text-dark);
}

/* ============================================
   FLOATING DECORATIONS
   ============================================ */
.floating-shapes {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.35;
    filter: blur(80px);
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px; height: 400px;
    background: var(--accent-soft);
    top: -100px; right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px; height: 300px;
    background: var(--gold-soft);
    top: 40%; left: -80px;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px; height: 250px;
    background: #e0d4f0;
    bottom: 10%; right: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 200px; height: 200px;
    background: var(--accent-soft);
    bottom: -60px; left: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 180px; height: 180px;
    background: #d4e4e8;
    top: 20%; right: 30%;
    animation-delay: -8s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(20px, 15px) scale(1.02); }
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: var(--section-py) 0;
    position: relative;
    z-index: 1;
}

.section-alt {
    background: var(--bg-alt);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.label-text {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 2px;
}

.section-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 48px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(250, 248, 245, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(44, 44, 52, 0.06);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-deep);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s var(--ease-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: all 0.3s var(--ease-smooth);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-deep);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-toggle.active span:nth-child(2) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    z-index: 1;
    padding: 120px 28px 60px;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: var(--container-max);
    width: 100%;
}

/* Photo */
.hero-photo-area {
    position: relative;
    flex-shrink: 0;
    animation: fadeInLeft 1s var(--ease-smooth) 0.2s both;
}

/* Bubbles Visual */
.bubbles-container {
    width: 300px;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble-center {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    z-index: 2;
    box-shadow: 0 8px 32px var(--accent-glow);
    animation: centerPulse 4s ease-in-out infinite;
}

@keyframes centerPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 32px var(--accent-glow); }
    50% { transform: scale(1.05); box-shadow: 0 12px 48px var(--accent-glow); }
}

.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.b1 {
    width: 60px; height: 60px;
    background: var(--accent-soft);
    top: 10px; left: 20px;
    animation: floatBubble 6s ease-in-out infinite;
}

.b2 {
    width: 40px; height: 40px;
    background: var(--gold-soft);
    top: 0; right: 50px;
    animation: floatBubble 5s ease-in-out infinite 0.5s;
}

.b3 {
    width: 28px; height: 28px;
    background: #e0d4f0;
    top: 60px; right: 15px;
    animation: floatBubble 7s ease-in-out infinite 1s;
}

.b4 {
    width: 50px; height: 50px;
    background: #d4e4e8;
    bottom: 50px; left: 10px;
    animation: floatBubble 5.5s ease-in-out infinite 1.5s;
}

.b5 {
    width: 22px; height: 22px;
    background: var(--accent);
    opacity: 0.35;
    bottom: 30px; right: 30px;
    animation: floatBubble 6.5s ease-in-out infinite 2s;
}

.b6 {
    width: 35px; height: 35px;
    background: var(--gold-soft);
    top: 50%; left: -10px;
    animation: floatBubble 7s ease-in-out infinite 0.8s;
}

.b7 {
    width: 18px; height: 18px;
    background: var(--accent-soft);
    top: 30px; left: 50%;
    animation: floatBubble 5s ease-in-out infinite 2.5s;
}

.b8 {
    width: 44px; height: 44px;
    background: #e0d4f0;
    bottom: 10px; left: 40%;
    animation: floatBubble 6s ease-in-out infinite 3s;
}

.b9 {
    width: 16px; height: 16px;
    background: var(--accent);
    opacity: 0.3;
    top: 15%; right: 5px;
    animation: floatBubble 4.5s ease-in-out infinite 1.2s;
}

.b10 {
    width: 30px; height: 30px;
    background: var(--gold-soft);
    bottom: 80px; right: 5px;
    animation: floatBubble 6s ease-in-out infinite 0.3s;
}

.b11 {
    width: 14px; height: 14px;
    background: #d4e4e8;
    top: 70%; left: 5%;
    animation: floatBubble 5.5s ease-in-out infinite 1.8s;
}

.b12 {
    width: 24px; height: 24px;
    background: var(--accent-soft);
    top: 80%; right: 45%;
    animation: floatBubble 7s ease-in-out infinite 2.2s;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(6px, -10px) scale(1.08); }
    50% { transform: translate(-4px, 8px) scale(0.95); }
    75% { transform: translate(8px, 4px) scale(1.04); }
}

/* Hero Text */
.hero-text {
    flex: 1;
    animation: fadeInRight 1s var(--ease-smooth) 0.4s both;
}

.hero-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.hero-name {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.hero-divider {
    margin-bottom: 16px;
}

.hero-divider span {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--accent-deep);
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.hero-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 160, 160, 0.15);
    border-radius: var(--r-full);
    font-size: 0.8rem;
    color: var(--text-body);
    transition: all 0.3s var(--ease-smooth);
}

.contact-pill:hover {
    background: white;
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.contact-pill svg {
    stroke: var(--accent);
    flex-shrink: 0;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s var(--ease-smooth) 1.2s both;
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

.scroll-hint span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-faint);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}

.about-lead {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-lead em {
    color: var(--accent-deep);
    font-style: italic;
}

.about-text p {
    margin-bottom: 14px;
    color: var(--text-body);
}

.about-details {
    background: var(--bg-card);
    border-radius: var(--r-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197,160,160,0.1);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--bg-alt);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}

/* ============================================
   EDUCATION SECTION
   ============================================ */
/* ============================================
   EDUCATION SECTION
   ============================================ */
.edu-timeline {
    position: relative;
    padding-left: 32px;
    margin-top: 16px;
}

.edu-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 0;
    width: 1px;
    background: var(--accent-soft);
}

.edu-tl-item {
    position: relative;
    margin-bottom: 2rem;
}

.edu-tl-item:last-child { margin-bottom: 0; }

.edu-tl-dot {
    position: absolute;
    left: -32px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1.5px solid var(--accent-soft);
    z-index: 1;
}

.edu-tl-item:first-child .edu-tl-dot {
    border-color: var(--accent-deep);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.edu-tl-card {
    background: var(--bg-card);
    border: 0.5px solid rgba(197, 160, 160, 0.2);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.edu-tl-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
}

.edu-tl-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.edu-tl-card:hover::before {
    opacity: 1;
}

.edu-tl-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 6px;
}

.edu-tl-period {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

.edu-tl-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: var(--r-full);
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.edu-tl-role {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 2px;
}

.edu-tl-major {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    margin: 0 0 14px;
}

.edu-tl-divider {
    height: 1px;
    background: var(--bg-alt);
    margin-bottom: 12px;
}

.edu-tl-desc {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
/* Experience Timeline */
.exp-timeline {
    position: relative;
    padding-left: 32px;
}
.exp-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 0;
    width: 1px;
    background: #e5e5e0;
}
.exp-tl-item {
    position: relative;
    margin-bottom: 2rem;
}
.exp-tl-item:last-child { margin-bottom: 0; }

.exp-tl-dot {
    position: absolute;
    left: -32px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #ccc;
    z-index: 1;
}
.exp-tl-item:first-child .exp-tl-dot {
    border-color: #7F77DD;
    box-shadow: 0 0 0 3px rgba(127,119,221,0.12);
}
.exp-tl-card {
    background: #fff;
    border: 0.5px solid #e5e5e0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}
.exp-tl-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 6px;
}
.exp-tl-period {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.04em;
}
.exp-tl-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 99px;
}
.badge-fulltime { background: #EEEDFE; color: #534AB7; }
.badge-parttime { background: #E1F5EE; color: #0F6E56; }

.exp-tl-role {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 2px;
}
.exp-tl-company {
    font-size: 13px;
    color: #888;
    margin: 0 0 14px;
}
.exp-tl-divider {
    height: 1px;
    background: #e5e5e0;
    margin-bottom: 14px;
}
.exp-tl-tasks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.exp-tl-tasks li {
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}
.exp-tl-tasks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ccc;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 16px;
}

.skill-group-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}

/* Soft Skill Bubbles */
.skill-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.skill-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--bg-card);
    border-radius: var(--r-md);
    border: 1px solid rgba(197,160,160,0.1);
    box-shadow: var(--shadow-soft);
    min-width: 100px;
    transition: all 0.4s var(--ease-smooth);
    cursor: default;
}

.skill-bubble:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-soft);
}

.bubble-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.skill-bubble span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* Hard Skill Bars */
.skill-bars-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-bar-item {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s var(--ease-smooth);
}

.skill-bar-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-bar-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}

.skill-bar-pct {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-deep);
    font-family: var(--font-serif);
}

.skill-bar-track {
    width: 100%;
    height: 8px;
    background: var(--bg-alt);
    border-radius: var(--r-full);
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-accent);
    border-radius: var(--r-full);
    transition: width 1.2s var(--ease-smooth);
}

.skill-bar-item.visible .skill-bar-fill {
    width: var(--fill);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 36px;
    background: var(--bg-main);
    border-top: 1px solid rgba(197,160,160,0.15);
    position: relative;
    z-index: 1;
}

.footer-inner {
    text-align: center;
}

.footer-quote {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(197,160,160,0.2);
    color: var(--text-light);
    transition: all 0.3s var(--ease-smooth);
}

.footer-socials a:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-deep);
    transform: translateY(-3px);
}

.footer-socials a svg {
    fill: currentColor;
}

.footer-socials a:last-child svg {
    fill: none;
    stroke: currentColor;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-faint);
    letter-spacing: 0.5px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Reveal classes */
.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-py: 72px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-contact-row {
        justify-content: center;
    }

    .bubbles-container {
        width: 220px;
        height: 240px;
    }

    .bubble-center {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;          /* tambah ini */
        width: 100vw;       /* ganti jadi 100vw */
        height: 100vh;      /* tambah ini */
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 150;       /* naikkan dari 100 ke 150 */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .edu-card {
        flex-direction: column;
        gap: 16px;
    }

    .edu-year {
        flex-direction: row;
        gap: 8px;
    }

    .year-dash {
        width: 20px;
        height: 1px;
    }

    .edu-icon {
        display: none;
    }

    .exp-grid {
        grid-template-columns: 1fr;
    }

    .skills-showcase {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .scroll-hint {
        display: none;
    }
}

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

    .hero-name {
        font-size: 2rem;
    }

    .contact-pill {
        font-size: 0.72rem;
        padding: 6px 12px;
    }

    .skill-bubbles {
        gap: 10px;
    }

    .skill-bubble {
        min-width: 85px;
        padding: 14px 12px;
    }
}
