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

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #e5e5e5;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Tech Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

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

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #00d4ff;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite; /* slower pulse */
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
    50% { transform: translateX(-50%) scale(1.5); opacity: 0.1; }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #cfcfcf); /* softer */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideUp 1s ease-out;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #8fc7d4; /* muted teal instead of pure neon */
    margin-bottom: 1rem;
    font-weight: 400;
    animation: slideUp 1s ease-out 0.2s both;
    font-family: 'JetBrains Mono', monospace;
}

.hero .tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    animation: slideUp 1s ease-out 0.4s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px); /* smaller movement */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styling */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.subsection-title{
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
}

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

.about-image img {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

/* .about-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00d4ff, #0099cc, #00d4ff);
    border-radius: 22px;
    z-index: -1;
    animation: rotate 3s linear infinite;
} */

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

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-image {
    flex: 1 1 250px;
    max-width: 300px;
    height: 300px;
    background: #e0e0e0; /* placeholder */
    border-radius: 16px;
}

.about-text {
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-subsections {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.subsection h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.25rem;
}

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

.subsection li {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    color: #969595;
}


.about-text p {
    margin-bottom: 1.5rem;
    color: #c0c0c0;
    font-size: 1.1rem;
}

/* Publications Section */
.publications {
    background: rgba(20, 20, 20, 0.5);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
}

.publication-item {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 0.7px solid rgba(212, 212, 216, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.publication-item:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 212, 216, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.publication-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #d4d4d8, #a1a1aa);
}

.pub-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.pub-authors {
    color: #d4d4d8;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.pub-venue {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
}

.pub-link {
    color: #6d6c6c;
    font-style: italic;
    font-size: 0.9rem;
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(20, 20, 20, 0.8));
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.exp-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.exp-logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
}

.exp-info {
    flex: 1;
}

.exp-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.exp-company {
    color: #d4d4d8;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.exp-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.exp-description {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-link:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    section {
        padding: 3rem 1rem;
    }
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px; /* Thicker bar */
    background: rgba(0, 212, 255, 0.15);
    z-index: 1001;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, #00eaff, #0099cc);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.6), 
                0 0 20px rgba(0, 212, 255, 0.4);
    width: 0%;
    transition: width 0.1s ease;
}

/* Hide scrollbar for Chrome, Safari, and Edge */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
body {
    scrollbar-width: none; /* hides in Firefox */
}

/* Hide scrollbar for IE/Edge Legacy */
body {
    -ms-overflow-style: none; 
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* Firefox */
html, body {
    scrollbar-width: none;       /* hides scrollbar groove */
    -ms-overflow-style: none;    /* IE/Old Edge */
}

/* Extra safety: make any stray track/thumb transparent */
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
}

.hide-scrollbar {
    scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 0;
}
