/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    color: #00f5ff;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 245, 255, 0.3);
    border-top: 3px solid #00f5ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-screen.hide {
    opacity: 0;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 245, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00f5ff;
}

.accent {
    color: #ff6b6b;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00f5ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00f5ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
}

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

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
}

.hero-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-text {
    z-index: 2;
}

.greeting {
    display: block;
    font-size: 1.2rem;
    color: #00f5ff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.name {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00f5ff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.typing-container {
    height: 60px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.typing-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: #00f5ff;
    font-weight: 600;
}

.cursor {
    font-size: 1.5rem;
    color: #00f5ff;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, #00f5ff, #0099cc);
    color: #000;
    box-shadow: 0 0 16px #00f5ff55;
    animation: btnPulse 1.8s infinite alternate;
}

.btn-primary:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 245, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #00f5ff;
    color: #00f5ff;
}

.btn-secondary:hover {
    background: #00f5ff;
    color: #000;
    transform: translateY(-2px);
}

.btn-tertiary {
    background: transparent;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
}

.btn-tertiary:hover {
    background: #ff6b6b;
    color: #000;
    transform: translateY(-2px);
}

@keyframes btnPulse {
    from { box-shadow: 0 0 8px #00f5ff33; }
    to { box-shadow: 0 0 24px #ff6b6b77;}
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00f5ff, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3rem;
    color: #000;
}

.profile-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #00f5ff;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff00;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.scroll-indicator span {
    width: 2px;
    height: 20px;
    background: #00f5ff;
    animation: scrollIndicator 2s infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollIndicator {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* SDET Bug Easter Egg */
.sdet-bug-easter-egg {
    position: absolute;
    left: 2vw;
    top: -30px;
    pointer-events: none;
    opacity: .7;
    z-index: 11;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00f5ff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Infinite Neon Header Glow (Optimized) */
.section-title.glow-loop {
    position: relative;
    z-index: 2;
    color: #00f5ff;
}

.section-title.glow-loop::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 12px;
    background: linear-gradient(90deg, #00f5ff, #ff6b6b, #00f5ff);
    background-size: 200% 100%;
    animation: glowMove 6s linear infinite;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.5;
}

@keyframes glowMove {
    to { background-position: -200% 0; }
}

/* Parallax Code Rain Strips (Optimized) */
.parallax-band {
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='200'%3E%3Ctext x='0' y='150' fill='%2300f5ff22' font-size='120' font-family='JetBrains Mono' opacity='.4'%3E1010101010%3C/text%3E%3C/svg%3E") repeat-x;
    background-size: contain;
    background-attachment: scroll;
    filter: blur(2px);
    transform: translateZ(0);
}

/* About Section */
.about {
    padding: 8rem 0;
    background: #111;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00f5ff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #94a3b8;
    font-weight: 500;
}

.current-role-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.current-role-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.current-role-card h3 {
    color: #00f5ff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.role-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.role-item i {
    color: #00f5ff;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.role-item div strong {
    display: block;
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.role-item div span {
    display: block;
    color: #94a3b8;
    font-size: 0.9rem;
}

.location {
    color: #00f5ff !important;
    font-weight: 500 !important;
}

.role-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
}

.highlight i {
    color: #00ff00;
    font-size: 0.9rem;
}

/* Skills Section (Optimized) */
.skills {
    padding: 8rem 0;
    background: linear-gradient(120deg, #0a0a0a 90%, #0c2340 100%);
    box-shadow: 0 0 60px rgba(0,245,255,0.06);
    animation: skillsGlare 8s infinite alternate;
}

@keyframes skillsGlare {
    from { box-shadow: 0 0 40px #00f5ff22;}
    to { box-shadow: 0 0 80px #ff6b6b44;}
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 2px 14px #00f5ff08;
    animation: catPulse 4s infinite alternate cubic-bezier(.62,.18,.36,1.08);
}

@keyframes catPulse {
    0% { box-shadow: 0 2px 18px #00f5ff05;}
    100% { box-shadow: 0 4px 28px #ff6b6b15;}
}

.skill-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    transform: translateY(-5px) scale(1.02);
}

.category-title {
    color: #00f5ff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Enhanced Skill Items with Project Popups */
.skill-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.skill-item:hover {
    background: rgba(0, 245, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
}

.skill-item i {
    color: #00f5ff;
    transition: filter 0.3s cubic-bezier(.71,1.11,.23,1.14), color 0.3s;
}

.skill-item:hover i {
    filter: drop-shadow(0 0 8px #00f5ff);
    color: #00f5ff !important;
}

/* Skill Project Popup */
.skill-projects-popup {
    display: none;
    position: absolute;
    left: 50%;
    top: 110%;
    transform: translateX(-50%) scale(0.98);
    min-width: 250px;
    background: rgba(10, 25, 41, 0.97);
    border: 1.5px solid #00f5ff;
    border-radius: 12px;
    box-shadow: 0 6px 32px #00f5ffd9;
    color: #e2e8f0;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s, transform 0.35s cubic-bezier(.48,1.44,.71,1.11);
    padding: 1rem;
    font-size: 0.97rem;
    font-family: 'JetBrains Mono', monospace;
    animation: popupVibe 2s infinite alternate linear;
}

.skill-item:hover .skill-projects-popup {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1.03);
}

.skill-projects-popup h4 {
    color: #00f5ff;
    font-size: 1.08rem;
    margin-bottom: 0.3em;
    letter-spacing: 1px;
}

.skill-projects-popup ul {
    list-style: disc;
    padding-left: 1.1em;
    margin: 0;
}

.skill-projects-popup a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.19s;
}

.skill-projects-popup a:hover {
    color: #00f5ff;
    text-decoration: underline;
}

@keyframes popupVibe {
    from { box-shadow: 0 2px 12px #00f5ff33; }
    to   { box-shadow: 0 8px 32px #ff6b6b88; }
}

/* Enhanced Projects Section */
.projects {
    padding: 8rem 0;
    background: #111;
}

/* Project Filter Tabs */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0, 245, 255, 0.2);
    color: #00f5ff;
    border-color: #00f5ff;
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Enhanced Project Cards */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #00f5ff, #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

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

.project-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 245, 255, 0.2);
}

/* Project Image with Overlay */
.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.9), rgba(255, 107, 107, 0.9));
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    color: #000;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Project Stats */
.project-stats {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Project Quick Actions */
.project-quick-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.quick-action {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid #000;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}

.quick-action:hover {
    background: #000;
    color: #00f5ff;
    transform: scale(1.1);
}

/* Project Content */
.project-content {
    padding: 2rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-title {
    color: #e2e8f0;
    font-size: 1.3rem;
    font-weight: 600;
    margin-right: 1rem;
}

.project-status {
    flex-shrink: 0;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.completed {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
}

.project-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Dynamic Tech Stack Visualization */
.project-tech-stack {
    margin-bottom: 1.5rem;
}

.tech-orbit {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-badge:hover {
    transform: translateY(-2px) scale(1.05);
}

.tech-badge.primary {
    background: rgba(0, 245, 255, 0.2);
    color: #00f5ff;
    border: 1px solid #00f5ff;
}

.tech-badge.secondary {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.tech-badge.accent {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.tech-badge.neutral {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Project Metrics */
.project-metrics {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.metric {
    flex: 1;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00f5ff;
    margin-bottom: 0.2rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #00f5ff;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    color: #e2e8f0;
}

/* GitHub Stats */
.github-stats {
    padding: 8rem 0;
    background: #0a0a0a;
}

.github-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.github-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.github-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.github-card:hover {
    transform: translateY(-5px);
}

.github-content {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.github-icon {
    font-size: 3rem;
    color: #00f5ff;
    margin-bottom: 1rem;
}

.github-content h3 {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.github-content p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.github-link {
    color: #00f5ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.github-link:hover {
    color: #ff6b6b;
    transform: translateY(-2px);
}

/* Certifications Section */
.certifications {
    padding: 8rem 0;
    background: #111;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.cert-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #00f5ff, #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.cert-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.cert-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00f5ff, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #000;
}

.cert-title {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cert-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cert-issuer {
    color: #00f5ff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Career Goals Section */
.career-goals {
    padding: 8rem 0;
    background: #0a0a0a;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #00f5ff, #ff6b6b);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00f5ff, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    z-index: 2;
    margin: 0 2rem;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    transition: filter 0.3s cubic-bezier(.71,1.11,.23,1.14);
}

.timeline-icon:hover {
    filter: drop-shadow(0 0 8px #00f5ff);
}

/* Pro Tip Tooltip */
.pro-tip-tooltip {
    visibility: hidden;
    opacity: 0;
    width: 220px;
    background: #101f2a;
    color: #ff6b6b;
    text-align: center;
    border-radius: 8px;
    padding: 0.4em 0.6em;
    position: absolute;
    top: -38px;
    left: 100%;
    margin-left: 10px;
    z-index: 101;
    font-size: 0.92rem;
    transition: opacity 0.35s;
    pointer-events: none;
    box-shadow: 0 4px 16px #00f5ff33;
}

.timeline-icon:hover + .pro-tip-tooltip {
    visibility: visible;
    opacity: 1;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: #00f5ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background: linear-gradient(45deg, #00f5ff, #ff6b6b);
    transition: width 2s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.9rem;
    color: #00f5ff;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: #111;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-links {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.contact-links.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-info h3,
.contact-links h3 {
    color: #00f5ff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e2e8f0;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #00f5ff;
}

.contact-item i {
    color: #00f5ff;
    font-size: 1.2rem;
    width: 20px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.2);
}

.social-link i {
    color: #00f5ff;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: #000;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    color: #94a3b8;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-content small {
    display: block;
    margin-top: 1rem;
    color: #00f5ff;
    font-size: 0.8rem;
}

.footer-content i {
    color: #ff6b6b;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #00f5ff, #ff6b6b);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #000;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.3);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design (continued) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tech-orbit {
        justify-content: flex-start;
    }
    
    .project-quick-actions {
        gap: 0.5rem;
    }
    
    .quick-action {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row;
        padding-left: 80px;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
        margin: 0;
    }
    
    .pro-tip-tooltip {
        left: 50px;
        width: 200px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        justify-content: center;
    }

    .sdet-bug-easter-egg {
        display: none;
    }

    .parallax-band {
        background-attachment: scroll;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .skill-projects-popup {
        left: 0;
        transform: none;
        width: 100%;
        min-width: unset;
    }
    
    .project-filters {
        gap: 0.3rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-overlay {
        padding: 1rem;
    }
    
    .stat-item {
        font-size: 0.8rem;
    }
    
    .tech-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .metric-value {
        font-size: 1.2rem;
    }
    
    .metric-label {
        font-size: 0.7rem;
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .matrix-bg {
        transform: translateZ(0);
        will-change: transform;
    }
    
    .project-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .skill-projects-popup {
        animation: none;
    }
    
    .btnPulse,
    .skillsGlare,
    .catPulse,
    .popupVibe,
    .glowMove {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-to-top,
    .project-modal,
    .matrix-bg,
    .parallax-band {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .section-title {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }
    
    .project-card,
    .skill-category,
    .cert-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
