:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --background-color: #ffffff;
    --surface-color: #f9fafb;
    --card-bg: #ffffff;
    --text-color: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}
[data-theme="dark"] {
    --primary-color: #818cf8;
    --primary-dark: #6366f1;
    --primary-light: #a5b4fc;
    --secondary-color: #f472b6;
    --background-color: #111827;
    --surface-color: #1f2937;
    --card-bg: #1f2937;
    --text-color: #f3f4f6;
    --text-secondary: #9ca3af;
    --border-color: #374151;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: var(--font-sans);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color var(--transition-base), color var(--transition-base);
}
a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.5s ease;
    overflow: hidden;
}
.splash-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}
.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease;
}
.splash-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: white;
}
.splash-text {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: white;
    opacity: 0.9;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
    background: var(--background-color);
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: white;
    border-radius: 2px;
}
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
}
.btn-primary {
    background: var(--card-bg);
    color: var(--text-color);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}
.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}
.nav-link {
    position: relative;
    font-weight: 500;
    transition: color var(--transition-fast);
}
.nav-link:hover {
    color: var(--primary-color);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    position: relative;
    transition: all var(--transition-base);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: all var(--transition-base);
}
.hamburger::before {
    top: -8px;
}
.hamburger::after {
    top: 8px;
}
.theme-toggle {
    background: var(--surface-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    margin-left: 2rem;
}
.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(20deg);
}
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}
.video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
                      radial-gradient(circle at 80% 80%, white 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.video-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 2;
}
.video-mute-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.video-mute-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--primary-color);
    transform: scale(1.1);
}
.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    animation: fadeInUp 0.8s ease;
}
.hero-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 5px solid white;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}
.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}
.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-secondary);
    font-size: 1.5rem;
}
.about-section {
    background: var(--surface-color);
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
}
.about-text {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--card-shadow);
}
.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}
.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.about-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--surface-color);
    border-radius: var(--radius-md);
}
.about-detail i {
    color: var(--primary-color);
    font-size: 1.25rem;
}
.about-text-centered {
    background: transparent;
    box-shadow: none;
    text-align: center;
    padding: 0;
}
.about-text-centered p {
    text-align: center;
}
.skills-category {
    margin-bottom: 3rem;
}
.skills-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.skill-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-base);
}
.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.skill-name {
    font-weight: 600;
    font-size: 1.125rem;
}
.skill-level {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    background: var(--surface-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: capitalize;
}
.skill-progress {
    display: none;
}
.skill-progress-bar {
    display: none;
}
.skill-category-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.experience-section {
    background: var(--surface-color);
}
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 3rem;
    animation: fadeInLeft 0.6s ease;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--background-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}
.timeline-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-base);
}
.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}
.timeline-header {
    margin-bottom: 1rem;
}
.timeline-position {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}
.timeline-company {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
}
.timeline-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.timeline-date,
.timeline-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.timeline-date i,
.timeline-location i {
    color: var(--primary-color);
}
.timeline-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.timeline-achievements {
    list-style: none;
    margin-bottom: 1rem;
}
.timeline-achievements li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-secondary);
}
.timeline-achievements li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
.timeline-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.tech-tag {
    padding: 0.375rem 0.75rem;
    background: var(--surface-color);
    color: var(--text-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.project-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-base);
    cursor: pointer;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}
.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.project-card:hover .project-image {
    transform: scale(1.05);
}
.project-content {
    padding: 1.5rem;
}
.project-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.project-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.project-features {
    list-style: none;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.project-features li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}
.project-links {
    display: flex;
    gap: 1rem;
}
.project-link {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    background: var(--surface-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
}
.project-link:hover {
    background: var(--primary-color);
    color: white;
}
.certifications-section {
    background: var(--surface-color);
}
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.certification-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-base);
    text-align: center;
}
.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.certification-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    object-fit: contain;
}
.certification-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.certification-issuer {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.certification-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.certification-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.certification-credential {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-base);
}
.certification-credential:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}
.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.github-stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all var(--transition-base);
}
.github-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.github-stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}
.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}
.github-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.github-languages,
.github-activity {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--card-shadow);
}
.github-languages h3,
.github-activity h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.languages-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.language-name {
    font-weight: 600;
    color: var(--text-color);
}
.language-percentage {
    color: var(--primary-color);
    font-weight: 600;
}
.language-bar {
    height: 8px;
    background: var(--surface-color);
    border-radius: 10px;
    overflow: hidden;
}
.language-bar-fill {
    height: 100%;
    background: white;
    border-radius: 10px;
    transition: width 1s ease;
}
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.activity-item {
    padding: 1rem;
    background: var(--surface-color);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}
.activity-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.activity-repo {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.activity-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.contribution-graph-wrapper {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--card-shadow);
}
.contribution-graph-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.contribution-graph {
    overflow-x: auto;
    padding: 1rem 0;
}
.contribution-weeks {
    display: flex;
    gap: 3px;
    min-width: fit-content;
}
.contribution-week {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.contribution-day {
    width: 12px;
    height: 12px;
    background: var(--surface-color);
    border-radius: 2px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.contribution-day[data-level="0"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.contribution-day[data-level="1"] {
    background: rgba(99, 102, 241, 0.3);
}
.contribution-day[data-level="2"] {
    background: rgba(99, 102, 241, 0.5);
}
.contribution-day[data-level="3"] {
    background: rgba(99, 102, 241, 0.7);
}
.contribution-day[data-level="4"] {
    background: var(--primary-color);
}
.contribution-day:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--primary-color);
}
.contribution-legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.contribution-legend-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.year-selector {
    display: flex;
    gap: 0.5rem;
}
.year-button {
    padding: 0.5rem 1rem;
    background: var(--surface-color);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.year-button:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-color);
    border-color: var(--primary-color);
}
.year-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes countUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.section {
    animation: fadeIn 0.6s ease-out;
}
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}
.hero-image {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.cert-card,
.project-card,
.timeline-item,
.skill-card {
    animation: fadeInUp 0.6s ease-out both;
}
.cert-card:nth-child(1),
.project-card:nth-child(1),
.skill-card:nth-child(1) { animation-delay: 0.1s; }
.cert-card:nth-child(2),
.project-card:nth-child(2),
.skill-card:nth-child(2) { animation-delay: 0.2s; }
.cert-card:nth-child(3),
.project-card:nth-child(3),
.skill-card:nth-child(3) { animation-delay: 0.3s; }
.cert-card:nth-child(4),
.project-card:nth-child(4),
.skill-card:nth-child(4) { animation-delay: 0.4s; }
.cert-card:nth-child(5),
.project-card:nth-child(5),
.skill-card:nth-child(5) { animation-delay: 0.5s; }
.cert-card:nth-child(6),
.project-card:nth-child(6),
.skill-card:nth-child(6) { animation-delay: 0.6s; }
.github-stat-card {
    animation: scaleIn 0.5s ease-out both;
}
.github-stat-card:nth-child(1) { animation-delay: 0.1s; }
.github-stat-card:nth-child(2) { animation-delay: 0.2s; }
.github-stat-card:nth-child(3) { animation-delay: 0.3s; }
.github-stat-card:nth-child(4) { animation-delay: 0.4s; }
html {
    scroll-behavior: smooth;
}
.cert-card,
.project-card,
.skill-card,
.github-stat-card {
    transition: all 0.3s ease;
}
.cert-card:hover,
.project-card:hover,
.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
}
.github-stat-card:hover {
    transform: translateY(-5px) scale(1.05);
}
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: white;
    z-index: 9999;
    transition: width 0.1s ease;
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
.footer {
    background: var(--surface-color);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-links {
    display: flex;
    gap: 1rem;
}
.footer-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}
.footer-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}
.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--surface-color);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
