:root {
    --hue: 250;
    --primary: hsl(var(--hue), 85%, 60%);
    --primary-dark: hsl(var(--hue), 85%, 50%);
    --primary-light: hsl(var(--hue), 85%, 70%);
    --secondary: hsl(190, 85%, 60%);
    --text-main: hsl(220, 15%, 10%);
    --text-muted: hsl(220, 10%, 45%);
    --bg-body: hsl(220, 30%, 98%);
    --bg-alt: hsl(220, 30%, 94%);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-card: rgba(255, 255, 255, 0.5);
    --border-glass: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
    --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --nav-height: 80px;
    --container: 1140px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme {
    --text-main: hsl(220, 30%, 95%);
    --text-muted: hsl(220, 20%, 70%);
    --bg-body: hsl(222, 47%, 11%);
    --bg-alt: hsl(222, 47%, 9%);
    --bg-glass: rgba(15, 23, 42, 0.7);
    --bg-card: rgba(30, 41, 59, 0.4);
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1024px) {
    body {
        cursor: none;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 4px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
}

button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

::selection {
    background: var(--primary);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

@media (min-width: 1024px) {
    .cursor-dot,
    .cursor-outline {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: 9999;
        pointer-events: none;
        will-change: transform;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--primary);
    }

    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 2px solid var(--primary);
        opacity: 0.5;
        transition: width var(--transition-fast), height var(--transition-fast);
    }
}

@media (max-width: 1023px) {
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.dot {
    color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--border-glass);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--primary);
    color: white;
}

.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s linear;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    z-index: 1100;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    opacity: 0.85;
    padding: 4px 0;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    opacity: 1;
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

#theme-toggle {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    font-size: 1.125rem;
}

#theme-toggle:hover,
#theme-toggle:focus-visible {
    background: var(--primary);
    color: white;
    transform: rotate(15deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    opacity: 0.6;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 20%;
    right: 15%;
    animation-delay: 5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.greeting {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.role {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    min-height: 48px;
}

.edu-credential {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.edu-detail {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.typing-text {
    color: var(--primary);
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.bio-short {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.cta-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all var(--transition-base);
}

.social-links a:hover,
.social-links a:focus-visible {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero-visual {
    perspective: 1000px;
}

.tilt-card {
    transition: transform var(--transition-base);
    transform-style: preserve-3d;
}

.code-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
}

.card-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.card-header .red {
    background: #ff5f56;
}

.card-header .yellow {
    background: #ffbd2e;
}

.card-header .green {
    background: #27c93f;
}

.card-body {
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.c-purple {
    color: #c678dd;
}

.c-blue {
    color: #61afef;
}

.c-green {
    color: #98c379;
}

.c-orange {
    color: #d19a66;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--text-muted);
    opacity: 0.8;
    transition: opacity var(--transition-base);
}

.scroll-down:hover,
.scroll-down:focus-visible {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--text-muted);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 22px;
        opacity: 0;
    }
}

.stats-section {
    padding: var(--spacing-lg) 0;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
    gap: var(--spacing-lg);
}

.stat-item h3 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: var(--bg-alt);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: subtleFloat 6s ease-in-out infinite;
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-glass);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.years {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.text {
    font-size: 0.75rem;
    line-height: 1.4;
}

.about-desc {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    color: var(--text-muted);
}

.education-info {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-left: 4px solid var(--primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.education-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.education-degree {
    font-size: 1.125rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.education-degree strong {
    font-weight: 700;
}

.education-institution {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.education-year {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline {
    margin: var(--spacing-lg) 0;
}

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.date {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.skills-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary);
}

.skill-box {
    margin-bottom: var(--spacing-md);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    font-size: 0.9375rem;
}

.progress-line {
    width: 100%;
    height: 8px;
    background: var(--bg-alt);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-line span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.tool-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-card);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    transition: all var(--transition-base);
}

.tool-card:hover,
.tool-card:focus-within {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.tool-card i {
    font-size: 1.75rem;
    color: var(--secondary);
}

.tool-card span {
    font-weight: 500;
    font-size: 0.9375rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    transition: all var(--transition-base);
    font-weight: 500;
    font-size: 0.9375rem;
}

.filter-btn:hover,
.filter-btn:focus-visible {
    border-color: var(--primary);
}

.filter-btn.active,
.filter-btn[aria-pressed="true"] {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    transition: all var(--transition-base);
    opacity: 1;
    transform: scale(1);
}

.project-card:hover,
.project-card:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay,
.project-card:focus-within .project-overlay {
    opacity: 1;
}

.icon-link {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.icon-link:hover,
.icon-link:focus-visible {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.project-info {
    padding: var(--spacing-md);
}

.category {
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info h3 {
    margin: var(--spacing-xs) 0;
    font-size: 1.375rem;
}

.project-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.tags span {
    font-size: 0.8125rem;
    padding: 6px 12px;
    background: var(--bg-alt);
    border-radius: 12px;
    opacity: 0.9;
}

.center-btn {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--spacing-xl);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info > p {
    opacity: 0.95;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.info-item .icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item .details span {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.info-item a {
    color: white;
    opacity: 0.95;
    font-weight: 500;
}

.info-item a:hover,
.info-item a:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-glass);
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color var(--transition-base);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 14px;
    color: var(--text-muted);
    transition: all var(--transition-base);
    pointer-events: none;
}

.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: -16px;
    font-size: 0.8125rem;
    color: var(--primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.error-msg {
    position: absolute;
    bottom: -22px;
    left: 0;
    font-size: 0.8125rem;
    color: #ff5f56;
    display: none;
}

.form-status {
    margin-top: var(--spacing-sm);
    font-weight: 500;
    text-align: center;
}

.submit-btn {
    width: 100%;
    margin-top: var(--spacing-sm);
}

footer {
    background: var(--bg-alt);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: 80px;
    text-align: center;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
}

.footer-logo p {
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all var(--transition-base);
    font-size: 1.125rem;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-md);
    font-size: 1.25rem;
}

.back-to-top.active {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-text:nth-child(2) {
    animation-delay: 0.1s;
}

.reveal-text:nth-child(3) {
    animation-delay: 0.2s;
}

.reveal-text:nth-child(4) {
    animation-delay: 0.3s;
}

.reveal-text:nth-child(5) {
    animation-delay: 0.4s;
}

.reveal-text:nth-child(6) {
    animation-delay: 0.5s;
}

@media (max-width: 992px) {
    .hero-content,
    .about-grid,
    .skills-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero-visual {
        display: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .cta-group {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-body);
        z-index: 1050;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-menu.active {
        transform: translateY(0);
    }

    .mobile-nav-links li {
        margin: var(--spacing-md) 0;
        text-align: center;
    }

    .mobile-nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-main);
    }

    .name {
        font-size: clamp(2.25rem, 10vw, 3rem);
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2rem);
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .services-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .scroll-down {
        display: none;
    }

    .edu-credential {
        font-size: 1rem;
    }

    .edu-detail {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        gap: var(--spacing-xs);
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
    }

    .contact-info,
    .contact-form {
        padding: var(--spacing-md);
    }
}