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

:root {
    --primary: #0f4c81;
    --primary-dark: #0b365c;
    --primary-light: #5d89b6;
    --accent: #d97706;
    --accent-light: #fde7c0;
    --dark: #0a1b2e;
    --dark2: #10263f;
    --text: #142033;
    --text-muted: #4b5b71;
    --text-light: #7b8898;
    --bg: #ffffff;
    --bg-alt: #f3f7fb;
    --border: #dfe7f0;
    --card-shadow: 0 2px 8px rgba(6, 26, 43, .05), 0 10px 30px rgba(15, 76, 129, .12);
    --radius: 18px;
    --radius-sm: 12px;
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
    --nav-h: 70px;
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.68;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    color: #fff;
    background: #1f5e96;
}

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

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

ul {
    list-style: none;
}

/* ===================================================
   UTILITIES
   =================================================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--bg-alt);
    background-image: radial-gradient(circle, rgba(15, 76, 129, .08) 1px, transparent 1px);
    background-size: 28px 28px;
}

.section-dark {
    background: #0c0919;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 70% at 10% 60%, rgba(15, 76, 129, .24) 0%, transparent 58%),
        radial-gradient(ellipse 60% 80% at 90% 30%, rgba(217, 119, 6, .18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 50% 105%, rgba(14, 116, 144, .16) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.section-dark .container {
    position: relative;
    z-index: 1;
}

.mt-24 {
    margin-top: 24px;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .925rem;
    letter-spacing: .25px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.btn-primary {
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    background-clip: padding-box;
    color: #fff;
    box-shadow: 0 4px 20px rgba(15, 76, 129, .35);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -110%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-18deg);
    transition: left .55s ease;
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(15, 76, 129, .55);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, .55);
    color: #fff;
    background: rgba(255, 255, 255, .07);
    background-clip: padding-box;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .15);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================================
   NAVBAR
   =================================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: .5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    letter-spacing: .1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--bg-alt);
}

.nav-links a.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 8px 20px;
}

.nav-links a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15, 76, 129, .4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

/* ===================================================
   HERO
   =================================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 40px) 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #0c0919;
    z-index: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 110% 90% at -5% 50%, rgba(11, 54, 92, .60) 0%, transparent 52%),
        radial-gradient(ellipse 70% 70% at 105% 80%, rgba(217, 119, 6, .40) 0%, transparent 52%),
        radial-gradient(ellipse 55% 55% at 55% 5%, rgba(14, 116, 144, .30) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 80% 20%, rgba(56, 139, 173, .20) 0%, transparent 50%);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .032) 1px, transparent 1px);
    background-size: 34px 34px;
    z-index: 0;
}

/* ── Floating glow orbs ── */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(88px);
    will-change: transform;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 500px;
    height: 500px;
    left: -130px;
    top: -100px;
    background: radial-gradient(circle, rgba(15, 76, 129, .58), rgba(11, 54, 92, .18) 58%, transparent);
    animation: floatOrb1 14s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    right: -90px;
    bottom: 40px;
    background: radial-gradient(circle, rgba(217, 119, 6, .52), rgba(180, 83, 9, .14) 58%, transparent);
    animation: floatOrb2 17s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    left: 40%;
    top: 12%;
    background: radial-gradient(circle, rgba(14, 116, 144, .46), transparent 65%);
    animation: floatOrb3 11s ease-in-out infinite;
}

@keyframes floatOrb1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(44px, 32px) scale(1.09);
    }

    66% {
        transform: translate(-18px, 52px) scale(.94);
    }
}

@keyframes floatOrb2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    40% {
        transform: translate(-52px, -38px) scale(1.12);
    }

    70% {
        transform: translate(24px, -52px) scale(.91);
    }
}

@keyframes floatOrb3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(32px, -42px) scale(1.10);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 1000px;
    width: 100%;
}

/* Photo */
.hero-photo-wrap {
    position: relative;
    flex-shrink: 0;
}

.hero-photo-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(var(--primary), var(--accent), var(--primary));
    animation: spinRing 8s linear infinite;
}

.hero-photo {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 6px solid #fff;
    box-shadow: 0 8px 48px rgba(0, 0, 0, .4);
}

@keyframes spinRing {
    to {
        transform: rotate(360deg);
    }
}

/* Text */
.hero-text {
    color: #fff;
}

.hero-greeting {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 14px;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -.5px;
}

.hero-typed-wrap {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 22px;
    min-height: 1.75em;
    letter-spacing: .2px;
}

.cursor {
    display: inline-block;
    animation: blink .75s step-end infinite;
    color: var(--accent);
    font-weight: 300;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.hero-location {
    font-size: .9rem;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll down arrow */
.scroll-down {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-arrow {
    display: block;
    width: 28px;
    height: 28px;
    border-right: 2px solid rgba(255, 255, 255, .5);
    border-bottom: 2px solid rgba(255, 255, 255, .5);
    transform: rotate(45deg);
    animation: bounce 1.8s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
        opacity: .4;
    }

    50% {
        transform: rotate(45deg) translateY(6px);
        opacity: 1;
    }
}

/* ===================================================
   SECTION HEADER
   =================================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 5px 18px;
    background: linear-gradient(135deg, rgba(15, 76, 129, .12), rgba(217, 119, 6, .12));
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.15;
    letter-spacing: -.3px;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 16px auto 0;
}

.section-sub {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: .95rem;
}

/* ===================================================
   ABOUT
   =================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 72px;
    align-items: center;
}

.about-photo-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: visible;
}

.about-photo-frame img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    object-fit: cover;
    object-position: center top;
    aspect-ratio: 4/5;
}

.about-badge {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(15, 76, 129, .4);
}

.about-intro {
    font-size: 1.05rem;
    line-height: 1.88;
    color: var(--text-muted);
    margin-bottom: 32px;
    letter-spacing: .1px;
}

.about-intro strong {
    color: var(--primary);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.info-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--card-shadow);
}

.info-item>i {
    margin-top: 3px;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
}

.info-value {
    font-size: .875rem;
    font-weight: 500;
    color: var(--text);
    word-break: break-word;
    line-height: 1.45;
}

/* ===================================================
   SKILLS
   =================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.skill-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(15, 76, 129, .18);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 76, 129, .12), rgba(217, 119, 6, .12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.skill-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.1px;
    margin-bottom: 10px;
    color: var(--dark);
}

.skill-card p {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.skill-bar-wrap {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.skill-bar {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0;
    transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
}

.skill-percent {
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===================================================
   TIMELINE / EXPERIENCE
   =================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    padding-left: 72px;
    margin-bottom: 40px;
}

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

.timeline-dot {
    position: absolute;
    left: 8px;
    top: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .8rem;
    box-shadow: 0 0 0 4px rgba(15, 76, 129, .2);
    z-index: 1;
}

.timeline-dot.past {
    background: linear-gradient(135deg, #8b8b9e, #a8a8b8);
    box-shadow: 0 0 0 4px rgba(139, 139, 158, .2);
}

.timeline-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 32px rgba(15, 76, 129, .15);
}

.timeline-card.current {
    border-color: var(--primary-light);
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-badge.current-badge {
    display: inline-block;
    padding: 3px 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
}

.timeline-period {
    font-size: .83rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    letter-spacing: -.2px;
}

.timeline-company {
    font-size: .88rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-duties {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-duties li {
    font-size: .875rem;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
    line-height: 1.6;
    letter-spacing: .05px;
}

.timeline-duties li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ===================================================
   EDUCATION
   =================================================== */
.edu-card {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 44px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    max-width: 860px;
    margin: 0 auto;
    transition: var(--transition);
}

.edu-card:hover {
    box-shadow: 0 12px 40px rgba(15, 76, 129, .18);
}

.edu-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(15, 76, 129, .35);
}

.edu-degree {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 8px;
}

.edu-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -.2px;
}

.edu-desc {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.edu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.edu-tags span {
    padding: 4px 14px;
    background: linear-gradient(135deg, rgba(15, 76, 129, .1), rgba(217, 119, 6, .1));
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(15, 76, 129, .2);
}

/* ===================================================
   HOBBIES
   =================================================== */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.hobby-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.hobby-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(15, 76, 129, .2);
    border-color: var(--primary-light);
}

.hobby-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 76, 129, .12), rgba(217, 119, 6, .12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 16px;
    transition: var(--transition);
}

.hobby-card:hover .hobby-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

.hobby-card h3 {
    font-family: var(--font-body);
    font-size: .975rem;
    font-weight: 700;
    letter-spacing: -.05px;
    margin-bottom: 10px;
    color: var(--dark);
}

.hobby-card p {
    font-size: .855rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===================================================
   STATS
   =================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-item {
    color: #fff;
    padding: 24px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(15, 76, 129, .12);
    border-color: rgba(15, 76, 129, .25);
    transform: translateY(-4px);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .6);
    margin-top: 10px;
    letter-spacing: .2px;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
}

.contact-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(15, 76, 129, .12), rgba(217, 119, 6, .12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-value {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
    word-break: break-all;
}

a.contact-value:hover {
    color: var(--primary);
}

.available {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #16a34a !important;
}

.dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .2);
    animation: pulse-dot 2s ease infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(22, 163, 74, .2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(22, 163, 74, .05);
    }
}

/* Form */
.contact-form {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .2px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
    resize: vertical;
    line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, .12);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.form-note {
    font-size: .78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.form-note a {
    color: var(--primary);
    font-weight: 500;
}

.form-note a:hover {
    text-decoration: underline;
}

.form-success {
    text-align: center;
    padding: 16px;
    background: rgba(22, 163, 74, .08);
    border-radius: var(--radius-sm);
    color: #16a34a;
    font-weight: 500;
    font-size: .9rem;
    display: none;
}

/* ===================================================
   FOOTER
   =================================================== */
#footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .65);
    text-align: center;
    padding: 56px 24px;
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 76, 129, .4), rgba(217, 119, 6, .4), transparent);
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: .2px;
}

.footer-role {
    font-size: .9rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: translateY(-3px);
}

.footer-copy {
    font-size: .78rem;
    color: rgba(255, 255, 255, .35);
}

/* ===================================================
   REVEAL ANIMATION
   =================================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

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

/* Staggered delays for grids */
.skills-grid .skill-card:nth-child(1) {
    transition-delay: .05s;
}

.skills-grid .skill-card:nth-child(2) {
    transition-delay: .10s;
}

.skills-grid .skill-card:nth-child(3) {
    transition-delay: .15s;
}

.skills-grid .skill-card:nth-child(4) {
    transition-delay: .20s;
}

.skills-grid .skill-card:nth-child(5) {
    transition-delay: .25s;
}

.skills-grid .skill-card:nth-child(6) {
    transition-delay: .30s;
}

.hobbies-grid .hobby-card:nth-child(1) {
    transition-delay: .05s;
}

.hobbies-grid .hobby-card:nth-child(2) {
    transition-delay: .10s;
}

.hobbies-grid .hobby-card:nth-child(3) {
    transition-delay: .15s;
}

.hobbies-grid .hobby-card:nth-child(4) {
    transition-delay: .20s;
}

.stats-grid .stat-item:nth-child(1) {
    transition-delay: .05s;
}

.stats-grid .stat-item:nth-child(2) {
    transition-delay: .10s;
}

.stats-grid .stat-item:nth-child(3) {
    transition-delay: .15s;
}

.stats-grid .stat-item:nth-child(4) {
    transition-delay: .20s;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 960px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .hero-actions {
        justify-content: center;
    }

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

    .about-photo-col {
        max-width: 340px;
        margin: 0 auto;
    }

    .about-photo-frame img {
        aspect-ratio: 1/1;
    }

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

@media (max-width: 760px) {
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(16px);
        padding: 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        transform: translateY(-110%);
        transition: transform var(--transition);
        box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links a {
        text-align: center;
        border-radius: var(--radius-sm);
    }

    .hamburger {
        display: flex;
    }

    .hero-photo {
        width: 160px;
        height: 160px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 70px 0;
    }
}

/* ===================================================
   CURSOR GLOW
   =================================================== */
.cursor-glow {
    position: fixed;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(15, 76, 129, .20) 0%,
            rgba(217, 119, 6, .07) 40%,
            transparent 65%);
    pointer-events: none;
    z-index: 999;
    top: 0;
    left: 0;
    will-change: transform;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity .4s ease;
}

.cursor-glow.visible {
    opacity: 1;
}

/* ===================================================
   CARD TILT (3D hover)
   =================================================== */
.skill-card,
.hobby-card {
    transform-style: preserve-3d;
    will-change: transform;
}

@media (max-width: 480px) {
    :root {
        --nav-h: 60px;
    }

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

    .btn {
        padding: 11px 22px;
        font-size: .88rem;
    }
}