:root {
    --bg-primary: #050508;
    --bg-secondary: #0d0d12;
    --accent-gold: #ffb800;
    --accent-cyan: #00e5ff;
    --accent-lavender: #c4b5fd;
    --accent-coral: #ff6b6b;
    --accent-emerald: #34d399;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #8a8a8a;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

main {
    position: relative;
    z-index: 1;
}

section {
    min-height: 100vh;
    padding: 60px 5%;
}

/* Fixed Header - appears after hero animation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.6s var(--ease-out-expo);
    pointer-events: none;
}

.site-header.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.header-name {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}

.header-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(244, 197, 66, 0.3);
    border-radius: 20px;
    transition: all 0.3s var(--ease-out-expo);
}

.header-text-link:hover {
    background: rgba(244, 197, 66, 0.1);
    border-color: rgba(244, 197, 66, 0.5);
    transform: translateY(-2px);
}

.header-text-link .link-text {
    font-weight: 500;
}

.header-text-link .link-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s var(--ease-out-expo);
}

.header-text-link .link-icon svg {
    width: 12px;
    height: 12px;
}

.header-text-link:hover .link-icon {
    transform: translate(2px, -2px);
}

/* Hide mobile email icon by default */
.header-email-link .link-icon-mobile {
    display: none;
}

.header-nav .contact-link {
    width: 42px;
    height: 42px;
}

.header-nav .contact-link svg {
    width: 18px;
    height: 18px;
}

/* Header responsive styles */
@media (max-width: 900px) {
    .site-header {
        padding: 1.25rem 4%;
    }
    
    .header-content {
        gap: 0.25rem;
    }
    
    .header-nav {
        gap: 0.75rem;
    }
    
    .header-text-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .header-text-link .link-icon svg {
        width: 10px;
        height: 10px;
    }
    
    .header-nav .contact-link {
        width: 36px;
        height: 36px;
    }
    
    .header-nav .contact-link svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 0.75rem 4%;
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }
    
    .header-content {
        align-items: center;
        text-align: center;
        gap: 0.2rem;
    }
    
    .header-name {
        font-size: 1.25rem;
    }
    
    .header-tagline {
        font-size: 0.7rem;
        letter-spacing: 0.05em;
    }
    
    .header-nav {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .header-text-link {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        gap: 0.2rem;
    }
    
    .header-text-link .link-icon svg {
        width: 8px;
        height: 8px;
    }
    
    .header-nav .contact-link {
        width: 30px;
        height: 30px;
    }
    
    .header-nav .contact-link svg {
        width: 13px;
        height: 13px;
    }

    /* Transform email link to icon-only on mobile */
    .header-email-link {
        padding: 0;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-email-link .link-text,
    .header-email-link .link-icon {
        display: none;
    }

    .header-email-link .link-icon-mobile {
        display: flex;
    }

    .header-email-link .link-icon-mobile svg {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 400px) {
    .site-header {
        padding: 0.5rem 3%;
        gap: 0.3rem;
    }

    .header-name {
        font-size: 1rem;
    }
    
    .header-tagline {
        font-size: 0.6rem;
    }

    .header-nav {
        gap: 0.35rem;
    }

    .header-text-link {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .header-nav .contact-link {
        width: 26px;
        height: 26px;
    }

    .header-nav .contact-link svg {
        width: 11px;
        height: 11px;
    }
    
    .header-email-link {
        width: 26px;
        height: 26px;
    }
    
    .header-email-link .link-icon-mobile svg {
        width: 11px;
        height: 11px;
    }
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    position: relative;
    transition: all 1.2s var(--ease-out-expo);
}

.hero.collapsed {
    min-height: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
    transition: all 1.2s var(--ease-out-expo);
}

.hero.collapsed .hero-content {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    position: relative;
}

.hero-name .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: letterReveal 0.8s var(--ease-out-expo) forwards,
               nameGlow 2s ease-in-out 1.5s infinite;
    text-shadow: 0 0 60px rgba(255, 184, 0, 0.4), 0 0 120px rgba(255, 184, 0, 0.2);
}

@keyframes nameGlow {
    0%, 100% {
        text-shadow: 0 0 60px rgba(255, 184, 0, 0.4), 0 0 120px rgba(255, 184, 0, 0.2);
    }
    50% {
        text-shadow: 0 0 80px rgba(255, 184, 0, 0.6), 0 0 150px rgba(255, 184, 0, 0.4), 0 0 200px rgba(255, 184, 0, 0.2);
    }
}

.hero-name .letter.space {
    width: 0.15em;
}

.hero-name .letter:nth-child(1) { animation-delay: 0.5s; }
.hero-name .letter:nth-child(2) { animation-delay: 0.55s; }
.hero-name .letter:nth-child(3) { animation-delay: 0.6s; }
.hero-name .letter:nth-child(4) { animation-delay: 0.65s; }
.hero-name .letter:nth-child(5) { animation-delay: 0.7s; }
.hero-name .letter:nth-child(6) { animation-delay: 0.75s; }
.hero-name .letter:nth-child(7) { animation-delay: 0.8s; }
.hero-name .letter:nth-child(8) { animation-delay: 0.85s; }
.hero-name .letter:nth-child(9) { animation-delay: 0.95s; }
.hero-name .letter:nth-child(10) { animation-delay: 1s; }
.hero-name .letter:nth-child(11) { animation-delay: 1.05s; }
.hero-name .letter:nth-child(12) { animation-delay: 1.1s; }

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

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 1.4s forwards;
}

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

.hero-contact {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 1.7s forwards;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.contact-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s var(--ease-out-expo);
    transform: scale(0.8);
}

.contact-link:hover {
    color: var(--bg-primary);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 184, 0, 0.3);
}

.contact-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.contact-link svg {
    width: 20px;
    height: 20px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-name .letter {
        opacity: 1;
        transform: none;
    }
    
    .hero-tagline,
    .hero-contact {
        opacity: 1;
    }
    
    .hero.collapsed {
        min-height: 0;
        height: 0;
    }
    
    .site-header.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 120px 5% 30px 5%;
    text-align: center;
}

.about-container {
    width: 100%;
    max-width: 85vw;
    text-align: center;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.8s var(--ease-out-expo);
}

.section-label.visible {
    opacity: 1;
    transform: translateX(0);
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
}

.label-text {
    font-family: var(--font-mono);
    font-size: 2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

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

.about-intro {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-out-expo);
}

.about-intro.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-intro em {
    font-style: normal;
    color: var(--accent-gold);
    position: relative;
}

.about-secondary {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-out-expo) 0.15s;
}

.about-secondary.visible {
    opacity: 1;
    transform: translateY(0);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

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

.stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 500;
    color: var(--accent-gold);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

@media (max-width: 600px) {
    .stats-row {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

.experience {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.experience-container {
    max-width: 85vw;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.06);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-cyan));
    transition: height 0.1s linear;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s var(--ease-out-expo);
}

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

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -52px;
    top: 6px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-gold);
    z-index: 2;
    transition: all 0.3s var(--ease-out-expo);
}

.timeline-item[data-type="intern"] .node-dot {
    border-color: var(--accent-cyan);
}

.timeline-item[data-type="research"] .node-dot {
    border-color: var(--accent-lavender);
}

.timeline-item[data-type="fellowship"] .node-dot {
    border-color: var(--accent-emerald);
}

.node-glow {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.timeline-item[data-type="intern"] .node-glow {
    background: var(--accent-cyan);
}

.timeline-item[data-type="research"] .node-glow {
    background: var(--accent-lavender);
}

.timeline-item[data-type="fellowship"] .node-glow {
    background: var(--accent-emerald);
}

.timeline-item:hover .node-glow {
    opacity: 0.5;
}

.timeline-item:hover .node-dot {
    background: var(--accent-gold);
    transform: scale(1.2);
}

.timeline-item[data-type="intern"]:hover .node-dot {
    background: var(--accent-cyan);
}

.timeline-item[data-type="research"]:hover .node-dot {
    background: var(--accent-lavender);
}

.timeline-item[data-type="fellowship"]:hover .node-dot {
    background: var(--accent-emerald);
}

/* Clickable timeline links */
a.timeline-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

a.timeline-link .timeline-company::after {
    display: none;
}

a.timeline-link .timeline-header-left::after {
    content: '';
    display: inline-flex;
    align-self: center;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.2s ease;
}

a.timeline-link:hover .timeline-header-left::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4c542' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}

a.timeline-link:hover .timeline-content {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(244, 197, 66, 0.3);
}

a.timeline-link:hover .timeline-company {
    color: var(--accent-gold);
}

.timeline-content {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    transition: all 0.4s var(--ease-out-expo);
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

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

.timeline-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.timeline-company {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.timeline-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.timeline-tag.tag-fulltime {
    background: rgba(244, 197, 66, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(244, 197, 66, 0.2);
}

.timeline-tag.tag-intern {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.timeline-tag.tag-research {
    background: rgba(196, 181, 253, 0.1);
    color: var(--accent-lavender);
    border: 1px solid rgba(196, 181, 253, 0.2);
}

.timeline-tag.tag-fellowship {
    background: rgba(52, 211, 153, 0.1);
    color: var(--accent-emerald);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.timeline-header-right {
    text-align: right;
    flex-shrink: 0;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

.timeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.timeline-role {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.timeline-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.timeline-highlights {
    list-style: none;
    margin-bottom: 0.5rem;
}

.timeline-highlights li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.35rem;
}

.timeline-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0.6;
}

.timeline-item[data-type="intern"] .timeline-highlights li::before {
    background: var(--accent-cyan);
}

.timeline-item[data-type="research"] .timeline-highlights li::before {
    background: var(--accent-lavender);
}

.timeline-item[data-type="fellowship"] .timeline-highlights li::before {
    background: var(--accent-emerald);
}

.timeline-highlights li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    section {
        padding: 50px 4%;
    }
    
    .hero-contact {
        gap: 1rem;
    }
    
    .contact-link {
        width: 44px;
        height: 44px;
    }
    
    .about-content {
        margin-bottom: 1.5rem;
    }
    
    .stats-row {
        gap: 2rem;
    }
    
    .timeline {
        padding-left: 40px;
    }
    
    .timeline-line {
        left: 10px;
    }
    
    .timeline-node {
        left: -36px;
        width: 20px;
        height: 20px;
    }
    
    .node-dot {
        width: 10px;
        height: 10px;
    }
    
    .node-glow {
        width: 20px;
        height: 20px;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-header {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
    
    .timeline-date {
        order: -1;
    }
    
    .timeline-meta {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
    
    .timeline-company {
        font-size: 1rem;
    }
}

.research {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.research-container {
    max-width: 85vw;
    margin: 0 auto;
}

.research-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out-expo) 0.2s;
}

.research-intro.visible {
    opacity: 1;
    transform: translateY(0);
}

.research-intro .highlight {
    color: var(--accent-gold);
    font-weight: 500;
}

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

.publication-row {
    display: grid;
    grid-template-columns: auto 1fr auto 105px;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s var(--ease-out-expo),
                border-color 0.3s ease,
                background 0.3s ease;
}

.publication-row.visible {
    opacity: 1;
    transform: translateX(0);
}

.publication-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.publication-row.highlighted {
    border-color: rgba(244, 197, 66, 0.2);
    background: rgba(244, 197, 66, 0.03);
}

.publication-row.highlighted:hover {
    border-color: rgba(244, 197, 66, 0.35);
    background: rgba(244, 197, 66, 0.06);
}

.pub-meta {
    display: grid;
    grid-template-columns: 70px 36px;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.venue-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    width: fit-content;
}

.venue-badge.ieee {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-cyan);
}

.venue-badge.springer {
    background: rgba(184, 169, 201, 0.15);
    color: var(--accent-lavender);
}

.pub-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pub-info {
    min-width: 0;
}

.pub-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.pub-title-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pub-link-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.2s ease;
}

.publication-row:hover .pub-link-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4c542' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}

.publication-row:hover .pub-title {
    color: var(--accent-gold);
}

.pub-conference {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pub-badges {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
    min-width: 75px;
    justify-content: flex-end;
}

.first-author-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--accent-gold);
    background: rgba(244, 197, 66, 0.12);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.pub-citations {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
    min-width: 70px;
    justify-content: flex-end;
}

.pub-citations svg {
    width: 12px;
    height: 12px;
}

.pub-citations.high {
    color: var(--accent-gold);
}

@media (max-width: 900px) {
    .publication-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .pub-meta {
        order: 1;
    }
    
    .pub-info {
        order: 2;
    }
    
    .pub-title {
        white-space: normal;
    }
    
    .pub-badges {
        order: 3;
    }
    
    .pub-citations {
        order: 4;
        justify-content: flex-start;
    }
}

.awards {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.awards-container {
    max-width: 85vw;
    margin: 0 auto;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.award-card {
    grid-column: span 3;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.25rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out-expo),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

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

.award-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.award-card.featured {
    grid-column: span 3;
    background: linear-gradient(135deg, rgba(244, 197, 66, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(244, 197, 66, 0.15);
}

.award-card.featured:hover {
    border-color: rgba(244, 197, 66, 0.3);
    box-shadow: 0 20px 60px rgba(244, 197, 66, 0.1);
}

/* Only use grid layout for featured cards with icon */
.award-card.featured:has(.award-icon) {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
}

.award-burst {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(244, 197, 66, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.award-card:hover .award-burst {
    opacity: 1;
}

.award-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(244, 197, 66, 0.1);
    margin-bottom: 0.75rem;
}

.award-card.featured .award-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
}

.award-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
}

.award-card.featured .award-icon svg {
    width: 28px;
    height: 28px;
}

.award-selectivity {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Clickable award links */
a.award-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.award-link:hover {
    border-color: rgba(244, 197, 66, 0.4);
}

a.award-link .award-selectivity::after {
    content: '';
    display: inline-flex;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.2s ease;
}

a.award-link:hover .award-selectivity::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4c542' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}

.selectivity-number {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-gold);
    line-height: 1;
}

.selectivity-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.award-content {
    position: relative;
    z-index: 1;
}

.award-org {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

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

.award-card.featured .award-title {
    font-size: 1.1rem;
}

.award-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.award-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 1200px) {
    .awards-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .award-card.featured {
        grid-column: span 2;
    }
    
    .award-card:not(.featured) {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .award-card.featured,
    .award-card:not(.featured) {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .award-card.featured,
    .award-card:not(.featured) {
        grid-column: span 1;
    }
    
    .award-card.featured:has(.award-icon) {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .award-card.featured .award-icon {
        margin: 0 auto 1rem;
    }
    
    .award-card {
        padding: 1rem;
    }
    
    .selectivity-number {
        font-size: 1.2rem;
    }
}

.education {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.education-container {
    max-width: 85vw;
    margin: 0 auto;
}

.education-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.education-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.edu-main-info {
    flex-shrink: 0;
}

a.edu-degree-link {
    text-decoration: none;
    display: block;
    padding: 1rem 1.25rem;
    margin: -1rem -1.25rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s var(--ease-out-expo);
}

a.edu-degree-link:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(244, 197, 66, 0.3);
}

a.edu-degree-link .edu-institution::after {
    content: '';
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    vertical-align: baseline;
    position: relative;
    top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.2s ease;
}

a.edu-degree-link:hover .edu-institution::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4c542' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}

.edu-institution {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.edu-degree {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.edu-meta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.edu-location,
.edu-dates,
.edu-gpa {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.edu-gpa {
    color: var(--accent-gold);
}

.edu-activities {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.edu-activity {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.edu-activity.featured {
    background: linear-gradient(135deg, rgba(244, 197, 66, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(244, 197, 66, 0.2);
    padding: 0.85rem 1.25rem;
}

.edu-activity.featured .activity-role {
    font-size: 0.95rem;
    color: var(--accent-gold);
}

/* Clickable edu activity links */
a.edu-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

a.edu-link:hover {
    border-color: rgba(244, 197, 66, 0.5);
}

a.edu-link .activity-role::after {
    content: '';
    display: inline-flex;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    vertical-align: baseline;
    position: relative;
    top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.2s ease;
}

a.edu-link:hover .activity-role::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4c542' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}

.edu-activity.featured .activity-org {
    font-size: 0.75rem;
}

.activity-role {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.activity-org {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-cyan);
}

.acronym {
    text-decoration: none;
    border-bottom: 1px dotted rgba(0, 212, 255, 0.4);
    cursor: help;
    position: relative;
}

.acronym:hover {
    border-bottom-color: var(--accent-cyan);
}

@media (max-width: 900px) {
    .education-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .edu-activities {
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .education-content {
        padding: 1.25rem;
    }
    
    .edu-activities {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .edu-activity {
        padding: 0.6rem 0.8rem;
    }
}

/* ==================== PROJECTS SECTION ==================== */

.projects {
    padding: 30px 0;
    min-height: auto;
}

.projects-container {
    max-width: 85vw;
    margin: 0 auto;
}

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

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(244, 197, 66, 0.3);
    transform: translateY(-4px);
}

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

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

.project-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 197, 66, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.project-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-gold);
}

.project-card:hover .project-icon {
    background: rgba(244, 197, 66, 0.2);
    transform: scale(1.05);
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 4px;
    color: var(--accent-cyan);
}

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

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--accent-gold);
}

.project-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.project-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-highlights li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.project-highlights li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 0.7rem;
}

/* Clickable project links */
a.project-link {
    cursor: pointer;
}

a.project-link .project-title::after {
    content: '';
    display: inline-flex;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    position: relative;
    top: -2px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.2s ease;
}

a.project-link:hover .project-title::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4c542' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-tech-stack {
        justify-content: flex-start;
    }
}

/* ==================== SKILLS SECTION ==================== */

.skills {
    padding: 30px 0;
    min-height: auto;
}

.skills-container {
    max-width: 85vw;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.skill-category {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s var(--ease-out-expo);
}

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

.skill-category-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.skill-tag {
    background: rgba(10, 25, 47, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.skill-tag:hover {
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.05);
}

.skill-tag .acronym {
    color: inherit;
}

@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ==================== CERTIFICATIONS SECTION ==================== */

.certifications {
    padding: 30px 0;
    min-height: auto;
}

.certifications-container {
    max-width: 85vw;
    margin: 0 auto;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.cert-card {
    background: rgba(10, 25, 47, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.cert-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(10, 25, 47, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cert-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-cyan);
    opacity: 0.6;
}

.cert-icon svg {
    width: 100%;
    height: 100%;
}

.cert-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.cert-org {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.cert-org .acronym {
    color: inherit;
    font-weight: inherit;
}

.cert-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cert-date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-cyan);
    opacity: 0.7;
    margin-top: auto;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.2s ease;
}

.cert-card:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4c542' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
}

@media (max-width: 1200px) {
    .certifications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-card {
        padding: 1rem;
    }
}

/* ==================== CONTACT SECTION ==================== */

.contact {
    padding: 30px 0;
    min-height: auto;
}

.contact-container {
    max-width: 85vw;
    margin: 0 auto;
    text-align: center;
}

.contact-header {
    margin-bottom: 1.25rem;
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.contact-heading.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-text {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s var(--ease-out-expo) 0.1s;
}

.contact-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-gold);
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(244, 197, 66, 0.3);
    border-radius: 30px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s var(--ease-out-expo);
}

.contact-email.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-email:hover {
    background: rgba(244, 197, 66, 0.1);
    border-color: rgba(244, 197, 66, 0.5);
    transform: translateY(-2px);
}

.email-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s var(--ease-out-expo);
}

.email-icon svg {
    width: 14px;
    height: 14px;
}

.contact-email:hover .email-icon {
    transform: translate(2px, -2px);
}

.contact-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s var(--ease-out-expo) 0.2s;
}

.contact-bar.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.contact-contact-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s var(--ease-out-expo);
    transform: scale(0.8);
}

.contact-contact-link:hover {
    color: var(--bg-primary);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 184, 0, 0.3);
}

.contact-contact-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.contact-contact-link svg {
    width: 18px;
    height: 18px;
}

.footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-email {
        font-size: 0.9rem;
    }
}
