/* style.css */
/* :root {
    --bg: #111111;
    --bg-secondary: #1a1a1a;
    --card-bg: #222222;
    --card-hover: #2a2a2a;
    --text: #eeeeee;
    --text-muted: #a1a1aa;
    --accent: #2dd4bf;

    --accent-hover: #14b8a6;
    --accent-secondary: #0f766e;
    --gradient: linear-gradient(135deg, #2dd4bf 0%, #0f766e 100%);
    --border-dim: 1px solid rgba(255, 255, 255, 0.08);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.7);
} */
:root {
    --bg: #0a0e27;
    --bg-secondary: #0f172a;
    --card-bg: #1e293b;
    --card-hover: #2d3748;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-hover: #0ea5e9;
    --accent-secondary: #8b5cf6;
    --gradient: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(56, 189, 248, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: all 0.3s;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    background: radial-gradient(circle at 20% 50%, rgba(45, 212, 191, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

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

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-title {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-bio {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: all 0.3s;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--border-dim);
}

.social-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 212, 191, 0.2);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease;
}

.profile-photo-container {
    position: relative;
    width: 350px;
    height: 350px;
    /* animation: float 3s ease-in-out infinite; */
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--accent);
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 2;
}

.photo-border {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    background: var(--gradient);
    z-index: 1;
    animation: rotate 20s linear infinite;
}

/* .robot-agent {
    position: absolute;
    top: -20px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4), 
                0 0 40px rgba(139, 92, 246, 0.3);
    animation: popOut 2s ease-in-out infinite, float 3s ease-in-out infinite;
    border: 4px solid var(--accent);
    transform-origin: center;
}

.robot-agent i {
    font-size: 4rem;
    color: white;
    animation: robotPulse 1.5s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.robot-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
} */

@keyframes popOut {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.1) translateY(-10px);
    }
}

@keyframes robotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

.floating-card {
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--shadow-hover);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text);
}

.title-number {
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-image-container {
    position: sticky;
    top: 100px;
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.highlight-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-dim);
    transition: all 0.3s;
}

.highlight-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--accent);
}

.highlight-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.highlight-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.skill-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-dim);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.skill-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-icon {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

/* Tech Ticker / Banner */
.tech-ticker {
    margin-bottom: 3rem;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
}

.ticker-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.ticker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: default;
}

.ticker-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.ticker-item i {
    font-size: 3.5rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.ticker-item img {
    height: 3.5rem;
    width: auto;
    filter: grayscale(100%) brightness(1.5);
    /* Make standard tech icons match theme */
    transition: all 0.3s;
}

.ticker-item:hover i {
    color: var(--accent);
}

.ticker-item:hover img {
    filter: none;
}

.ticker-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.ticker-item:hover .ticker-name {
    opacity: 1;
    transform: translateY(0);
}

/* Tags in Cards */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.subskill-tag {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
}

.subskill-tag:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}


/* Filter Indicator */
.filter-indicator {
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--accent);
    box-shadow: var(--shadow);
}

.filter-indicator span {
    color: var(--text);
    font-size: 1rem;
}

.filter-indicator strong {
    color: var(--accent);
}

.clear-filter {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.clear-filter:hover {
    color: var(--accent);
}

.no-projects-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 2px dashed rgba(45, 212, 191, 0.1);
}

.no-projects-message i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.no-projects-message h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.no-projects-message p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Projects Section */
.projects {
    background: var(--bg-secondary);
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-section {
    margin-bottom: 3rem;
}

.project-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-section-title::before {
    content: '';
    width: 4px;
    height: 1.5rem;
    background: var(--gradient);
    border-radius: 2px;
}

.view-all-projects {
    text-align: center;
    margin-top: 3rem;
}

.projects-header {
    padding: 8rem 0 4rem;
    background: var(--bg-secondary);
    text-align: center;
    margin-top: 70px;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-dim);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.media-container {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-container video,
.media-container .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-container .project-image {
    display: block;
}

.media-container .placeholder {
    color: var(--text-muted);
    font-size: 3rem;
    opacity: 0.5;
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

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

.tag {
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

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

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(56, 189, 248, 0.05);
}

/* Publications Section */
.publications {
    background: var(--bg);
}

.publications-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-dim);
    transition: all 0.3s ease;
}

.publication-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.publication-header {
    margin-bottom: 1rem;
}

.publication-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.publication-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.publication-authors {
    font-style: italic;
}

.publication-venue {
    font-weight: 500;
    color: var(--accent);
}

.publication-year {
    font-weight: 600;
}

.publication-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.publication-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.publication-links .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-dim);
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text);
}

.contact-item a,
.contact-item p {
    color: var(--text-muted);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--card-bg);
    border: 2px solid rgba(45, 212, 191, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

footer p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(56, 189, 248, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .profile-photo-container {
        width: 250px;
        height: 250px;
    }

    /* 
    .robot-agent {
        width: 80px;
        height: 80px;
        top: -15px;
        right: -20px;
    }

    .robot-agent i {
        font-size: 2.5rem;
    } */

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image-container {
        position: relative;
        top: 0;
        max-width: 300px;
        margin: 0 auto 2rem;
    }

    .floating-card {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .publication-title {
        font-size: 1.25rem;
    }

    .publication-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .publication-item {
        padding: 1.5rem;
    }

    .project-section-title {
        font-size: 1.5rem;
    }

    .projects-container {
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Custom Cursor Tooltip */
#cursor-tooltip {
    position: fixed;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.95);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    z-index: 9999;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.1s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: none;
    font-weight: 500;
    transform: translate(15px, 15px);
}