/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO v3 — Premium Light Mode
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg: #ffffff;
    --bg-alt: #f8f9fc;
    --surface: #ffffff;
    --border: #e8ecf3;
    --border-hover: #c7d2fe;

    --primary: #4f46e5;
    --primary-light: #eef2ff;
    --primary-rgb: 79, 70, 229;
    --accent: #06b6d4;
    --accent-rgb: 6, 182, 212;
    --success: #10b981;
    --warm: #f59e0b;

    --text: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;

    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    --font-h: 'Outfit', system-ui, sans-serif;
    --font-b: 'Inter', system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 8px 30px rgba(var(--primary-rgb), 0.15);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Reset ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ═══════════════ BACKGROUND CANVAS ═══════════════ */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

/* ═══════════════ FLOATING SHAPES ═══════════════ */
.floating-shapes {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: shape-float 25s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -15%;
    right: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    bottom: 10%;
    left: -5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: #f59e0b;
    top: 40%;
    right: 20%;
    animation-delay: -10s;
    opacity: 0.04;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: var(--success);
    top: 20%;
    left: 15%;
    animation-delay: -15s;
    opacity: 0.05;
}

.shape-5 {
    width: 300px;
    height: 300px;
    background: #ec4899;
    bottom: -10%;
    right: 30%;
    animation-delay: -20s;
    opacity: 0.03;
}

@keyframes shape-float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(40px, -30px) rotate(3deg) scale(1.05);
    }

    50% {
        transform: translate(-20px, 40px) rotate(-2deg) scale(0.97);
    }

    75% {
        transform: translate(30px, 20px) rotate(1deg) scale(1.03);
    }
}

/* ═══════════════ LAYOUT ═══════════════ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
}

/* ═══════════════ SECTION HEADING ═══════════════ */
.section-label {
    display: inline-block;
    font-family: var(--font-h);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 16px;
}

.section-heading {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 56px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 1000;
    transition: all 0.4s var(--ease);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-family: var(--font-h);
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 12px;
    letter-spacing: -0.5px;
    transition: transform 0.3s var(--spring), box-shadow 0.3s;
}

.nav-logo:hover .logo-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: var(--shadow-glow);
}

#nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

#nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-2);
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    transition: all 0.25s var(--ease);
    position: relative;
}

#nav-links a:hover,
#nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    color: #fff !important;
    background: var(--primary) !important;
    padding: 8px 20px !important;
    margin-left: 8px !important;
}

.nav-cta:hover {
    background: #4338ca !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow) !important;
}

/* Hamburger */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    color: var(--text);
    padding: 4px;
}

#menu-toggle .menu-close {
    display: none;
}

#menu-toggle.active .menu-open {
    display: none;
}

#menu-toggle.active .menu-close {
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
#hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 60px;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
    position: relative;
}

.badge-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--success);
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(2);
    }
}

#hero h1 {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.hero-role {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--text-2);
    margin-bottom: 20px;
    min-height: 2em;
}

#typewriter {
    color: var(--primary);
    font-weight: 700;
}

.cursor {
    color: var(--primary);
    animation: blink 0.7s step-end infinite;
    font-weight: 300;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-b);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn svg {
    transition: transform 0.3s var(--spring);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.3);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-2);
    padding: 14px;
}

.btn-ghost:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Meta */
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-3);
    font-weight: 500;
}

.meta-item svg {
    color: var(--primary);
}

/* ─── Hero Illustration ─── */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    position: relative;
    width: 340px;
    height: 340px;
}

.illust-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.3);
    animation: center-pulse 3s ease-in-out infinite;
}

.center-icon {
    font-size: 2rem;
}

@keyframes center-pulse {

    0%,
    100% {
        box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.3);
    }

    50% {
        box-shadow: 0 15px 60px rgba(var(--primary-rgb), 0.5);
    }
}

.illust-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1.5px dashed rgba(var(--primary-rgb), 0.15);
    border-radius: 50%;
}

.ring-1 {
    width: 260px;
    height: 260px;
    margin-left: -130px;
    margin-top: -130px;
    animation: orbit-ring 30s linear infinite;
}

.ring-2 {
    width: 340px;
    height: 340px;
    margin-left: -170px;
    margin-top: -170px;
    animation: orbit-ring 45s linear infinite reverse;
    border-color: rgba(var(--accent-rgb), 0.12);
}

@keyframes orbit-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.orbit-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow);
    transition: all 0.3s var(--spring);
}

.orbit-icon:hover {
    transform: scale(1.15);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* Counter-rotate to keep icons upright */
.ring-1 .orbit-icon {
    animation: counter-orbit 30s linear infinite;
}

.ring-2 .orbit-icon {
    animation: counter-orbit 45s linear infinite reverse;
}

@keyframes counter-orbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.oi-1 {
    top: -24px;
    left: 50%;
    margin-left: -24px;
}

.oi-2 {
    bottom: -24px;
    left: 12%;
    margin-left: -24px;
}

.oi-3 {
    bottom: -24px;
    right: 12%;
    margin-right: -24px;
}

.oi-4 {
    top: 15%;
    right: -24px;
}

.oi-5 {
    bottom: 15%;
    left: -24px;
}

/* Scroll Indicator */
.scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--border);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 50%;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% {
        top: -50%;
    }

    100% {
        top: 150%;
    }
}

/* ─── Reveal Animation ─── */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--d, 0s);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT CARDS
   ═══════════════════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
}

.about-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.about-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    transition: all 0.3s var(--spring);
}

.about-card:hover .about-card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.about-card h3 {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════════════════════════════ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.skill-category {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}

.skill-category:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.skill-cat-title {
    font-family: var(--font-h);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.skill-cat-title svg {
    color: var(--primary);
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 99px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text-2);
    transition: all 0.25s var(--ease);
    cursor: default;
}

.chip:hover {
    background: var(--primary-light);
    border-color: rgba(var(--primary-rgb), 0.2);
    color: var(--primary);
    transform: translateY(-2px);
}

.chip-featured {
    background: var(--primary-light);
    border-color: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   EXPERIENCE
   ═══════════════════════════════════════════════════════════════ */
.exp-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exp-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    padding-left: 40px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.exp-card-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 0 2px 2px 0;
    transition: width 0.3s var(--ease);
}

.exp-card:hover .exp-card-accent {
    width: 6px;
}

.exp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.exp-role {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 800;
}

.exp-company {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 2px;
}

.exp-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-3);
    background: var(--bg-alt);
    padding: 5px 14px;
    border-radius: 99px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.exp-points {
    margin-bottom: 20px;
}

.exp-points li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--text-2);
    margin-bottom: 10px;
    line-height: 1.7;
}

.exp-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.exp-points li strong {
    color: var(--primary);
    font-weight: 700;
}

.exp-tags,
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 99px;
    background: var(--primary-light);
    color: var(--primary);
    letter-spacing: 0.3px;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all 0.25s;
}

.tag:hover {
    background: rgba(var(--primary-rgb), 0.12);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════════════ */
.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.project-visual {
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border-right: 1px solid var(--border);
    overflow: hidden;
}

.project-svg {
    width: 100%;
    max-width: 400px;
}

/* SVG Animations */
.svg-anim {
    opacity: 0;
    animation: svg-pop 0.5s var(--spring) forwards;
    animation-delay: calc(var(--i, 1) * 0.15s);
}

.svg-line {
    stroke-dashoffset: 100;
    animation: svg-draw 0.6s var(--ease) forwards;
    animation-delay: calc(var(--i, 1) * 0.15s);
}

.svg-dot {
    opacity: 0;
    animation: svg-pop 0.4s var(--spring) forwards;
    animation-delay: calc(var(--i, 1) * 0.15s + 0.3s);
}

.svg-bar {
    transform-origin: bottom;
    transform: scaleY(0);
    animation: svg-bar-grow 0.8s var(--spring) forwards;
    animation-delay: calc(var(--i, 1) * 0.3s);
}

@keyframes svg-pop {
    to {
        opacity: 1;
    }
}

@keyframes svg-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes svg-bar-grow {
    to {
        transform: scaleY(1);
    }
}

.project-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.project-header h3 {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 800;
}

.project-link-icon {
    color: var(--text-3);
    transition: all 0.25s;
    padding: 6px;
    border-radius: 8px;
}

.project-link-icon:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.project-info p {
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   EDUCATION
   ═══════════════════════════════════════════════════════════════ */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.edu-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
}

.edu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border-hover);
}

.edu-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.edu-info h3 {
    font-family: var(--font-h);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.edu-school {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 2px;
}

.edu-meta {
    font-size: 0.78rem;
    color: var(--text-3);
}

.cert-badge-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-top: 6px;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.cert-badge-label:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: var(--success);
    transform: translateY(-1px);
}

.cert-card-special {
    border-color: rgba(var(--primary-rgb), 0.2);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03), rgba(var(--accent-rgb), 0.03));
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-text {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.cc-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 12px;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s var(--spring);
}

.contact-card:hover .cc-icon {
    transform: scale(1.08) rotate(-3deg);
}

.cc-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.cc-value {
    display: block;
    font-size: 0.82rem;
    color: var(--text-2);
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
    outline: none;
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.85rem;
    color: var(--text-3);
    transition: all 0.25s var(--ease);
    pointer-events: none;
    background: transparent;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.08);
    background: var(--bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-inner>p {
    font-size: 0.88rem;
    color: var(--text-2);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--text-3);
    padding: 8px;
    border-radius: 10px;
    transition: all 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-3);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-desc {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-visual {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #menu-toggle {
        display: block;
    }

    #nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px;
        gap: 4px;
        transition: right 0.4s var(--ease);
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    #nav-links.open {
        right: 0;
    }

    #nav-links a {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 12px;
        text-align: center;
        width: 100%;
    }

    .hero-illustration {
        width: 260px;
        height: 260px;
    }

    .ring-1 {
        width: 200px;
        height: 200px;
        margin-left: -100px;
        margin-top: -100px;
    }

    .ring-2 {
        width: 260px;
        height: 260px;
        margin-left: -130px;
        margin-top: -130px;
    }

    .section {
        padding: 70px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .edu-grid {
        grid-template-columns: 1fr;
    }
}