f/* CSS Variables */
:root {
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --accent-primary: #38bdf8;
    --accent-secondary: #0ea5e9;
}

.light-theme {
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-primary: #f8fafc;
    --bg-secondary: #e2e8f0;
    --accent-primary: #2563eb;
    --accent-secondary: #1d4ed8;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: radial-gradient(circle at 20% 20%, #0b1023, #050814 80%);
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

body.light-theme {
    color: #1e293b;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Glassmorphic Effects */
.glass-card, .glass-nav, .glass-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.light-theme .glass-card, .light-theme .glass-nav, .light-theme .glass-footer {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    min-height: 70px;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    max-height: 60px;
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
    object-fit: contain;
}

.nav-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #38bdf8;
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
}

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

.btn-resume, .btn-schedule {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-resume {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-resume:hover {
    background: rgba(56, 189, 248, 0.1);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

.btn-schedule {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    border: 1px solid transparent;
}

.btn-schedule:hover {
    background: linear-gradient(45deg, #0ea5e9, #2563eb);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #cbd5e1;
    transition: all 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: static;
        transform: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-logo {
        max-height: 30px;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Main Content */
main {
    margin-top: 50px;
    min-height: calc(100vh - 100px);
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

/* Sections */
section {
    padding: 2rem 0;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-image {
    flex-shrink: 0;
}

.hero-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
    }

    .tree-nodes {
        flex-direction: column;
        gap: 1rem;
    }

    .tree-line {
        height: 1rem;
    }
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-link, .research-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border-radius: 25px;
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    position: relative;
    overflow: hidden;
    color: var(--accent-primary);
}

.btn-primary::before, .btn-secondary::before, .btn-outline::before, .btn-link::before, .research-see-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before, .btn-outline:hover::before, .btn-link:hover::before, .research-see-all:hover::before {
    left: 100%;
}

.btn-primary:hover, .btn-secondary:hover, .btn-outline:hover, .btn-link:hover, .research-see-all:hover {
    color: var(--accent-secondary);
    background: rgba(138, 43, 226, 0.05);
    border-color: rgba(138, 43, 226, 0.3);
    text-decoration: none;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.btn-primary {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: #2563eb;
}

.btn-primary:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.5);
    color: #1d4ed8;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.5);
    color: #0ea5e9;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.5);
    color: #0ea5e9;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.btn-link {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-link:hover {
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* About Preview Tree */
.about-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.tree-node {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    transition: transform 0.3s ease;
}

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

.tree-node.root {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
}

.tree-node.root h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.tree-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}



.tree-line {
    width: 2px;
    height: 2rem;
    background: var(--accent-primary);
}

.tree-branches {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.tree-nodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.tree-node.summary, .tree-node.education, .tree-node.research-interests, .tree-node.current-projects, .tree-node.outside-work, .tree-node.achievements {
    min-width: 250px;
}

.tree-node.summary {
    transform: rotate(-2deg);
}

.tree-node.education {
    transform: rotate(2deg);
}

.tree-node.research-interests {
    transform: rotate(-1deg);
}

.tree-node.current-projects {
    transform: rotate(1deg);
}

.tree-node.outside-work {
    transform: rotate(-3deg);
}

.tree-node.achievements {
    transform: rotate(3deg);
}

.tree-node h3 {
    cursor: pointer;
    transition: color 0.3s ease;
}

.tree-node h3:hover {
    color: var(--accent-primary);
}

.tree-node h3.expanded {
    color: var(--accent-secondary);
}

.tree-node p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.tree-node p.expanded {
    max-height: 500px;
}

.tree-node.education h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Featured Projects Section */
.featured-projects {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}





.projects-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.projects-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.projects-subheading {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 25px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
    color: #ffffff;
}

/* Category Section */
.category-section {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.category-heading {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

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

/* Grid Layouts */
.courses-grid, .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Course Highlights Section */
.course-highlights {
    padding: 2rem 0;
}



.course-header {
    text-align: center;
    margin-bottom: 3rem;
}

.course-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.course-subheading {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.course-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    height: fit-content;
}

.course-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(56, 189, 248, 0.4);
}

.course-content {
    position: relative;
    z-index: 2;
}

.course-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.course-title:hover {
    animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.course-meta {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.course-description {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.completion-date {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.certificate-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    position: relative;
    overflow: hidden;
}

.certificate-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
    transition: left 0.5s ease;
}

.certificate-link:hover::before {
    left: 100%;
}

.certificate-link:hover {
    color: var(--accent-secondary);
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.3);
    text-decoration: none;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Cards */
.glass-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(56, 189, 248, 0.4);
}

.project-image {
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    margin-bottom: 1rem;
    position: relative;
}

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

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

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.project-title:hover {
    animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.category-label {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(56, 189, 248, 0.2);
    transform: scale(1.05);
}

.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.btn-demo, .btn-code {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    justify-content: center;
}

.btn-demo {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-demo:hover::before {
    left: 100%;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.btn-code {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent-primary);
}

.btn-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(56, 189, 248, 0.1);
    transition: left 0.5s ease;
}

.btn-code:hover::before {
    left: 100%;
}

.btn-code:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
    color: var(--accent-secondary);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.light-theme .project-links a {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.2);
    color: #2563eb;
}

.light-theme .project-links a:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: #1d4ed8;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Skills Snapshot Section */
.skills-snapshot {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}





.skills-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.skills-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.skills-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Section */
.category-section {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.category-heading {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

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

.skill-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: var(--animation-delay);
    opacity: 0;
    transform: translateY(30px);
    height: fit-content;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(56, 189, 248, 0.4);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.skill-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(45deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.skill-name:hover {
    animation: shimmer 2s ease-in-out;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00B4D8, #7209B7, #8B5CF6);
    border-radius: 6px;
    animation: fillProgress 2s ease-out;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes fillProgress {
    0% {
        width: 0%;
    }
    100% {
        width: var(--progress-width);
    }
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

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

.proficiency {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-top: 0.5rem;
}

.light-theme .skill-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-theme .progress-bar {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Key Metrics Section */
.key-metrics {
    padding: 2rem 0;
}



.metrics-header {
    text-align: center;
    margin-bottom: 3rem;
}

.metrics-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.metrics-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: attr(data-accent);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px attr(data-accent));
}

.metric-card:hover .metric-icon {
    filter: drop-shadow(0 0 15px attr(data-accent));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: attr(data-accent);
    position: relative;
}

.metric-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s ease-in-out infinite;
    pointer-events: none;
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Responsive for Key Metrics */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .metric-card {
        padding: 1.5rem;
    }

    .metric-icon {
        font-size: 2rem;
    }

    .metric-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* Recent Research Section */
.recent-research {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}



.research-header {
    text-align: center;
    margin-bottom: 4rem;
}

.research-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.research-subheading {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.research-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    height: fit-content;
    overflow: hidden;
}

.research-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.research-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 18px;
}

.research-card:hover .research-card-glow {
    opacity: 1;
    animation: auroraGlow 3s ease-in-out infinite;
}

@keyframes auroraGlow {
    0%, 100% {
        background: linear-gradient(135deg, rgba(0, 191, 255, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(0, 191, 255, 0.2) 0%, rgba(138, 43, 226, 0.2) 100%);
    }
}

.research-content {
    position: relative;
    z-index: 2;
}

.research-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.research-title:hover {
    animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.research-content .authors {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.research-description {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.research-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
    margin-bottom: 1.5rem;
}

.research-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.research-date {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doi-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    position: relative;
    overflow: hidden;
}

.doi-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
    transition: left 0.5s ease;
}

.doi-link:hover::before {
    left: 100%;
}

.doi-link:hover {
    color: var(--accent-secondary);
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.3);
    text-decoration: none;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.research-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(56, 189, 248, 0.3);
    border-radius: 50%;
    animation: floatParticle 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 0.6;
    }
}

.research-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0 auto;
    padding: 1rem 2rem;
    border-radius: 25px;
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    position: relative;
    overflow: hidden;
}

.research-see-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
    transition: left 0.5s ease;
}

.research-see-all:hover::before {
    left: 100%;
}

.research-see-all:hover {
    color: var(--accent-secondary);
    background: rgba(138, 43, 226, 0.05);
    border-color: rgba(138, 43, 226, 0.3);
    text-decoration: none;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .recent-research {
        padding: 80px 0;
    }

    .research-header h2 {
        font-size: 2.5rem;
    }

    .research-subheading {
        font-size: 1rem;
    }

    .research-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .research-card {
        padding: 2rem;
    }

    .research-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .doi-link {
        align-self: stretch;
        text-align: center;
    }

    .research-see-all {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #38bdf8;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 2rem;
    width: 1rem;
    height: 1rem;
    background: #38bdf8;
    border-radius: 50%;
}

.experience-dates {
    color: #94a3b8;
    margin-bottom: 1rem;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info h2, .contact-form h2 {
    margin-bottom: 1rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

.light-theme .form-group input, .light-theme .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    color: #22c55e;
}

/* Footer */
.glass-footer {
    padding: 3rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    font-family: 'Inter', 'Manrope', sans-serif;
    position: relative;
    overflow: hidden;
    animation: nebulaPulse 8s ease-in-out infinite;
}

.light-theme .glass-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    animation: nebulaPulseLight 8s ease-in-out infinite;
}

.light-theme .glass-footer::before {
    background:
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    animation: nebulaPulseLight 12s ease-in-out infinite;
}

.glass-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 191, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.06) 0%, transparent 50%);
    animation: nebulaPulse 12s ease-in-out infinite;
    z-index: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Floating Stars in Footer */
.glass-footer .stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.glass-footer .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
}

.glass-footer .star:nth-child(1) { top: 10%; left: 10%; width: 2px; height: 2px; animation-delay: 0s; }
.glass-footer .star:nth-child(2) { top: 20%; left: 80%; width: 1px; height: 1px; animation-delay: 0.5s; }
.glass-footer .star:nth-child(3) { top: 30%; left: 20%; width: 3px; height: 3px; animation-delay: 1s; }
.glass-footer .star:nth-child(4) { top: 40%; left: 70%; width: 1px; height: 1px; animation-delay: 1.5s; }
.glass-footer .star:nth-child(5) { top: 60%; left: 15%; width: 2px; height: 2px; animation-delay: 2s; }
.glass-footer .star:nth-child(6) { top: 70%; left: 85%; width: 1px; height: 1px; animation-delay: 2.5s; }
.glass-footer .star:nth-child(7) { top: 80%; left: 30%; width: 2px; height: 2px; animation-delay: 3s; }
.glass-footer .star:nth-child(8) { top: 90%; left: 60%; width: 1px; height: 1px; animation-delay: 3.5s; }

/* Shooting Stars in Footer */
.glass-footer .shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, white, transparent);
    border-radius: 50%;
    animation: shootingStar 3s linear infinite;
}

.glass-footer .shooting-star:nth-child(1) { top: 20%; left: 0%; animation-delay: 0s; }
.glass-footer .shooting-star:nth-child(2) { top: 50%; left: 0%; animation-delay: 2s; }
.glass-footer .shooting-star:nth-child(3) { top: 80%; left: 0%; animation-delay: 4s; }

/* Galaxies in Footer */
.glass-footer .galaxies {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.glass-footer .galaxy {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, rgba(75, 0, 130, 0.2) 50%, transparent 70%);
    animation: galaxyRotate 60s linear infinite;
}

.glass-footer .galaxy:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.glass-footer .galaxy:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 60%;
    right: 10%;
    animation-delay: 30s;
    animation-direction: reverse;
}

/* Nebula Clouds in Footer */
.glass-footer .nebula-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.glass-footer .nebula {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 191, 255, 0.1) 0%, rgba(138, 43, 226, 0.15) 50%, transparent 80%);
    animation: nebulaDrift 40s ease-in-out infinite;
}

.glass-footer .nebula:nth-child(1) {
    width: 500px;
    height: 300px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.glass-footer .nebula:nth-child(2) {
    width: 400px;
    height: 250px;
    top: 50%;
    right: 20%;
    animation-delay: 20s;
}

.glass-footer .nebula:nth-child(3) {
    width: 350px;
    height: 200px;
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

/* Cosmic Dust in Footer */
.glass-footer .cosmic-dust {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 75%, rgba(0, 191, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    animation: nebulaPulse 15s ease-in-out infinite;
    z-index: 0;
}

.light-theme .glass-footer .star {
    background: #64748b;
}

.light-theme .glass-footer .shooting-star {
    background: linear-gradient(45deg, #e2e8f0, transparent);
}

.light-theme .glass-footer .galaxy {
    background: radial-gradient(circle, rgba(173, 216, 230, 0.3) 0%, rgba(135, 206, 250, 0.2) 50%, transparent 70%);
}

.light-theme .glass-footer .nebula {
    background: radial-gradient(ellipse, rgba(173, 216, 230, 0.1) 0%, rgba(221, 160, 221, 0.15) 50%, transparent 80%);
}

.light-theme .glass-footer .cosmic-dust {
    background:
        radial-gradient(circle at 25% 75%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(20, 184, 166, 0.04) 0%, transparent 50%);
    animation: nebulaPulseLight 15s ease-in-out infinite;
}

/* Orbiting Planets in Footer */
.glass-footer .planet-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.1);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.glass-footer .sun {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffd700, #ff8c00, #ff4500);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.glass-footer .planet {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.glass-footer .planet:nth-child(1) {
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #ee5a24);
    animation: orbit 15s linear infinite;
}

.glass-footer .planet:nth-child(2) {
    background: radial-gradient(circle at 30% 30%, #4ecdc4, #44a08d);
    animation: orbit 25s linear infinite reverse;
    width: 15px;
    height: 15px;
    top: -7.5px;
}

.glass-footer .planet:nth-child(3) {
    background: radial-gradient(circle at 30% 30%, #a8e6cf, #7fcdcd);
    animation: orbit 35s linear infinite;
    width: 12px;
    height: 12px;
    top: -6px;
}

.glass-footer .planet:nth-child(4) {
    background: radial-gradient(circle at 30% 30%, #dda0dd, #ba55d3);
    animation: orbit 45s linear infinite reverse;
    width: 18px;
    height: 18px;
    top: -9px;
}

/* Orbital Light in Footer */
.glass-footer .orbital-light {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(0, 191, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
    animation: orbitalGlow 8s ease-in-out infinite;
    z-index: 0;
}

.light-theme .glass-footer .sun {
    background: radial-gradient(circle at 30% 30%, #fff8dc, #ffe4b5, #ffdab9);
    box-shadow: 0 0 20px rgba(255, 250, 205, 0.5);
}

.light-theme .glass-footer .planet:nth-child(1) {
    background: radial-gradient(circle at 30% 30%, #ffb6c1, #ff69b4);
}

.light-theme .glass-footer .planet:nth-child(2) {
    background: radial-gradient(circle at 30% 30%, #98fb98, #32cd32);
}

.light-theme .glass-footer .planet:nth-child(3) {
    background: radial-gradient(circle at 30% 30%, #87ceeb, #4682b4);
}

.light-theme .glass-footer .planet:nth-child(4) {
    background: radial-gradient(circle at 30% 30%, #dda0dd, #ba55d3);
}

.light-theme .glass-footer .orbital-light {
    border-color: rgba(30, 144, 255, 0.3);
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    animation: fadeInUp 0.8s ease-out;
}

.footer-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-name:hover {
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

.footer-bio {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.light-theme .footer-bio {
    color: #64748b;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #38bdf8;
    transform: scale(1.1);
}

.social-icons a:nth-child(1):hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.social-icons a:nth-child(2):hover {
    color: #0077b5;
}

.social-icons a:nth-child(3):hover {
    color: #00bfff;
}

.footer-links {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.footer-links h4 {
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.light-theme .footer-links h4 {
    color: #1e293b;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.light-theme .footer-links a {
    color: #64748b;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #38bdf8;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.light-theme .contact-info p {
    color: #64748b;
}

.contact-info a {
    color: #38bdf8;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.availability-badge {
    margin-top: 1rem;
}

.availability-badge span {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: #22c55e;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.availability-badge span:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
}

.footer-bottom {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.bottom-content p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
}

.light-theme .bottom-content p {
    color: #64748b;
}

.back-to-top {
    color: #38bdf8;
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    color: #0ea5e9;
    transform: translateY(-3px);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .back-to-top {
        order: -1;
    }
}

@media (max-width: 480px) {
    .glass-footer {
        padding: 2rem 0;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .footer-name {
        font-size: 1.3rem;
    }

    .footer-bio {
        font-size: 0.9rem;
    }

    .social-icons {
        gap: 0.8rem;
    }

    .social-icons a {
        font-size: 1rem;
    }
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: #38bdf8;
    border-color: #38bdf8;
}

/* Projects Page Styles */
.projects-page {
    background: transparent;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.page-title-section {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #38bdf8, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.title-underline {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #a855f7);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
    animation: underlinePulse 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.6)); }
}

@keyframes underlinePulse {
    0% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.5); }
    100% { box-shadow: 0 0 30px rgba(56, 189, 248, 0.8); }
}

/* Main Category Filters */
.main-category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.category-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.1), rgba(168, 85, 247, 0.1));
    transition: left 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    border-color: rgba(56, 189, 248, 0.5);
}

.category-btn.active {
    background: linear-gradient(45deg, #38bdf8, #a855f7);
    border-color: transparent;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
    color: #ffffff;
}

/* Project Sections */
.project-section {
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.project-section.hidden {
    opacity: 0;
    transform: translateY(30px);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Subcategory Tabs */
.subcategory-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hidden {
    display: none;
}

.sub-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sub-tab:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
    color: #38bdf8;
}

.sub-tab.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.5);
    color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

/* Subcategory Content */
.subcategory-content {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

.subcategory-content.hidden {
    display: none;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    margin-bottom: 2rem;
    place-items: center;
}

/* Responsive Projects Grid */
@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Project Cards */
.project-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    min-height: 320px;
    max-height: 400px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
    border-color: rgba(56, 189, 248, 0.3);
}

.project-image {
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

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

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

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.project-description {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(56, 189, 248, 0.2);
    transform: scale(1.05);
}

.project-stacks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stack-chip {
    background: rgba(56, 189, 248, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.1);
}

.stack-chip:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

.project-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    margin-top: auto;
}

.btn-demo, .btn-code {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    justify-content: center;
}

.btn-demo {
    background: linear-gradient(45deg, #38bdf8, #0ea5e9);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.btn-code {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.btn-code:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
    color: #0ea5e9;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .projects-grid, .courses-grid, .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 1rem;
    }

    .timeline-item::before {
        left: -1rem;
    }

    /* Projects Page Responsive */
    .page-title {
        font-size: 2.5rem;
    }

    .main-category-filters {
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .subcategory-tabs {
        gap: 0.25rem;
    }

    .sub-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Astronomical Animations */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(56, 189, 248, 0.6);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shootingStar {
    0% {
        transform: translateX(-100px) translateY(-100px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) translateY(100vh);
        opacity: 0;
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(150px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

@keyframes nebulaPulse {
    0%, 100% {
        background: radial-gradient(circle at 20% 30%, rgba(0, 191, 255, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.06) 0%, transparent 50%);
    }
    50% {
        background: radial-gradient(circle at 30% 20%, rgba(0, 191, 255, 0.15) 0%, transparent 60%),
                    radial-gradient(circle at 70% 80%, rgba(138, 43, 226, 0.18) 0%, transparent 60%),
                    radial-gradient(circle at 40% 60%, rgba(255, 20, 147, 0.12) 0%, transparent 60%);
    }
}

@keyframes nebulaPulseLight {
    0%, 100% {
        background: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    }
    50% {
        background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
                    radial-gradient(circle at 70% 80%, rgba(20, 184, 166, 0.15) 0%, transparent 60%),
                    radial-gradient(circle at 40% 60%, rgba(168, 85, 247, 0.12) 0%, transparent 60%);
    }
}

@keyframes galaxyRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes nebulaDrift {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateX(20px) translateY(-10px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-10px) translateY(15px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translateX(-20px) translateY(-5px) scale(1.05);
        opacity: 0.6;
    }
}

@keyframes orbitalGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 191, 255, 0.2), inset 0 0 20px rgba(0, 191, 255, 0.1);
        border-color: rgba(0, 191, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 191, 255, 0.4), inset 0 0 40px rgba(0, 191, 255, 0.2);
        border-color: rgba(0, 191, 255, 0.5);
    }
}

/* Hero Section with Astronomical Effects */
.hero-section {
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: nebulaPulse 8s ease-in-out infinite;
}

.light-theme .hero-section {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
    animation: nebulaPulseLight 8s ease-in-out infinite;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 191, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.06) 0%, transparent 50%);
    animation: nebulaPulse 12s ease-in-out infinite;
    z-index: 1;
}

.light-theme .hero-section::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    animation: nebulaPulseLight 12s ease-in-out infinite;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-image img {
    animation: pulseGlow 2s ease-in-out infinite;
    position: relative;
}

.hero-image img::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(56, 189, 248, 0.3), transparent);
    animation: rotate 3s linear infinite;
    z-index: -1;
}

/* Floating Stars */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
}

.star:nth-child(1) { top: 10%; left: 10%; width: 2px; height: 2px; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 80%; width: 1px; height: 1px; animation-delay: 0.5s; }
.star:nth-child(3) { top: 30%; left: 20%; width: 3px; height: 3px; animation-delay: 1s; }
.star:nth-child(4) { top: 40%; left: 70%; width: 1px; height: 1px; animation-delay: 1.5s; }
.star:nth-child(5) { top: 60%; left: 15%; width: 2px; height: 2px; animation-delay: 2s; }
.star:nth-child(6) { top: 70%; left: 85%; width: 1px; height: 1px; animation-delay: 2.5s; }
.star:nth-child(7) { top: 80%; left: 30%; width: 2px; height: 2px; animation-delay: 3s; }
.star:nth-child(8) { top: 90%; left: 60%; width: 1px; height: 1px; animation-delay: 3.5s; }

.light-theme .star {
    background: #64748b;
}

/* Shooting Stars */
.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, white, transparent);
    border-radius: 50%;
    animation: shootingStar 3s linear infinite;
}

.shooting-star:nth-child(1) { top: 20%; left: 0%; animation-delay: 0s; }
.shooting-star:nth-child(2) { top: 50%; left: 0%; animation-delay: 2s; }
.shooting-star:nth-child(3) { top: 80%; left: 0%; animation-delay: 4s; }

.light-theme .shooting-star {
    background: linear-gradient(45deg, #e2e8f0, transparent);
}

/* Orbiting Planets */
.planet-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.1);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.light-theme .planet-orbit {
    border-color: rgba(37, 99, 235, 0.1);
}

.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffd700, #ff8c00, #ff4500);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: rotate 20s linear infinite;
    z-index: 2;
}

.light-theme .sun {
    background: radial-gradient(circle at 30% 30%, #fff8dc, #ffe4b5, #ffdab9);
    box-shadow: 0 0 20px rgba(255, 250, 205, 0.5);
}

.planet {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.planet:nth-child(1) {
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #ee5a24);
    animation: orbit 15s linear infinite;
}

.planet:nth-child(2) {
    background: radial-gradient(circle at 30% 30%, #4ecdc4, #44a08d);
    animation: orbit 25s linear infinite reverse;
    width: 15px;
    height: 15px;
    top: -7.5px;
}

.planet:nth-child(3) {
    background: radial-gradient(circle at 30% 30%, #a8e6cf, #7fcdcd);
    animation: orbit 35s linear infinite;
    width: 12px;
    height: 12px;
    top: -6px;
}

.planet:nth-child(4) {
    background: radial-gradient(circle at 30% 30%, #dda0dd, #ba55d3);
    animation: orbit 45s linear infinite reverse;
    width: 18px;
    height: 18px;
    top: -9px;
}

.light-theme .planet:nth-child(1) {
    background: radial-gradient(circle at 30% 30%, #ffb6c1, #ff69b4);
}

.light-theme .planet:nth-child(2) {
    background: radial-gradient(circle at 30% 30%, #98fb98, #32cd32);
}

.light-theme .planet:nth-child(3) {
    background: radial-gradient(circle at 30% 30%, #87ceeb, #4682b4);
}

.light-theme .planet:nth-child(4) {
    background: radial-gradient(circle at 30% 30%, #dda0dd, #ba55d3);
}

/* Galaxies */
.galaxies {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.galaxy {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, rgba(75, 0, 130, 0.2) 50%, transparent 70%);
    animation: galaxyRotate 60s linear infinite;
}

.galaxy:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.galaxy:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 60%;
    right: 10%;
    animation-delay: 30s;
    animation-direction: reverse;
}

.light-theme .galaxy {
    background: radial-gradient(circle, rgba(173, 216, 230, 0.3) 0%, rgba(135, 206, 250, 0.2) 50%, transparent 70%);
}

/* Nebula Clouds */
.nebula-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.nebula {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 191, 255, 0.1) 0%, rgba(138, 43, 226, 0.15) 50%, transparent 80%);
    animation: nebulaDrift 40s ease-in-out infinite;
}

.nebula:nth-child(1) {
    width: 500px;
    height: 300px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.nebula:nth-child(2) {
    width: 400px;
    height: 250px;
    top: 50%;
    right: 20%;
    animation-delay: 20s;
}

.nebula:nth-child(3) {
    width: 350px;
    height: 200px;
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

.light-theme .nebula {
    background: radial-gradient(ellipse, rgba(173, 216, 230, 0.1) 0%, rgba(221, 160, 221, 0.15) 50%, transparent 80%);
}

/* Orbital Light */
.orbital-light {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(0, 191, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
    animation: orbitalGlow 8s ease-in-out infinite;
    z-index: 1;
}

.light-theme .orbital-light {
    border-color: rgba(30, 144, 255, 0.3);
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.2);
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.light-theme .hero-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

/* Cosmic Dust */
.cosmic-dust {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(0, 191, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    animation: nebulaPulse 15s ease-in-out infinite;
    z-index: 1;
}

.light-theme .cosmic-dust {
    background:
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(20, 184, 166, 0.04) 0%, transparent 50%);
    animation: nebulaPulseLight 15s ease-in-out infinite;
}

/* Consistent Astronomical Background */
.about-section,
.professional-journey,
.featured-projects,
.recent-research,
.course-highlights,
.skills-snapshot,
.key-metrics {
    background: transparent;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Fixed Astronomical Background Layer */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 20% 20%, #0b1023, #050814 80%);
}

/* Stars Layer */
.cosmic-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.cosmic-star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: cosmic-twinkle 3s ease-in-out infinite;
}

.cosmic-star:nth-child(1) { top: 10%; left: 10%; width: 2px; height: 2px; animation-delay: 0s; }
.cosmic-star:nth-child(2) { top: 20%; left: 80%; width: 1px; height: 1px; animation-delay: 0.5s; }
.cosmic-star:nth-child(3) { top: 30%; left: 20%; width: 3px; height: 3px; animation-delay: 1s; }
.cosmic-star:nth-child(4) { top: 40%; left: 70%; width: 1px; height: 1px; animation-delay: 1.5s; }
.cosmic-star:nth-child(5) { top: 60%; left: 15%; width: 2px; height: 2px; animation-delay: 2s; }
.cosmic-star:nth-child(6) { top: 70%; left: 85%; width: 1px; height: 1px; animation-delay: 2.5s; }
.cosmic-star:nth-child(7) { top: 80%; left: 30%; width: 2px; height: 2px; animation-delay: 3s; }
.cosmic-star:nth-child(8) { top: 90%; left: 60%; width: 1px; height: 1px; animation-delay: 3.5s; }
.cosmic-star:nth-child(9) { top: 15%; left: 45%; width: 1px; height: 1px; animation-delay: 4s; }
.cosmic-star:nth-child(10) { top: 85%; left: 75%; width: 2px; height: 2px; animation-delay: 4.5s; }
.cosmic-star:nth-child(11) { top: 50%; left: 25%; width: 1px; height: 1px; animation-delay: 5s; }
.cosmic-star:nth-child(12) { top: 35%; left: 90%; width: 2px; height: 2px; animation-delay: 5.5s; }

/* Shooting Stars Layer */
.cosmic-shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.cosmic-shooting-star {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(45deg, white, transparent);
    opacity: 0.7;
    animation: cosmic-shoot 8s linear infinite;
}

.cosmic-shooting-star:nth-child(1) {
    top: 20%;
    left: 0%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.cosmic-shooting-star:nth-child(2) {
    top: 50%;
    left: 0%;
    animation-delay: 3s;
    animation-duration: 7s;
}

.cosmic-shooting-star:nth-child(3) {
    top: 80%;
    left: 0%;
    animation-delay: 5s;
    animation-duration: 5s;
}

.cosmic-shooting-star:nth-child(4) {
    top: 30%;
    left: 0%;
    animation-delay: 8s;
    animation-duration: 6.5s;
}

.cosmic-shooting-star:nth-child(5) {
    top: 70%;
    left: 0%;
    animation-delay: 10s;
    animation-duration: 7.5s;
}

/* Nebula Layer */
.cosmic-nebula {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 191, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.06) 0%, transparent 50%);
    animation: cosmic-nebula-pulse 15s ease-in-out infinite;
}

/* Stars Layer */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
    animation: twinkle 10s infinite ease-in-out alternate;
    z-index: 0;
}

@keyframes twinkle {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

/* Shooting Star Animation */
.shooting-star {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 80px;
    background: linear-gradient(45deg, #fff, transparent);
    opacity: 0;
    transform: rotate(45deg);
    animation: shoot 5s linear infinite;
}

@keyframes shoot {
    0% { opacity: 0; transform: translate(0, 0) rotate(45deg); }
    10% { opacity: 1; }
    100% { opacity: 0; transform: translate(300px, 300px) rotate(45deg); }
}

/* Optional Nebula Glow */
.nebula {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 80, 255, 0.15), transparent 70%);
    filter: blur(80px);
    animation: float 30s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

/* About Section */
.about-section {
    padding: 2rem 0;
    position: relative;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

/* Professional Journey Section */
.professional-journey {
    padding: 2rem 0;
    position: relative;
}



.journey-header {
    text-align: center;
    margin-bottom: 3rem;
}

.journey-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.journey-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.journey-subtitle .subtitle-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.journey-subtitle .subtitle-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    border-radius: 1px;
    animation: pulse 2s infinite;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 80px;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
    z-index: 2;
}

.timeline-content {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 12px 40px rgba(0, 191, 255, 0.2);
    transform: translateY(-2px);
}

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

.role-company h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.company-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.company-name {
    font-weight: 500;
    color: var(--accent-primary);
}

.company-desc {
    margin-left: 0.5rem;
    opacity: 0.8;
}

.experience-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.date-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.employment-badge {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.experience-description {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.key-achievements h4,
.technologies-used h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.key-achievements ul {
    list-style: none;
    padding: 0;
}

.key-achievements li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.key-achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.technologies-used .badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.technologies-used .badge {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-dot {
        left: 10px;
        width: 16px;
        height: 16px;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-meta {
        align-items: flex-start;
        order: -1;
    }

    .date-info {
        font-size: 0.8rem;
    }

    .employment-badge {
        align-self: flex-start;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.subtitle-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.subtitle-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.about-intro p {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.journey-card, .expertise-card {
    padding: 2.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(56, 189, 248, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(56, 189, 248, 0.3), 0 0 40px rgba(138, 43, 226, 0.2);
    position: relative;
    overflow: hidden;
}

.journey-card::before, .expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.journey-card:hover, .expertise-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.journey-card:hover::before, .expertise-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.journey-card h3, .expertise-card h3 {
    margin: 0;
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.journey-content {
    margin-bottom: 2rem;
}

.journey-content p {
    line-height: 1.7;
    color: var(--text-primary);
}

.languages-section h4, .technologies-section h4 {
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-icon {
    font-size: 1.2rem;
}

.skill-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-percent {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00bfff, #4b0082);
    border-radius: 6px;
    animation: fillProgress 2s ease-out;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

@keyframes fillProgress {
    0% {
        width: 0%;
    }
    100% {
        width: var(--progress-width);
    }
}

.languages-section, .technologies-section {
    margin-bottom: 2rem;
}

.languages-section h3, .technologies-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-primary);
    text-align: center;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.badge {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.badge:hover {
    transform: scale(1.05);
    background: rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.light-theme .badge {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.light-theme .badge:hover {
    background: rgba(37, 99, 235, 0.2);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

/* Responsive for About Section */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .journey-card, .expertise-card {
        padding: 1.5rem;
    }

    .about-header h2 {
        font-size: 2rem;
    }

    .about-intro p {
        font-size: 1.1rem;
    }

    .badge-container {
        justify-content: flex-start;
    }
}

/* Redesigned CTA Section */
.contact-cta {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', 'Plus Jakarta Sans', 'Poppins', sans-serif;
}

.contact-cta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
}

/* Availability Status Badge */
.availability-status {
    display: flex;
    justify-content: flex-start;
    flex: 1;
}

.status-card {
    background: rgba(0, 255, 128, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid transparent;
    border-image: linear-gradient(45deg, rgba(0, 255, 128, 0.5), rgba(0, 191, 255, 0.5)) 1;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 255, 128, 0.3);
    border-image: linear-gradient(45deg, rgba(0, 255, 128, 0.8), rgba(0, 191, 255, 0.8)) 1;
}

.status-icon {
    position: relative;
    font-size: 1.5rem;
    color: #00ff80;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 128, 0.8);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 128, 1);
        transform: scale(1.2);
    }
}

.status-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff80;
    margin: 0;
}

.status-content h3 .green-accent {
    color: #00ff80;
}

.status-content p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
    opacity: 0.9;
}

/* Main CTA Panel */
.cta-panel {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.2s both;
    flex: 2;
}

.cta-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

.cta-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-panel:hover::before {
    opacity: 1;
}

.cta-panel h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.cta-panel p {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn-primary, .cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn-primary {
    background: linear-gradient(45deg, #00bfff, #0066cc);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.cta-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0066cc, #00bfff);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.5);
}

.cta-btn-primary:hover::before {
    left: 0;
}

.cta-btn-secondary {
    background: transparent;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(56, 189, 248, 0.1);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-btn-secondary:hover {
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
}

.cta-btn-secondary:hover::before {
    left: 0;
}

/* Floating Particles Animation */
.cta-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 191, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    animation: floatingParticles 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes floatingParticles {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) scale(1.1);
        opacity: 0.6;
    }
}

/* Cosmic Animations */
@keyframes cosmic-twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes cosmic-shoot {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(800px) translateY(400px) rotate(45deg);
        opacity: 0;
    }
}

@keyframes cosmic-nebula-pulse {
    0%, 100% {
        background:
            radial-gradient(circle at 20% 20%, rgba(0, 191, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.06) 0%, transparent 50%);
    }
    50% {
        background:
            radial-gradient(circle at 30% 30%, rgba(0, 191, 255, 0.12) 0%, transparent 60%),
            radial-gradient(circle at 70% 70%, rgba(138, 43, 226, 0.15) 0%, transparent 60%),
            radial-gradient(circle at 40% 40%, rgba(255, 20, 147, 0.09) 0%, transparent 60%);
    }
}

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

/* Responsive Design for CTA */
@media (max-width: 768px) {
    .contact-cta .container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1.5rem;
    }

    .availability-status {
        justify-content: center;
        flex: none;
    }

    .status-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    .cta-panel {
        padding: 2rem 1.5rem;
        flex: none;
    }

    .cta-panel h2 {
        font-size: 1.5rem;
    }

    .cta-panel p {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn-primary, .cta-btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-cta {
        padding: 2rem 0;
    }

    .status-card {
        padding: 1rem;
    }

    .cta-panel {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    .cta-panel h2 {
        font-size: 1.3rem;
    }

    .cta-panel p {
        font-size: 0.85rem;
    }
}


