* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #00d4ff;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    z-index: 2;
}

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

.hero-profile-picture {
    width: 320px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid #00d4ff;
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    position: relative;
}

.hero-profile-picture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    z-index: 1;
    border-radius: 16px;
}

.hero-profile-picture:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.6),
        0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00d4ff, #ffffff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #b0b0b0;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #d0d0d0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

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

.btn-secondary:hover {
    background: #00d4ff;
    color: #0f0f1e;
}

/* Animated Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: circuit 4s linear infinite;
}

.circuit-line:nth-child(1) {
    top: 20%;
    left: -100%;
    width: 200px;
    height: 2px;
    animation-delay: 0s;
}

.circuit-line:nth-child(2) {
    top: 40%;
    right: -100%;
    width: 150px;
    height: 1px;
    animation-delay: 1s;
    animation-direction: reverse;
}

.circuit-line:nth-child(3) {
    top: 60%;
    left: -100%;
    width: 180px;
    height: 2px;
    animation-delay: 2s;
}

.circuit-line:nth-child(4) {
    top: 80%;
    right: -100%;
    width: 120px;
    height: 1px;
    animation-delay: 3s;
    animation-direction: reverse;
}

@keyframes circuit {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 100px));
        opacity: 0;
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
    }
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #00d4ff;
}

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

.expertise-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #00d4ff;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.expertise-card p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.experience-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    border-radius: 20px 20px 0 0;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.experience-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.company-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.company-info h3 {
    font-size: 1.8rem;
    color: #00d4ff;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.company-location {
    color: #b0b0b0;
    font-size: 1.1rem;
    font-style: italic;
}

.experience-period {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
    white-space: nowrap;
}

.position {
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.position:last-child {
    margin-bottom: 0;
}

.position:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(5px);
}

.position h4 {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.position-period {
    background: rgba(255, 255, 255, 0.1);
    color: #d0d0d0;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.responsibilities {
    margin: 20px 0;
}

.responsibilities ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsibilities li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: #d0d0d0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.responsibilities li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 8px;
    color: #00d4ff;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.responsibilities li:hover::before {
    color: #ffffff;
    transform: translateX(3px);
}

.responsibilities li:hover {
    color: #ffffff;
}

/* Education Section */
.education {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.education-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.education-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    border-radius: 20px 20px 0 0;
}

.education-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.education-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.education-item:hover .education-logo {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
}

.education-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.education-content {
    text-align: center;
}

.education-content {
    text-align: center;
}

.education-header {
    margin-bottom: 15px;
}

.education-content h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.education-period {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
    display: inline-block;
    margin-bottom: 15px;
}

.education-content h4 {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.education-gpa {
    color: #00d4ff;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.1rem;
    background: rgba(0, 212, 255, 0.1);
    padding: 8px 16px;
    border-radius: 15px;
    display: inline-block;
}

.education-courses {
    color: #d0d0d0;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.education-courses strong {
    color: #ffffff;
}

/* Achievements Section */
.achievements {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-category {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.achievement-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
    color: #00d4ff;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.category-title i {
    font-size: 1.2rem;
}

.achievement-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(5px);
}

.achievement-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.achievement-content {
    flex: 1;
}

.achievement-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.achievement-content p {
    color: #d0d0d0;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.achievement-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievement-type.volunteer {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.achievement-type.judge {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.achievement-type.academic {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.achievement-type.scholarship {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.achievement-type.competition {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.achievement-type.hackathon {
    background: rgba(50, 205, 50, 0.2);
    color: #32cd32;
    border: 1px solid rgba(50, 205, 50, 0.3);
}

.achievement-type.speaker {
    background: rgba(219, 112, 147, 0.2);
    color: #db7093;
    border: 1px solid rgba(219, 112, 147, 0.3);
}

.achievement-type.award {
    background: rgba(255, 140, 0, 0.2);
    color: #ff8c00;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

/* Projects Section */
.projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.project-content {
    padding: 25px;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.project-status {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.project-status.patent {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.project-status.published {
    background: rgba(0, 255, 127, 0.2);
    color: #00ff7f;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-link {
    color: #00d4ff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-link i {
    font-size: 1.3rem;
    min-width: 20px;
    text-align: center;
}

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

/* Footer */
footer {
    background: rgba(10, 10, 20, 0.9);
    padding: 30px 0;
    text-align: center;
    color: #b0b0b0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 20px;
        height: auto;
        min-height: 100vh;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero-profile-picture {
        width: 280px;
        height: 320px;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-left {
        gap: 10px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .education-timeline {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .education-item {
        padding: 25px 20px;
    }
    
    .education-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .education-content h3 {
        font-size: 1.2rem;
    }
    
    .education-period {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
    
    .education-gpa {
        font-size: 1rem;
        padding: 6px 12px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .achievement-category {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.2rem;
        gap: 10px;
    }
    
    .achievement-item {
        padding: 15px;
        gap: 12px;
    }
    
    .achievement-icon {
        font-size: 1.5rem;
        min-width: 40px;
    }
    
    .achievement-content h4 {
        font-size: 1rem;
    }
    
    .achievement-content p {
        font-size: 0.9rem;
    }
    
    .achievement-type {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-timeline {
        gap: 30px;
    }
    
    .experience-item {
        padding: 25px 20px;
    }
    
    .company-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .company-info h3 {
        font-size: 1.4rem;
    }
    
    .company-location {
        font-size: 1rem;
    }
    
    .experience-period {
        padding: 6px 12px;
        font-size: 0.85rem;
        align-self: flex-start;
    }
    
    .position {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .position h4 {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .position-period {
        font-size: 0.75rem;
        padding: 3px 8px;
        align-self: flex-start;
    }
    
    .responsibilities li {
        padding: 6px 0 6px 20px;
        font-size: 0.9rem;
    }
    
    .responsibilities li::before {
        font-size: 0.7rem;
        top: 6px;
    }
}

/* ============================================================
   NEW STYLES — Redesign 2025
   ============================================================ */

/* --- Hero Stats Strip --- */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #00d4ff;
    display: block;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.3;
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(8, 8, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        display: flex !important;
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links a { font-size: 1.4rem; }
}

/* --- Skills Section --- */
.skills {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    transition: border-color 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(0, 212, 255, 0.4);
}

.skill-category-name {
    font-size: 0.78rem;
    color: #00d4ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-category-name i {
    font-size: 0.9rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* --- Bento Grid for Projects --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.bento-wide {
    grid-column: span 2;
}

.bento-wide .project-image {
    height: 200px;
}

.bento-wide .project-content {
    padding: 30px;
}

.bento-wide h3 {
    font-size: 1.6rem;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.project-link-btn i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.project-link-btn:hover {
    color: #fff;
}

.project-link-btn:hover i {
    transform: translateX(4px);
}

.project-card.view-all-card {
    background: rgba(0, 212, 255, 0.04);
    border: 2px dashed rgba(0, 212, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    min-height: 200px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 15px;
    cursor: pointer;
}

.project-card.view-all-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    transform: translateY(-5px);
}

.view-all-icon {
    font-size: 2rem;
    color: #00d4ff;
}

.view-all-text {
    font-size: 1.1rem;
    color: #00d4ff;
    font-weight: 600;
}

.view-all-sub {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 2; }
}

@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
}

/* --- Publications Section --- */
.publications {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.03);
}

.publications-inner {
    max-width: 900px;
    margin: 0 auto;
}

.publications-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 50px;
}

.publication-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px 28px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-left: 4px solid #00d4ff;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.publication-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.publication-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: rgba(0, 212, 255, 0.3);
    min-width: 28px;
    line-height: 1;
    margin-top: 4px;
}

.publication-body { flex: 1; }

.publication-title {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.45;
}

.publication-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.publication-venue {
    font-size: 0.88rem;
    color: #00d4ff;
    font-style: italic;
}

.publication-type {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.publication-type.conference {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.publication-type.journal {
    background: rgba(0, 255, 127, 0.15);
    color: #00ff7f;
}

.publication-link {
    font-size: 0.85rem;
    color: #00d4ff;
    text-decoration: none;
    margin-left: auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.publication-link:hover { color: #fff; }

.publications-subsection-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.publications-subsection-title i {
    color: #00d4ff;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-item {
    background: rgba(255, 165, 0, 0.06);
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-left: 4px solid #ffa500;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.article-item:hover {
    background: rgba(255, 165, 0, 0.1);
    transform: translateX(5px);
}

.article-item i {
    color: #ffa500;
    font-size: 1.2rem;
}

.article-title {
    font-size: 0.95rem;
    color: #d0d0d0;
    flex: 1;
    line-height: 1.4;
}

.scholar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
}

.scholar-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #fff;
}

/* --- Patents Section --- */
.patents {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.patents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.patent-card {
    background: rgba(255, 215, 0, 0.04);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.patent-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffa500);
}

.patent-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.5);
}

.patent-status-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.35);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.patent-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
}

.patent-card h3 {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 12px;
    font-weight: 600;
}

.patent-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

/* --- Open Source Experience Entry --- */
.open-source-entry .experience-header {
    border-bottom-color: rgba(50, 205, 50, 0.3);
}

.open-source-entry .company-info h3 {
    color: #32cd32;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.3);
}

.open-source-badge {
    background: rgba(50, 205, 50, 0.15);
    color: #32cd32;
    border: 1px solid rgba(50, 205, 50, 0.3);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Project Page Styles --- */
.project-page-hero {
    padding: 130px 0 70px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.project-page-hero .hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.5;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #666;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb span { margin: 0 8px; color: #444; }

.project-page-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-production { background: rgba(0, 255, 127, 0.15); color: #00ff7f; border: 1px solid rgba(0, 255, 127, 0.3); }
.badge-patent { background: rgba(255, 215, 0, 0.15); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.3); }
.badge-research { background: rgba(138, 43, 226, 0.2); color: #c084fc; border: 1px solid rgba(138, 43, 226, 0.3); }
.badge-opensource { background: rgba(50, 205, 50, 0.15); color: #32cd32; border: 1px solid rgba(50, 205, 50, 0.3); }
.badge-competition { background: rgba(255, 165, 0, 0.15); color: #ffa500; border: 1px solid rgba(255, 165, 0, 0.3); }
.badge-hackathon { background: rgba(255, 20, 147, 0.15); color: #ff69b4; border: 1px solid rgba(255, 20, 147, 0.3); }
.badge-published { background: rgba(0, 212, 255, 0.15); color: #00d4ff; border: 1px solid rgba(0, 212, 255, 0.3); }
.badge-poc { background: rgba(255, 255, 255, 0.1); color: #d0d0d0; border: 1px solid rgba(255, 255, 255, 0.2); }

.project-page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.project-tagline {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 28px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.project-page-content {
    padding: 70px 0 100px;
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.project-main { min-width: 0; }

.project-section {
    margin-bottom: 50px;
}

.project-section h2 {
    font-size: 1.4rem;
    color: #00d4ff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-section p {
    color: #ccc;
    line-height: 1.75;
    font-size: 0.98rem;
    margin-bottom: 12px;
}

.project-section ul {
    padding-left: 0;
    list-style: none;
}

.project-section li {
    color: #ccc;
    line-height: 1.7;
    font-size: 0.98rem;
    padding: 6px 0 6px 24px;
    position: relative;
    margin-bottom: 4px;
}

.project-section li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-size: 0.72rem;
    top: 9px;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.outcome-box {
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.outcome-box:hover {
    background: rgba(0, 212, 255, 0.12);
    transform: translateY(-3px);
}

.outcome-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #00d4ff;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.outcome-label {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.3;
}

/* Sidebar */
.project-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 24px;
    border: 1px solid rgba(0, 212, 255, 0.18);
    margin-bottom: 22px;
}

.sidebar-card h3 {
    font-size: 0.75rem;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    font-weight: 700;
}

.sidebar-info-item {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
    gap: 10px;
}

.sidebar-info-item:last-child { border-bottom: none; }

.sidebar-label { color: #888; white-space: nowrap; }
.sidebar-value { color: #fff; font-weight: 500; text-align: right; }

/* Related Projects */
.related-projects {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.related-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.related-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: #00d4ff;
}

.related-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.related-card h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.related-card p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .project-layout {
        grid-template-columns: 1fr;
    }
    .project-sidebar { position: static; }
    .project-page-hero h1 { font-size: 2rem; }
    .project-tagline { font-size: 1rem; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 1.6rem; }
}

/* --- Section divider accent --- */
.section-title span {
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, transparent);
    margin: 14px auto 0;
    border-radius: 3px;
}

/* --- Projects page grid --- */
.all-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.all-projects-grid .project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.all-projects-grid .project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.all-projects-grid .project-link-btn {
    margin-top: auto;
    padding-top: 18px;
}

/* Filter pills for projects page */
.filter-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    justify-content: center;
}

.filter-pill {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: transparent;
    color: #aaa;
    transition: all 0.25s ease;
}

.filter-pill:hover,
.filter-pill.active {
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    border-color: #00d4ff;
}

/* Project category header on all-projects page */
.projects-category-label {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

/* Back button on project pages */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    transition: all 0.25s ease;
    position: relative;
    z-index: 2;
}

.back-btn:hover {
    color: #fff;
    gap: 12px;
}

/* Misc */
.highlight-text {
    color: #00d4ff;
    font-weight: 600;
}

.note-box {
    background: rgba(255, 215, 0, 0.07);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-left: 4px solid #ffd700;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 0.9rem;
    color: #d0d0d0;
    line-height: 1.6;
    margin-top: 16px;
}

.award-highlight {
    background: rgba(255, 20, 147, 0.08);
    border: 1px solid rgba(255, 20, 147, 0.25);
    border-left: 4px solid #ff69b4;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 0.9rem;
    color: #d0d0d0;
    line-height: 1.6;
    margin-top: 16px;
}

.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}