/* ============================================
   Portfolio - ECE Diploma Student
   Modern Dark Theme with Blue/Cyan Accents
   ============================================ */

/* CSS Variables - Theme Tokens */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1a2236;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent: #06b6d4;
    --accent-hover: #22d3ee;
    --accent-glow: rgba(6, 182, 212, 0.4);
    --border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --container: 1200px;
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
}

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

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

/* Section Common */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Card Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: white; }

/* ============================================
   Loader
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}
.loader.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-content { text-align: center; }
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
.loader-content p {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}
[data-theme="light"] .navbar.scrolled {
    background: rgba(248, 250, 252, 0.85);
}

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

.nav-logo .logo-text {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    transition: all var(--transition);
}
.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(20deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    justify-content: center;
}
.hamburger span {
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

/* Animated circuit background */
.circuit-bg {
    position: absolute;
    inset: 0;
    color: var(--accent);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.circuit-bg svg {
    width: 100%;
    height: 100%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-greeting {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.hero-name {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}
.hero-title {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 620px;
    line-height: 1.5;
}
.typed-text { color: var(--text-primary); }
.cursor {
    display: inline-block;
    width: 3px;
    background: var(--accent);
    margin-left: 2px;
    animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-profession {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.profession-tag {
    padding: 0.4rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.hero-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual - Circuit Orb */
.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
}

.circuit-orb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.orb-core {
    width: 45%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--gradient);
    display: grid;
    place-items: center;
    box-shadow: 0 0 60px var(--accent-glow), inset 0 0 30px rgba(255,255,255,0.15);
    animation: pulse-glow 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
.core-symbol {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: white;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed var(--accent);
    opacity: 0.4;
    pointer-events: none;
}
.orb-ring.ring-1 {
    width: 65%;
    aspect-ratio: 1;
    animation: spin 18s linear infinite;
}
.orb-ring.ring-2 {
    width: 82%;
    aspect-ratio: 1;
    border-style: dotted;
    border-color: var(--accent-hover);
    animation: spin 28s linear infinite reverse;
}
.orb-ring.ring-3 {
    width: 100%;
    aspect-ratio: 1;
    border-style: solid;
    border-color: rgba(6, 182, 212, 0.15);
    opacity: 0.6;
    animation: spin 40s linear infinite;
}

/* Orbiting nodes - placed at fixed positions on outer ring */
.orb-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--accent-glow);
    z-index: 3;
}
.orb-node.n1 { transform: translate(-50%, -50%) translate(0, -180px); animation: float-node 6s ease-in-out infinite; }
.orb-node.n2 { transform: translate(-50%, -50%) translate(156px, -90px); animation: float-node 6s ease-in-out infinite -1s; }
.orb-node.n3 { transform: translate(-50%, -50%) translate(156px, 90px); animation: float-node 6s ease-in-out infinite -2s; }
.orb-node.n4 { transform: translate(-50%, -50%) translate(0, 180px); animation: float-node 6s ease-in-out infinite -3s; }
.orb-node.n5 { transform: translate(-50%, -50%) translate(-156px, 90px); animation: float-node 6s ease-in-out infinite -4s; }
.orb-node.n6 { transform: translate(-50%, -50%) translate(-156px, -90px); animation: float-node 6s ease-in-out infinite -5s; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 60px var(--accent-glow), inset 0 0 30px rgba(255,255,255,0.15); }
    50% { box-shadow: 0 0 100px var(--accent), inset 0 0 40px rgba(255,255,255,0.25); }
}
@keyframes float-node {
    0%, 100% { transform: translate(-50%, -50%) translate(var(--x, 0), var(--y, 0)) scale(1); }
    50% { transform: translate(-50%, -50%) translate(var(--x, 0), var(--y, 0)) scale(1.4); }
}

@media (max-width: 768px) {
    .orb-node.n1 { transform: translate(-50%, -50%) translate(0, -130px); }
    .orb-node.n2 { transform: translate(-50%, -50%) translate(113px, -65px); }
    .orb-node.n3 { transform: translate(-50%, -50%) translate(113px, 65px); }
    .orb-node.n4 { transform: translate(-50%, -50%) translate(0, 130px); }
    .orb-node.n5 { transform: translate(-50%, -50%) translate(-113px, 65px); }
    .orb-node.n6 { transform: translate(-50%, -50%) translate(-113px, -65px); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* ============================================
   About Section
   ============================================ */
.about-intro {
    max-width: 820px;
    margin: 0 auto 2rem;
    padding: 2rem;
}
.about-intro p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.75;
}
.about-intro p:last-child { margin-bottom: 0; }
.about-intro strong {
    color: var(--accent);
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.about-card {
    padding: 2rem;
    transition: all var(--transition);
}
.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}
.about-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.25rem;
}
.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}
.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   Skills Section
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.skill-category {
    padding: 2rem;
    transition: all var(--transition);
}
.skill-category:hover { transform: translateY(-5px); }
.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.skill-category h3 i { color: var(--accent); }

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.skill-badge {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
    cursor: default;
}
.skill-badge:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.05);
}

/* ============================================
   Projects Section
   ============================================ */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}
.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--glass-bg);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.15);
}
.project-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: var(--bg-tertiary);
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.project-card:hover .project-image img { transform: scale(1.1); }
.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.project-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.project-tech span {
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent);
    font-family: var(--font-mono);
}
.project-links {
    display: flex;
    gap: 0.75rem;
}
.project-links a {
    flex: 1;
    padding: 0.6rem;
    text-align: center;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.project-links a:hover { background: var(--accent); color: white; border-color: var(--accent); }

.project-card.hidden { display: none; }

/* ============================================
   Certificates Section
   ============================================ */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.cert-card {
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition);
}
.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}
.cert-image {
    aspect-ratio: 4/3;
    background: var(--bg-tertiary);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.cert-image i {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.6;
}
.cert-title {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.cert-org {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}
.cert-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}
.cert-view {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
}
.cert-view:hover { background: var(--accent); color: white; }

/* ============================================
   Resume Section
   ============================================ */
.resume-placeholder {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}
.resume-placeholder-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: var(--bg-tertiary);
    border: 2px dashed var(--accent);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 2.25rem;
}
.resume-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.resume-placeholder p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.resume-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2.5rem;
    align-items: center;
}
.resume-preview {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--bg-tertiary);
}
.resume-preview img { width: 100%; }
.resume-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.resume-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ============================================
   Ideology Section
   ============================================ */
.ideology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.ideology-card {
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}
.ideology-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}
.ideology-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: var(--gradient);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.5rem;
}
.ideology-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.ideology-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   Journey / Timeline Section
   ============================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}
.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2.5rem;
}
.timeline-dot {
    position: absolute;
    left: 22px;
    top: 1.5rem;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.timeline-content {
    padding: 1.5rem;
    transition: all var(--transition);
}
.timeline-content:hover {
    transform: translateX(8px);
    border-color: var(--accent);
}
.timeline-date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
}
.timeline-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.contact-info, .contact-form {
    padding: 2.5rem;
}
.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    font-size: 0.95rem;
}
.contact-link i {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--accent);
    transition: all var(--transition);
}
.contact-link:hover { color: var(--accent); }
.contact-link:hover i {
    background: var(--accent);
    color: white;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}
.social-icons a {
    width: 42px;
    height: 42px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: all var(--transition);
}
.social-icons a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 1rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form textarea { resize: vertical; }
.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}
.footer-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section ul a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-section ul a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 20px var(--accent-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 100;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-5px); }

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-intro { margin-left: auto; margin-right: auto; }
    .hero-buttons, .hero-profession, .hero-stats { justify-content: center; }
    .hero-stats { justify-content: space-around; }
    .resume-container, .contact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0; right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        transform: translateY(-150%);
        transition: transform var(--transition);
        border-bottom: 1px solid var(--border);
    }
    .nav-menu.active { transform: translateY(0); }
    .nav-link { padding: 0.75rem 1rem; }
    .hero { padding-top: 6rem; }
    .hero-visual { max-width: 260px; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 55px; }
    .timeline-dot { left: 12px; }
}

@media (max-width: 480px) {
    .hero-name { font-size: 2rem; }
    .hero-stats { gap: 1rem; flex-wrap: wrap; }
    .stat-number { font-size: 1.5rem; }
    .btn { padding: 0.7rem 1.25rem; font-size: 0.85rem; }
    .filter-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

::selection {
    background: var(--accent);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }