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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    overflow-x: hidden;
}

body.home-active {
    overflow: hidden;
}

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

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

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}

/* Page Structure */
.page {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Home Page */
#home {
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.hero-split {
    display: flex;
    height: 100vh;
    position: relative;
    width: 100vw;
    z-index: 0;
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 4rem;
}

.hero-static-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.hero-static-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hero-static-img:hover {
    transform: scale(1.02);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    margin-top: 60px !important;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.5s;
}

.hero-title:hover {
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.scroll-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    margin: 1.2rem auto 0 auto;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: none !important;
    outline: none !important;
    width: 150px;
    height: 150px;
    animation: levitate 3.5s infinite;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: background 0.2s;
    opacity: 0;
    animation: fade-in 1s forwards;
    animation-delay: 1.1s;
    z-index: 1000;
    position: relative;
}
.scroll-arrow-btn:focus, .scroll-arrow-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}
.scroll-arrow-btn .scroll-indicator {
    transition: filter 0.3s, text-shadow 0.3s;
}
.scroll-arrow-btn:hover .scroll-indicator,
.scroll-arrow-btn:focus .scroll-indicator {
    filter: brightness(1.5);
    text-shadow: 0 0 12px rgba(255,255,255,0.4), 0 0 4px #fff, 0 0 8px rgba(255,255,255,0.3);
}
.scroll-indicator {
    color: #fff;
    font-size: 1.3rem;
    animation: levitate 3.5s infinite;
    pointer-events: none;
}
@keyframes levitate {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(8px); 
    }
}

.hero-right {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.ambient-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: wave 8s ease-in-out infinite;
}

/* Identity Split Section */
.identity-split {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.floating-buttons {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Add subtle pulse animation to draw attention */
@keyframes subtle-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    }
}

.identity-btn {
    animation: subtle-pulse 3s ease-in-out infinite;
}

.identity-btn:hover {
    animation: none;
}

/* Page Headers */
.page-header {
    padding: 8rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.page-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-top: 1rem;
}

.home-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #ccc;
}

/* Career Page */
#career {
    background: #1e2228;
    color: #c9d1d9;
}

.timeline-section {
    margin-top: 60px;
    padding: 40px 0;
}

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-50%);
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline-item.left {
    padding-right: calc(50% + 30px);
}

.timeline-item.right {
    padding-left: calc(50% + 30px);
}

.timeline-date-opposite {
    position: absolute;
    top: 20px;
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

/* Timeline dates fade in when in view */
.timeline-date-opposite.in-view {
    opacity: 1;
}

.timeline-item.left .timeline-date-opposite {
    left: calc(50% + 20px);
    text-align: right;
}

.timeline-item.right .timeline-date-opposite {
    left: calc(50% - 120px);
    text-align: left;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    margin: 0 5px;
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.timeline-item.left .timeline-content {
    margin-right: 0;
}

.timeline-item.right .timeline-content {
    margin-left: 0;
}

/* Timeline tiles fade in when in view */
.timeline-content.in-view {
    opacity: 1;
}

/* Explicitly override any hover effects on timeline content */
.timeline-content:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    top: 25px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.timeline-item.left .timeline-content::before {
    right: -43px;
}

.timeline-item.right .timeline-content::before {
    left: -43px;
}

/* Explicitly override any hover effects on timeline dots */
.timeline-content:hover::before {
    transform: none !important;
    background: #000 !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2) !important;
}

/* Ensure in-view dots stay illuminated even on hover */
.timeline-content.in-view:hover::before {
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7) !important;
    background: white !important;
}

/* Scroll-based dot illumination - fill with white and change border */
.timeline-content.in-view::before {
    background: white;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.timeline-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    letter-spacing: 1px;
}

.timeline-company {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.timeline-summary ul {
    margin: 0;
    padding-left: 18px;
    color: #ddd;
    font-size: 0.8rem;
    line-height: 1.5;
}

.timeline-summary li {
    margin-bottom: 6px;
    font-weight: 300;
}

/* Projects Section */
.projects-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

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

.project-card {
    background: #22272e;
    border: 1px solid #30363d;
    color: #c9d1d9;
    box-shadow: 0 2px 12px rgba(30,34,40,0.10);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.project-card h4 {
    color: #ffd33d;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.project-card p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 16px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Brand-specific colors for project tech tag icons only */
.tech-tag.cadence i { color: #f85149; }
.tech-tag.synopsys i { color: #a371f7; }
.tech-tag.riscv i { color: #6e7681; }
.tech-tag.android i { color: #2ea043; }
.tech-tag.tensorflow i { color: #ffab70; }
.tech-tag.kicad i { color: #388bfd; }
.tech-tag.c-lang i { color: #ffd33d; }

/* Hover effects for tech tags - keep white text/border, just subtle purple glow */
.tech-tag.cadence:hover,
.tech-tag.synopsys:hover,
.tech-tag.riscv:hover,
.tech-tag.android:hover,
.tech-tag.tensorflow:hover,
.tech-tag.kicad:hover,
.tech-tag.c-lang:hover {
    background: rgba(184, 41, 255, 0.05);
    border-color: #b829ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Cooking Page */
#cooking {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    color: #fff;
}

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

.cooking-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 3rem;
}

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

.cooking-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 193, 7, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cooking-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 193, 7, 0.7);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
}

.cooking-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.cooking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.cooking-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffc107;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cooking-card:hover .cooking-overlay {
    opacity: 1;
}

.cooking-content {
    padding: 1.2rem;
}

.cooking-content h4 {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.cooking-content p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

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

.social-link {
    color: #ffc107;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

.contact-section h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fff, #ccc);
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.social-section {
    text-align: center;
}

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

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ccc;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes wave {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes text-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-split {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-buttons {
        gap: 1.5rem;
    }
    
    .timeline-line {
        left: 2rem;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
        box-shadow: 0 0 2px rgba(255, 255, 255, 0.05);
        opacity: 0.2;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 4rem;
        padding-right: 1rem;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -2.5rem;
        right: auto;
    }
    
    .timeline-item.left .timeline-date-opposite,
    .timeline-item.right .timeline-date-opposite {
        left: calc(2rem - 2.5rem);
        right: auto;
        text-align: right;
    }
    
    .projects-grid,
    .cooking-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 3rem;
        padding-right: 0.5rem;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -2rem;
    }
    
    .timeline-item.left .timeline-date-opposite,
    .timeline-item.right .timeline-date-opposite {
        left: calc(1.5rem - 2rem);
        font-size: 0.8rem;
        text-align: right;
    }
    
    .timeline-content {
        padding: 15px;
        margin: 0 10px;
    }
    
    .timeline-header h3 {
        font-size: 1rem;
    }
    
    .timeline-company {
        font-size: 0.8rem;
    }
    
    .timeline-summary ul {
        font-size: 0.75rem;
    }
    
    .timeline-line {
        left: 1.5rem;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
        box-shadow: 0 0 1px rgba(255, 255, 255, 0.03);
        opacity: 0.15;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

#personality {
    display: none;  
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

#personality.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in animations for personality page elements */
.personality-half {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: personality-fade-in 1s forwards;
}

.personality-half:nth-child(1) {
    animation-delay: 0.3s;
}

.personality-half:nth-child(2) {
    animation-delay: 0.5s;
}

.personality-half:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

/* Add user guidance text */
.personality-half::after {
    content: 'Click to explore';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    text-transform: uppercase;
}

.personality-half:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

@keyframes personality-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-btn {
    opacity: 0;
    transform: translateY(-20px);
    animation: home-btn-fade-in 0.8s forwards;
    animation-delay: 0.7s;
}

@keyframes home-btn-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-leave {
    opacity: 0;
    transform: translateY(-40px) scale(0.98);
    pointer-events: none;
}

.hero-progress-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    position: relative;
    z-index: 3;
}
.hero-progress-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: none;
}
.hero-progress-btn .hero-content {
    pointer-events: none;
}

.hero-bio {
    color: #bbb;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.8s;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}
.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Subtle hover/animation effects for all major interactive elements */
.identity-btn, .career-btn, .cooking-btn, .btn-glow, .project-card, .cooking-card, .hero-progress-btn, .hero-title, .floating-buttons a, .social-link, .submit-btn {
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s, color 0.3s, background 0.3s, opacity 0.3s;
}
.identity-btn:hover, .career-btn:hover, .cooking-btn:hover, .floating-buttons a:hover {
    box-shadow: 0 8px 32px rgba(184, 41, 255, 0.12);
    transform: translateY(-4px) scale(1.03);
    border-color: #fff;
}
.project-card:hover, .cooking-card:hover {
    box-shadow: 0 12px 36px rgba(184, 41, 255, 0.13);
    transform: translateY(-6px) scale(1.03);
    border-color: #fff;
}
.social-link:hover {
    color: #fff;
    transform: scale(1.15);
}
.submit-btn:hover {
    background: #fff;
    color: #0a0a0a;
    box-shadow: 0 6px 18px rgba(184, 41, 255, 0.18);
}

.personality-split {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.personality-half {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.personality-half::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: blur(8px) grayscale(80%) brightness(0.7);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.personality-career::before {
    background-image: url('images/asic.gif');
}

.personality-cooking::before {
    background-image: url('images/kitchen.gif');
}

/* GIF pause functionality - only affects GIF animations */
.personality-half.gif-paused::before {
    opacity: 0.15;
    filter: blur(10px) grayscale(90%) brightness(0.4);
}

/* Hover effect for personality halves */
.personality-half:hover::before {
    opacity: 0.4;
    filter: blur(4px) grayscale(0%) brightness(1);
}

.personality-career {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.personality-career::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.personality-cooking {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #0f0f0f 100%);
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.personality-cooking::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.personality-half:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

.home-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 0.8rem;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Career Intro Section */
.career-intro {
    padding: 4rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.career-intro-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    margin-top: 3.5rem;
}

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

.linkedin-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.linkedin-img:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.career-bio {
    flex: 1;
    display: flex;
    align-items: center;
}

.bio-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #c9d1d9;
    margin: 0;
    font-weight: 300;
}

.typewriter-text {
    color: #2ea043;
    font-weight: 600;
    border-right: 2px solid #2ea043;
    animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { border-color: transparent; }
  51%, 100% { border-color: #2ea043; }
}

/* Responsive design for career intro */
@media (max-width: 768px) {
    .career-intro-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .linkedin-img {
        width: 150px;
        height: 150px;
    }
    
    .bio-text {
        font-size: 1.1rem;
    }
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 2.5rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 100px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 0.9rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: contain;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
  margin-top: 3.5rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid #2ea043;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 2.5rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 100px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 0.9rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    overflow-x: hidden;
}

body.home-active {
    overflow: hidden;
}

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

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

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}

/* Page Structure */
.page {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Home Page */
#home {
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.hero-split {
    display: flex;
    height: 100vh;
    position: relative;
    width: 100vw;
    z-index: 0;
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 4rem;
}

.hero-static-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.hero-static-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hero-static-img:hover {
    transform: scale(1.02);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    margin-top: 60px !important;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.5s;
}

.hero-title:hover {
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.scroll-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    margin: 1.2rem auto 0 auto;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: none !important;
    outline: none !important;
    width: 150px;
    height: 150px;
    animation: levitate 3.5s infinite;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: background 0.2s;
    opacity: 0;
    animation: fade-in 1s forwards;
    animation-delay: 1.1s;
    z-index: 1000;
    position: relative;
}
.scroll-arrow-btn:focus, .scroll-arrow-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}
.scroll-arrow-btn .scroll-indicator {
    transition: filter 0.3s, text-shadow 0.3s;
}
.scroll-arrow-btn:hover .scroll-indicator,
.scroll-arrow-btn:focus .scroll-indicator {
    filter: brightness(1.5);
    text-shadow: 0 0 12px rgba(255,255,255,0.4), 0 0 4px #fff, 0 0 8px rgba(255,255,255,0.3);
}
.scroll-indicator {
    color: #fff;
    font-size: 1.3rem;
    animation: levitate 3.5s infinite;
    pointer-events: none;
}
@keyframes levitate {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(8px); 
    }
}

.hero-right {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.ambient-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: wave 8s ease-in-out infinite;
}

/* Identity Split Section */
.identity-split {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.floating-buttons {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Add subtle pulse animation to draw attention */
@keyframes subtle-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    }
}

.identity-btn {
    animation: subtle-pulse 3s ease-in-out infinite;
}

.identity-btn:hover {
    animation: none;
}

/* Page Headers */
.page-header {
    padding: 8rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.page-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-top: 1rem;
}

.home-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #ccc;
}

/* Career Page */
#career {
    background: #1e2228;
    color: #c9d1d9;
}

.timeline-section {
    margin-top: 60px;
    padding: 40px 0;
}

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-50%);
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline-item.left {
    padding-right: calc(50% + 30px);
}

.timeline-item.right {
    padding-left: calc(50% + 30px);
}

.timeline-date-opposite {
    position: absolute;
    top: 20px;
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

/* Timeline dates fade in when in view */
.timeline-date-opposite.in-view {
    opacity: 1;
}

.timeline-item.left .timeline-date-opposite {
    left: calc(50% + 20px);
    text-align: right;
}

.timeline-item.right .timeline-date-opposite {
    left: calc(50% - 120px);
    text-align: left;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    margin: 0 5px;
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.timeline-item.left .timeline-content {
    margin-right: 0;
}

.timeline-item.right .timeline-content {
    margin-left: 0;
}

/* Timeline tiles fade in when in view */
.timeline-content.in-view {
    opacity: 1;
}

/* Explicitly override any hover effects on timeline content */
.timeline-content:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    top: 25px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.timeline-item.left .timeline-content::before {
    right: -43px;
}

.timeline-item.right .timeline-content::before {
    left: -43px;
}

/* Explicitly override any hover effects on timeline dots */
.timeline-content:hover::before {
    transform: none !important;
    background: #000 !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2) !important;
}

/* Ensure in-view dots stay illuminated even on hover */
.timeline-content.in-view:hover::before {
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7) !important;
    background: white !important;
}

/* Scroll-based dot illumination - fill with white and change border */
.timeline-content.in-view::before {
    background: white;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.timeline-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    letter-spacing: 1px;
}

.timeline-company {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.timeline-summary ul {
    margin: 0;
    padding-left: 18px;
    color: #ddd;
    font-size: 0.8rem;
    line-height: 1.5;
}

.timeline-summary li {
    margin-bottom: 6px;
    font-weight: 300;
}

/* Projects Section */
.projects-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

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

.project-card {
    background: #22272e;
    border: 1px solid #30363d;
    color: #c9d1d9;
    box-shadow: 0 2px 12px rgba(30,34,40,0.10);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.project-card h4 {
    color: #ffd33d;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.project-card p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 16px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Brand-specific colors for project tech tag icons only */
.tech-tag.cadence i { color: #f85149; }
.tech-tag.synopsys i { color: #a371f7; }
.tech-tag.riscv i { color: #6e7681; }
.tech-tag.android i { color: #2ea043; }
.tech-tag.tensorflow i { color: #ffab70; }
.tech-tag.kicad i { color: #388bfd; }
.tech-tag.c-lang i { color: #ffd33d; }

/* Hover effects for tech tags - keep white text/border, just subtle purple glow */
.tech-tag.cadence:hover,
.tech-tag.synopsys:hover,
.tech-tag.riscv:hover,
.tech-tag.android:hover,
.tech-tag.tensorflow:hover,
.tech-tag.kicad:hover,
.tech-tag.c-lang:hover {
    background: rgba(184, 41, 255, 0.05);
    border-color: #b829ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Cooking Page */
#cooking {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    color: #fff;
}

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

.cooking-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 3rem;
}

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

.cooking-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 193, 7, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cooking-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 193, 7, 0.7);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
}

.cooking-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.cooking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.cooking-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffc107;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cooking-card:hover .cooking-overlay {
    opacity: 1;
}

.cooking-content {
    padding: 1.2rem;
}

.cooking-content h4 {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.cooking-content p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

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

.social-link {
    color: #ffc107;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

.contact-section h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fff, #ccc);
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.social-section {
    text-align: center;
}

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

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ccc;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes wave {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes text-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-split {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-buttons {
        gap: 1.5rem;
    }
    
    .timeline-line {
        left: 2rem;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
        box-shadow: 0 0 2px rgba(255, 255, 255, 0.05);
        opacity: 0.2;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 4rem;
        padding-right: 1rem;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -2.5rem;
        right: auto;
    }
    
    .timeline-item.left .timeline-date-opposite,
    .timeline-item.right .timeline-date-opposite {
        left: calc(2rem - 2.5rem);
        right: auto;
        text-align: right;
    }
    
    .projects-grid,
    .cooking-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 3rem;
        padding-right: 0.5rem;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -2rem;
    }
    
    .timeline-item.left .timeline-date-opposite,
    .timeline-item.right .timeline-date-opposite {
        left: calc(1.5rem - 2rem);
        font-size: 0.8rem;
        text-align: right;
    }
    
    .timeline-content {
        padding: 15px;
        margin: 0 10px;
    }
    
    .timeline-header h3 {
        font-size: 1rem;
    }
    
    .timeline-company {
        font-size: 0.8rem;
    }
    
    .timeline-summary ul {
        font-size: 0.75rem;
    }
    
    .timeline-line {
        left: 1.5rem;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
        box-shadow: 0 0 1px rgba(255, 255, 255, 0.03);
        opacity: 0.15;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

#personality {
    display: none;  
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

#personality.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in animations for personality page elements */
.personality-half {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: personality-fade-in 1s forwards;
}

.personality-half:nth-child(1) {
    animation-delay: 0.3s;
}

.personality-half:nth-child(2) {
    animation-delay: 0.5s;
}

.personality-half:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

/* Add user guidance text */
.personality-half::after {
    content: 'Click to explore';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    text-transform: uppercase;
}

.personality-half:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

@keyframes personality-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-btn {
    opacity: 0;
    transform: translateY(-20px);
    animation: home-btn-fade-in 0.8s forwards;
    animation-delay: 0.7s;
}

@keyframes home-btn-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-leave {
    opacity: 0;
    transform: translateY(-40px) scale(0.98);
    pointer-events: none;
}

.hero-progress-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    position: relative;
    z-index: 3;
}
.hero-progress-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: none;
}
.hero-progress-btn .hero-content {
    pointer-events: none;
}

.hero-bio {
    color: #bbb;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.8s;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}
.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Subtle hover/animation effects for all major interactive elements */
.identity-btn, .career-btn, .cooking-btn, .btn-glow, .project-card, .cooking-card, .hero-progress-btn, .hero-title, .floating-buttons a, .social-link, .submit-btn {
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s, color 0.3s, background 0.3s, opacity 0.3s;
}
.identity-btn:hover, .career-btn:hover, .cooking-btn:hover, .floating-buttons a:hover {
    box-shadow: 0 8px 32px rgba(184, 41, 255, 0.12);
    transform: translateY(-4px) scale(1.03);
    border-color: #fff;
}
.project-card:hover, .cooking-card:hover {
    box-shadow: 0 12px 36px rgba(184, 41, 255, 0.13);
    transform: translateY(-6px) scale(1.03);
    border-color: #fff;
}
.social-link:hover {
    color: #fff;
    transform: scale(1.15);
}
.submit-btn:hover {
    background: #fff;
    color: #0a0a0a;
    box-shadow: 0 6px 18px rgba(184, 41, 255, 0.18);
}

.personality-split {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.personality-half {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.personality-half::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: blur(8px) grayscale(80%) brightness(0.7);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.personality-career::before {
    background-image: url('images/asic.gif');
}

.personality-cooking::before {
    background-image: url('images/kitchen.gif');
}

/* GIF pause functionality - only affects GIF animations */
.personality-half.gif-paused::before {
    opacity: 0.15;
    filter: blur(10px) grayscale(90%) brightness(0.4);
}

/* Hover effect for personality halves */
.personality-half:hover::before {
    opacity: 0.4;
    filter: blur(4px) grayscale(0%) brightness(1);
}

.personality-career {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.personality-career::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.personality-cooking {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #0f0f0f 100%);
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.personality-cooking::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.personality-half:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

.home-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 0.8rem;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Career Intro Section */
.career-intro {
    padding: 4rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.career-intro-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    margin-top: 3.5rem;
}

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

.linkedin-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.linkedin-img:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.career-bio {
    flex: 1;
    display: flex;
    align-items: center;
}

.bio-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #c9d1d9;
    margin: 0;
    font-weight: 300;
}

.typewriter-text {
    color: #2ea043;
    font-weight: 600;
    border-right: 2px solid #2ea043;
    animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { border-color: transparent; }
  51%, 100% { border-color: #2ea043; }
}

/* Responsive design for career intro */
@media (max-width: 768px) {
    .career-intro-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .linkedin-img {
        width: 150px;
        height: 150px;
    }
    
    .bio-text {
        font-size: 1.1rem;
    }
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
  margin-top: 3.5rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid #2ea043;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
  margin-top: 3.5rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid #2ea043;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Font Awesome icon font override for skill icons, project tiles, and headers (force at end of file, with correct weights) */
.skill-bubble i,
.tech-tag i,
.skills-category h4 i,
.eda-brand h5 i {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  speak: never;
}
.fa,
.fas {
  font-family: 'Font Awesome 6 Free', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  speak: never;
}
.fab {
  font-family: 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  speak: never;
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .eda-tool i {
        font-size: 1rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
  margin-top: 3.5rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid #2ea043;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    overflow-x: hidden;
}

body.home-active {
    overflow: hidden;
}

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

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

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}

/* Page Structure */
.page {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Home Page */
#home {
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.hero-split {
    display: flex;
    height: 100vh;
    position: relative;
    width: 100vw;
    z-index: 0;
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 4rem;
}

.hero-static-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.hero-static-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hero-static-img:hover {
    transform: scale(1.02);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    margin-top: 60px !important;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.5s;
}

.hero-title:hover {
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.scroll-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    margin: 1.2rem auto 0 auto;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: none !important;
    outline: none !important;
    width: 150px;
    height: 150px;
    animation: levitate 3.5s infinite;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: background 0.2s;
    opacity: 0;
    animation: fade-in 1s forwards;
    animation-delay: 1.1s;
    z-index: 1000;
    position: relative;
}
.scroll-arrow-btn:focus, .scroll-arrow-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}
.scroll-arrow-btn .scroll-indicator {
    transition: filter 0.3s, text-shadow 0.3s;
}
.scroll-arrow-btn:hover .scroll-indicator,
.scroll-arrow-btn:focus .scroll-indicator {
    filter: brightness(1.5);
    text-shadow: 0 0 12px rgba(255,255,255,0.4), 0 0 4px #fff, 0 0 8px rgba(255,255,255,0.3);
}
.scroll-indicator {
    color: #fff;
    font-size: 1.3rem;
    animation: levitate 3.5s infinite;
    pointer-events: none;
}
@keyframes levitate {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(8px); 
    }
}

.hero-right {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.ambient-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: wave 8s ease-in-out infinite;
}

/* Identity Split Section */
.identity-split {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.floating-buttons {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Add subtle pulse animation to draw attention */
@keyframes subtle-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    }
}

.identity-btn {
    animation: subtle-pulse 3s ease-in-out infinite;
}

.identity-btn:hover {
    animation: none;
}

/* Page Headers */
.page-header {
    padding: 8rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.page-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-top: 1rem;
}

.home-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #ccc;
}

/* Career Page */
#career {
    background: #1e2228;
    color: #c9d1d9;
}

.timeline-section {
    margin-top: 60px;
    padding: 40px 0;
}

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-50%);
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline-item.left {
    padding-right: calc(50% + 30px);
}

.timeline-item.right {
    padding-left: calc(50% + 30px);
}

.timeline-date-opposite {
    position: absolute;
    top: 20px;
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

/* Timeline dates fade in when in view */
.timeline-date-opposite.in-view {
    opacity: 1;
}

.timeline-item.left .timeline-date-opposite {
    left: calc(50% + 20px);
    text-align: right;
}

.timeline-item.right .timeline-date-opposite {
    left: calc(50% - 120px);
    text-align: left;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    margin: 0 5px;
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.timeline-item.left .timeline-content {
    margin-right: 0;
}

.timeline-item.right .timeline-content {
    margin-left: 0;
}

/* Timeline tiles fade in when in view */
.timeline-content.in-view {
    opacity: 1;
}

/* Explicitly override any hover effects on timeline content */
.timeline-content:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    top: 25px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.timeline-item.left .timeline-content::before {
    right: -43px;
}

.timeline-item.right .timeline-content::before {
    left: -43px;
}

/* Explicitly override any hover effects on timeline dots */
.timeline-content:hover::before {
    transform: none !important;
    background: #000 !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2) !important;
}

/* Ensure in-view dots stay illuminated even on hover */
.timeline-content.in-view:hover::before {
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7) !important;
    background: white !important;
}

/* Scroll-based dot illumination - fill with white and change border */
.timeline-content.in-view::before {
    background: white;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.timeline-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    letter-spacing: 1px;
}

.timeline-company {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.timeline-summary ul {
    margin: 0;
    padding-left: 18px;
    color: #ddd;
    font-size: 0.8rem;
    line-height: 1.5;
}

.timeline-summary li {
    margin-bottom: 6px;
    font-weight: 300;
}

/* Projects Section */
.projects-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

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

.project-card {
    background: #22272e;
    border: 1px solid #30363d;
    color: #c9d1d9;
    box-shadow: 0 2px 12px rgba(30,34,40,0.10);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.project-card h4 {
    color: #ffd33d;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.project-card p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 16px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Brand-specific colors for project tech tag icons only */
.tech-tag.cadence i { color: #f85149; }
.tech-tag.synopsys i { color: #a371f7; }
.tech-tag.riscv i { color: #6e7681; }
.tech-tag.android i { color: #2ea043; }
.tech-tag.tensorflow i { color: #ffab70; }
.tech-tag.kicad i { color: #388bfd; }
.tech-tag.c-lang i { color: #ffd33d; }

/* Hover effects for tech tags - keep white text/border, just subtle purple glow */
.tech-tag.cadence:hover,
.tech-tag.synopsys:hover,
.tech-tag.riscv:hover,
.tech-tag.android:hover,
.tech-tag.tensorflow:hover,
.tech-tag.kicad:hover,
.tech-tag.c-lang:hover {
    background: rgba(184, 41, 255, 0.05);
    border-color: #b829ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Cooking Page */
#cooking {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    color: #fff;
}

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

.cooking-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 3rem;
}

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

.cooking-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 193, 7, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cooking-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 193, 7, 0.7);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
}

.cooking-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.cooking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.cooking-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffc107;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cooking-card:hover .cooking-overlay {
    opacity: 1;
}

.cooking-content {
    padding: 1.2rem;
}

.cooking-content h4 {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.cooking-content p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

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

.social-link {
    color: #ffc107;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    overflow-x: hidden;
}

body.home-active {
    overflow: hidden;
}

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

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

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}

/* Page Structure */
.page {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Home Page */
#home {
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.hero-split {
    display: flex;
    height: 100vh;
    position: relative;
    width: 100vw;
    z-index: 0;
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 4rem;
}

.hero-static-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.hero-static-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hero-static-img:hover {
    transform: scale(1.02);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    margin-top: 60px !important;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.5s;
}

.hero-title:hover {
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.scroll-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    margin: 1.2rem auto 0 auto;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: none !important;
    outline: none !important;
    width: 150px;
    height: 150px;
    animation: levitate 3.5s infinite;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: background 0.2s;
    opacity: 0;
    animation: fade-in 1s forwards;
    animation-delay: 1.1s;
    z-index: 1000;
    position: relative;
}
.scroll-arrow-btn:focus, .scroll-arrow-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}
.scroll-arrow-btn .scroll-indicator {
    transition: filter 0.3s, text-shadow 0.3s;
}
.scroll-arrow-btn:hover .scroll-indicator,
.scroll-arrow-btn:focus .scroll-indicator {
    filter: brightness(1.5);
    text-shadow: 0 0 12px rgba(255,255,255,0.4), 0 0 4px #fff, 0 0 8px rgba(255,255,255,0.3);
}
.scroll-indicator {
    color: #fff;
    font-size: 1.3rem;
    animation: levitate 3.5s infinite;
    pointer-events: none;
}
@keyframes levitate {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(8px); 
    }
}

.hero-right {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.ambient-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: wave 8s ease-in-out infinite;
}

/* Identity Split Section */
.identity-split {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.floating-buttons {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Add subtle pulse animation to draw attention */
@keyframes subtle-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    }
}

.identity-btn {
    animation: subtle-pulse 3s ease-in-out infinite;
}

.identity-btn:hover {
    animation: none;
}

/* Page Headers */
.page-header {
    padding: 8rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.page-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-top: 1rem;
}

.home-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #ccc;
}

/* Career Page */
#career {
    background: #1e2228;
    color: #c9d1d9;
}

.timeline-section {
    margin-top: 60px;
    padding: 40px 0;
}

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-50%);
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline-item.left {
    padding-right: calc(50% + 30px);
}

.timeline-item.right {
    padding-left: calc(50% + 30px);
}

.timeline-date-opposite {
    position: absolute;
    top: 20px;
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

/* Timeline dates fade in when in view */
.timeline-date-opposite.in-view {
    opacity: 1;
}

.timeline-item.left .timeline-date-opposite {
    left: calc(50% + 20px);
    text-align: right;
}

.timeline-item.right .timeline-date-opposite {
    left: calc(50% - 120px);
    text-align: left;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    margin: 0 5px;
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.timeline-item.left .timeline-content {
    margin-right: 0;
}

.timeline-item.right .timeline-content {
    margin-left: 0;
}

/* Timeline tiles fade in when in view */
.timeline-content.in-view {
    opacity: 1;
}

/* Explicitly override any hover effects on timeline content */
.timeline-content:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    top: 25px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.timeline-item.left .timeline-content::before {
    right: -43px;
}

.timeline-item.right .timeline-content::before {
    left: -43px;
}

/* Explicitly override any hover effects on timeline dots */
.timeline-content:hover::before {
    transform: none !important;
    background: #000 !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2) !important;
}

/* Ensure in-view dots stay illuminated even on hover */
.timeline-content.in-view:hover::before {
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7) !important;
    background: white !important;
}

/* Scroll-based dot illumination - fill with white and change border */
.timeline-content.in-view::before {
    background: white;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.timeline-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    letter-spacing: 1px;
}

.timeline-company {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.timeline-summary ul {
    margin: 0;
    padding-left: 18px;
    color: #ddd;
    font-size: 0.8rem;
    line-height: 1.5;
}

.timeline-summary li {
    margin-bottom: 6px;
    font-weight: 300;
}

/* Projects Section */
.projects-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

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

.project-card {
    background: #22272e;
    border: 1px solid #30363d;
    color: #c9d1d9;
    box-shadow: 0 2px 12px rgba(30,34,40,0.10);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.project-card h4 {
    color: #ffd33d;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.project-card p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 16px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Brand-specific colors for project tech tag icons only */
.tech-tag.cadence i { color: #f85149; }
.tech-tag.synopsys i { color: #a371f7; }
.tech-tag.riscv i { color: #6e7681; }
.tech-tag.android i { color: #2ea043; }
.tech-tag.tensorflow i { color: #ffab70; }
.tech-tag.kicad i { color: #388bfd; }
.tech-tag.c-lang i { color: #ffd33d; }

/* Hover effects for tech tags - keep white text/border, just subtle purple glow */
.tech-tag.cadence:hover,
.tech-tag.synopsys:hover,
.tech-tag.riscv:hover,
.tech-tag.android:hover,
.tech-tag.tensorflow:hover,
.tech-tag.kicad:hover,
.tech-tag.c-lang:hover {
    background: rgba(184, 41, 255, 0.05);
    border-color: #b829ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Cooking Page */
#cooking {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    color: #fff;
}

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

.cooking-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 3rem;
}

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

.cooking-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 193, 7, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cooking-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 193, 7, 0.7);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
}

.cooking-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.cooking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.cooking-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffc107;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cooking-card:hover .cooking-overlay {
    opacity: 1;
}

.cooking-content {
    padding: 1.2rem;
}

.cooking-content h4 {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.cooking-content p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

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

.social-link {
    color: #ffc107;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

.contact-section h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fff, #ccc);
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.social-section {
    text-align: center;
}

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

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ccc;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes wave {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes text-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-split {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-buttons {
        gap: 1.5rem;
    }
    
    .timeline-line {
        left: 2rem;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
        box-shadow: 0 0 2px rgba(255, 255, 255, 0.05);
        opacity: 0.2;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 4rem;
        padding-right: 1rem;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -2.5rem;
        right: auto;
    }
    
    .timeline-item.left .timeline-date-opposite,
    .timeline-item.right .timeline-date-opposite {
        left: calc(2rem - 2.5rem);
        right: auto;
        text-align: right;
    }
    
    .projects-grid,
    .cooking-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 3rem;
        padding-right: 0.5rem;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -2rem;
    }
    
    .timeline-item.left .timeline-date-opposite,
    .timeline-item.right .timeline-date-opposite {
        left: calc(1.5rem - 2rem);
        font-size: 0.8rem;
        text-align: right;
    }
    
    .timeline-content {
        padding: 15px;
        margin: 0 10px;
    }
    
    .timeline-header h3 {
        font-size: 1rem;
    }
    
    .timeline-company {
        font-size: 0.8rem;
    }
    
    .timeline-summary ul {
        font-size: 0.75rem;
    }
    
    .timeline-line {
        left: 1.5rem;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
        box-shadow: 0 0 1px rgba(255, 255, 255, 0.03);
        opacity: 0.15;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

#personality {
    display: none;  
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

#personality.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in animations for personality page elements */
.personality-half {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: personality-fade-in 1s forwards;
}

.personality-half:nth-child(1) {
    animation-delay: 0.3s;
}

.personality-half:nth-child(2) {
    animation-delay: 0.5s;
}

.personality-half:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

/* Add user guidance text */
.personality-half::after {
    content: 'Click to explore';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    text-transform: uppercase;
}

.personality-half:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

@keyframes personality-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-btn {
    opacity: 0;
    transform: translateY(-20px);
    animation: home-btn-fade-in 0.8s forwards;
    animation-delay: 0.7s;
}

@keyframes home-btn-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-leave {
    opacity: 0;
    transform: translateY(-40px) scale(0.98);
    pointer-events: none;
}

.hero-progress-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    position: relative;
    z-index: 3;
}
.hero-progress-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: none;
}
.hero-progress-btn .hero-content {
    pointer-events: none;
}

.hero-bio {
    color: #bbb;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.8s;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}
.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Subtle hover/animation effects for all major interactive elements */
.identity-btn, .career-btn, .cooking-btn, .btn-glow, .project-card, .cooking-card, .hero-progress-btn, .hero-title, .floating-buttons a, .social-link, .submit-btn {
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s, color 0.3s, background 0.3s, opacity 0.3s;
}
.identity-btn:hover, .career-btn:hover, .cooking-btn:hover, .floating-buttons a:hover {
    box-shadow: 0 8px 32px rgba(184, 41, 255, 0.12);
    transform: translateY(-4px) scale(1.03);
    border-color: #fff;
}
.project-card:hover, .cooking-card:hover {
    box-shadow: 0 12px 36px rgba(184, 41, 255, 0.13);
    transform: translateY(-6px) scale(1.03);
    border-color: #fff;
}
.social-link:hover {
    color: #fff;
    transform: scale(1.15);
}
.submit-btn:hover {
    background: #fff;
    color: #0a0a0a;
    box-shadow: 0 6px 18px rgba(184, 41, 255, 0.18);
}

.personality-split {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.personality-half {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.personality-half::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: blur(8px) grayscale(80%) brightness(0.7);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.personality-career::before {
    background-image: url('images/asic.gif');
}

.personality-cooking::before {
    background-image: url('images/kitchen.gif');
}

/* GIF pause functionality - only affects GIF animations */
.personality-half.gif-paused::before {
    opacity: 0.15;
    filter: blur(10px) grayscale(90%) brightness(0.4);
}

/* Hover effect for personality halves */
.personality-half:hover::before {
    opacity: 0.4;
    filter: blur(4px) grayscale(0%) brightness(1);
}

.personality-career {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.personality-career::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.personality-cooking {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #0f0f0f 100%);
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.personality-cooking::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.personality-half:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

.home-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 0.8rem;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Career Intro Section */
.career-intro {
    padding: 4rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.career-intro-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    margin-top: 3.5rem;
}

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

.linkedin-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.linkedin-img:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.career-bio {
    flex: 1;
    display: flex;
    align-items: center;
}

.bio-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #c9d1d9;
    margin: 0;
    font-weight: 300;
}

.typewriter-text {
    color: #2ea043;
    font-weight: 600;
    border-right: 2px solid #2ea043;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #2ea043; }
}

/* Responsive design for career intro */
@media (max-width: 768px) {
    .career-intro-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .linkedin-img {
        width: 150px;
        height: 150px;
    }
    
    .bio-text {
        font-size: 1.1rem;
    }
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
  margin-top: 3.5rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid #2ea043;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
  margin-top: 3.5rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid #2ea043;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Font Awesome icon font override for skill icons, project tiles, and headers (force at end of file, with correct weights) */
.skill-bubble i,
.tech-tag i,
.skills-category h4 i,
.eda-brand h5 i {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  speak: never;
}
.fa,
.fas {
  font-family: 'Font Awesome 6 Free', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  speak: never;
}
.fab {
  font-family: 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  speak: never;
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .eda-tool i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
  margin-top: 3.5rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid #2ea043;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .eda-tool i {
        font-size: 1rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    overflow-x: hidden;
}

body.home-active {
    overflow: hidden;
}

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

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

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}

/* Page Structure */
.page {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Home Page */
#home {
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.hero-split {
    display: flex;
    height: 100vh;
    position: relative;
    width: 100vw;
    z-index: 0;
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 4rem;
}

.hero-static-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.hero-static-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hero-static-img:hover {
    transform: scale(1.02);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    margin-top: 60px !important;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.5s;
}

.hero-title:hover {
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.scroll-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    margin: 1.2rem auto 0 auto;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: none !important;
    outline: none !important;
    width: 150px;
    height: 150px;
    animation: levitate 3.5s infinite;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: background 0.2s;
    opacity: 0;
    animation: fade-in 1s forwards;
    animation-delay: 1.1s;
    z-index: 1000;
    position: relative;
}
.scroll-arrow-btn:focus, .scroll-arrow-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}
.scroll-arrow-btn .scroll-indicator {
    transition: filter 0.3s, text-shadow 0.3s;
}
.scroll-arrow-btn:hover .scroll-indicator,
.scroll-arrow-btn:focus .scroll-indicator {
    filter: brightness(1.5);
    text-shadow: 0 0 12px rgba(255,255,255,0.4), 0 0 4px #fff, 0 0 8px rgba(255,255,255,0.3);
}
.scroll-indicator {
    color: #fff;
    font-size: 1.3rem;
    animation: levitate 3.5s infinite;
    pointer-events: none;
}
@keyframes levitate {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(8px); 
    }
}

.hero-right {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.ambient-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: wave 8s ease-in-out infinite;
}

/* Identity Split Section */
.identity-split {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.floating-buttons {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Add subtle pulse animation to draw attention */
@keyframes subtle-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    }
}

.identity-btn {
    animation: subtle-pulse 3s ease-in-out infinite;
}

.identity-btn:hover {
    animation: none;
}

/* Page Headers */
.page-header {
    padding: 8rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.page-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-top: 1rem;
}

.home-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #ccc;
}

/* Career Page */
#career {
    background: #1e2228;
    color: #c9d1d9;
}

.timeline-section {
    margin-top: 60px;
    padding: 40px 0;
}

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-50%);
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline-item.left {
    padding-right: calc(50% + 30px);
}

.timeline-item.right {
    padding-left: calc(50% + 30px);
}

.timeline-date-opposite {
    position: absolute;
    top: 20px;
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

/* Timeline dates fade in when in view */
.timeline-date-opposite.in-view {
    opacity: 1;
}

.timeline-item.left .timeline-date-opposite {
    left: calc(50% + 20px);
    text-align: right;
}

.timeline-item.right .timeline-date-opposite {
    left: calc(50% - 120px);
    text-align: left;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    margin: 0 5px;
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.timeline-item.left .timeline-content {
    margin-right: 0;
}

.timeline-item.right .timeline-content {
    margin-left: 0;
}

/* Timeline tiles fade in when in view */
.timeline-content.in-view {
    opacity: 1;
}

/* Explicitly override any hover effects on timeline content */
.timeline-content:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    top: 25px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.timeline-item.left .timeline-content::before {
    right: -43px;
}

.timeline-item.right .timeline-content::before {
    left: -43px;
}

/* Explicitly override any hover effects on timeline dots */
.timeline-content:hover::before {
    transform: none !important;
    background: #000 !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2) !important;
}

/* Ensure in-view dots stay illuminated even on hover */
.timeline-content.in-view:hover::before {
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7) !important;
    background: white !important;
}

/* Scroll-based dot illumination - fill with white and change border */
.timeline-content.in-view::before {
    background: white;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.timeline-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    letter-spacing: 1px;
}

.timeline-company {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.timeline-summary ul {
    margin: 0;
    padding-left: 18px;
    color: #ddd;
    font-size: 0.8rem;
    line-height: 1.5;
}

.timeline-summary li {
    margin-bottom: 6px;
    font-weight: 300;
}

/* Projects Section */
.projects-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

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

.project-card {
    background: #22272e;
    border: 1px solid #30363d;
    color: #c9d1d9;
    box-shadow: 0 2px 12px rgba(30,34,40,0.10);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.project-card h4 {
    color: #ffd33d;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.project-card p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 16px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Brand-specific colors for project tech tag icons only */
.tech-tag.cadence i { color: #f85149; }
.tech-tag.synopsys i { color: #a371f7; }
.tech-tag.riscv i { color: #6e7681; }
.tech-tag.android i { color: #2ea043; }
.tech-tag.tensorflow i { color: #ffab70; }
.tech-tag.kicad i { color: #388bfd; }
.tech-tag.c-lang i { color: #ffd33d; }

/* Hover effects for tech tags - keep white text/border, just subtle purple glow */
.tech-tag.cadence:hover,
.tech-tag.synopsys:hover,
.tech-tag.riscv:hover,
.tech-tag.android:hover,
.tech-tag.tensorflow:hover,
.tech-tag.kicad:hover,
.tech-tag.c-lang:hover {
    background: rgba(184, 41, 255, 0.05);
    border-color: #b829ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Cooking Page */
#cooking {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    color: #fff;
}

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

.cooking-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 3rem;
}

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

.cooking-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 193, 7, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cooking-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 193, 7, 0.7);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
}

.cooking-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.cooking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.cooking-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffc107;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cooking-card:hover .cooking-overlay {
    opacity: 1;
}

.cooking-content {
    padding: 1.2rem;
}

.cooking-content h4 {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.cooking-content p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

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

.social-link {
    color: #ffc107;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

.contact-section h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fff, #ccc);
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.social-section {
    text-align: center;
}

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

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ccc;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes wave {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes text-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-split {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-buttons {
        gap: 1.5rem;
    }
    
    .timeline-line {
        left: 2rem;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
        box-shadow: 0 0 2px rgba(255, 255, 255, 0.05);
        opacity: 0.2;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 4rem;
        padding-right: 1rem;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -2.5rem;
        right: auto;
    }
    
    .timeline-item.left .timeline-date-opposite,
    .timeline-item.right .timeline-date-opposite {
        left: calc(2rem - 2.5rem);
        right: auto;
        text-align: right;
    }
    
    .projects-grid,
    .cooking-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 3rem;
        padding-right: 0.5rem;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -2rem;
    }
    
    .timeline-item.left .timeline-date-opposite,
    .timeline-item.right .timeline-date-opposite {
        left: calc(1.5rem - 2rem);
        font-size: 0.8rem;
        text-align: right;
    }
    
    .timeline-content {
        padding: 15px;
        margin: 0 10px;
    }
    
    .timeline-header h3 {
        font-size: 1rem;
    }
    
    .timeline-company {
        font-size: 0.8rem;
    }
    
    .timeline-summary ul {
        font-size: 0.75rem;
    }
    
    .timeline-line {
        left: 1.5rem;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
        box-shadow: 0 0 1px rgba(255, 255, 255, 0.03);
        opacity: 0.15;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

#personality {
    display: none;  
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

#personality.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in animations for personality page elements */
.personality-half {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: personality-fade-in 1s forwards;
}

.personality-half:nth-child(1) {
    animation-delay: 0.3s;
}

.personality-half:nth-child(2) {
    animation-delay: 0.5s;
}

.personality-half:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

/* Add user guidance text */
.personality-half::after {
    content: 'Click to explore';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    text-transform: uppercase;
}

.personality-half:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

@keyframes personality-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-btn {
    opacity: 0;
    transform: translateY(-20px);
    animation: home-btn-fade-in 0.8s forwards;
    animation-delay: 0.7s;
}

@keyframes home-btn-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-leave {
    opacity: 0;
    transform: translateY(-40px) scale(0.98);
    pointer-events: none;
}

.hero-progress-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    position: relative;
    z-index: 3;
}
.hero-progress-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: none;
}
.hero-progress-btn .hero-content {
    pointer-events: none;
}

.hero-bio {
    color: #bbb;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.8s;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}
.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Subtle hover/animation effects for all major interactive elements */
.identity-btn, .career-btn, .cooking-btn, .btn-glow, .project-card, .cooking-card, .hero-progress-btn, .hero-title, .floating-buttons a, .social-link, .submit-btn {
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s, color 0.3s, background 0.3s, opacity 0.3s;
}
.identity-btn:hover, .career-btn:hover, .cooking-btn:hover, .floating-buttons a:hover {
    box-shadow: 0 8px 32px rgba(184, 41, 255, 0.12);
    transform: translateY(-4px) scale(1.03);
    border-color: #fff;
}
.project-card:hover, .cooking-card:hover {
    box-shadow: 0 12px 36px rgba(184, 41, 255, 0.13);
    transform: translateY(-6px) scale(1.03);
    border-color: #fff;
}
.social-link:hover {
    color: #fff;
    transform: scale(1.15);
}
.submit-btn:hover {
    background: #fff;
    color: #0a0a0a;
    box-shadow: 0 6px 18px rgba(184, 41, 255, 0.18);
}

.personality-split {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.personality-half {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.personality-half::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: blur(8px) grayscale(80%) brightness(0.7);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.personality-career::before {
    background-image: url('images/asic.gif');
}

.personality-cooking::before {
    background-image: url('images/kitchen.gif');
}

/* GIF pause functionality - only affects GIF animations */
.personality-half.gif-paused::before {
    opacity: 0.15;
    filter: blur(10px) grayscale(90%) brightness(0.4);
}

/* Hover effect for personality halves */
.personality-half:hover::before {
    opacity: 0.4;
    filter: blur(4px) grayscale(0%) brightness(1);
}

.personality-career {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.personality-career::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.personality-cooking {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #0f0f0f 100%);
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.personality-cooking::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.personality-half:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

.home-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 0.8rem;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Career Intro Section */
.career-intro {
    padding: 4rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.career-intro-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    margin-top: 3.5rem;
}

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

.linkedin-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.linkedin-img:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.career-bio {
    flex: 1;
    display: flex;
    align-items: center;
}

.bio-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #c9d1d9;
    margin: 0;
    font-weight: 300;
}

.typewriter-text {
    color: #2ea043;
    font-weight: 600;
    border-right: 2px solid #2ea043;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #2ea043; }
}

/* Responsive design for career intro */
@media (max-width: 768px) {
    .career-intro-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .linkedin-img {
        width: 150px;
        height: 150px;
    }
    
    .bio-text {
        font-size: 1.1rem;
    }
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid #2ea043;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .eda-tool i {
        font-size: 1rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid #2ea043;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Font Awesome icon font override for skill icons, project tiles, and headers (force at end of file, with correct weights) */
.skill-bubble i,
.tech-tag i,
.skills-category h4 i,
.eda-brand h5 i {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  speak: never;
}
.fa,
.fas {
  font-family: 'Font Awesome 6 Free', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  speak: never;
}
.fab {
  font-family: 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  speak: never;
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid #2ea043;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Font Awesome icon font override for skill icons, project tiles, and headers (force at end of file, with correct weights) */
.skill-bubble i,
.tech-tag i,
.skills-category h4 i,
.eda-brand h5 i,
.fa,
.fab,
.fas {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  speak: never;
}
.fa,
.fas {
  font-family: 'Font Awesome 6 Free', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  speak: never;
}
.fab {
  font-family: 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  speak: never;
}

/* VSCode-style highlights for experience content */
.vsc-highlight-blue { color: #388bfd; font-weight: 600; background: rgba(56,139,253,0.08); border-radius: 4px; padding: 0 0.2em; }
.vsc-highlight-green { color: #2ea043; font-weight: 600; background: rgba(46,160,67,0.08); border-radius: 4px; padding: 0 0.2em; }
.vsc-highlight-orange { color: #ffab70; font-weight: 600; background: rgba(255,171,112,0.08); border-radius: 4px; padding: 0 0.2em; }
.vsc-highlight-purple { color: #a371f7; font-weight: 600; background: rgba(163,113,247,0.08); border-radius: 4px; padding: 0 0.2em; }

/* Force Font Awesome font-family */
i, .fa, .fab, .fas, .skill-bubble i, .tech-tag i, .tech-tag .fa, .tech-tag .fab, .tech-tag .fas, .skills-category h4 i, .eda-brand h5 i {
  font-family: 'Font Awesome 6 Free' !important;
}

/* Font Awesome icon font override for skill icons, project tiles, and headers */
.skill-bubble i,
.tech-tag i,
.skills-category h4 i,
.eda-brand h5 i,
.fa,
.fab,
.fas {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  speak: never;
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid currentColor;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid currentColor;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Force the .career-page .hero-title to have the same top margin as the .cooking-page .hero-title */
.career-page .hero-title {
  margin-top: 120px !important;
  text-align: center;
  width: 100%;
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid currentColor;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    overflow-x: hidden;
}

body.home-active {
    overflow: hidden;
}

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

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

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}

/* Page Structure */
.page {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Home Page */
#home {
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.hero-split {
    display: flex;
    height: 100vh;
    position: relative;
    width: 100vw;
    z-index: 0;
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 4rem;
}

.hero-static-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.hero-static-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hero-static-img:hover {
    transform: scale(1.02);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #fff;
    margin-top: 60px !important;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.5s;
}

.hero-title:hover {
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.scroll-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    margin: 1.2rem auto 0 auto;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: none !important;
    outline: none !important;
    width: 150px;
    height: 150px;
    animation: levitate 3.5s infinite;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: background 0.2s;
    opacity: 0;
    animation: fade-in 1s forwards;
    animation-delay: 1.1s;
    z-index: 1000;
    position: relative;
}
.scroll-arrow-btn:focus, .scroll-arrow-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}
.scroll-arrow-btn .scroll-indicator {
    transition: filter 0.3s, text-shadow 0.3s;
}
.scroll-arrow-btn:hover .scroll-indicator,
.scroll-arrow-btn:focus .scroll-indicator {
    filter: brightness(1.5);
    text-shadow: 0 0 12px rgba(255,255,255,0.4), 0 0 4px #fff, 0 0 8px rgba(255,255,255,0.3);
}
.scroll-indicator {
    color: #fff;
    font-size: 1.3rem;
    animation: levitate 3.5s infinite;
    pointer-events: none;
}
@keyframes levitate {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(8px); 
    }
}

.hero-right {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.ambient-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: wave 8s ease-in-out infinite;
}

/* Identity Split Section */
.identity-split {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.floating-buttons {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Add subtle pulse animation to draw attention */
@keyframes subtle-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    }
}

.identity-btn {
    animation: subtle-pulse 3s ease-in-out infinite;
}

.identity-btn:hover {
    animation: none;
}

/* Page Headers */
.page-header {
    padding: 8rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.page-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-top: 1rem;
}

.home-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #ccc;
}

/* Career Page */
#career {
    background: #1e2228;
    color: #c9d1d9;
}

.timeline-section {
    margin-top: 60px;
    padding: 40px 0;
}

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-50%);
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline-item.left {
    padding-right: calc(50% + 30px);
}

.timeline-item.right {
    padding-left: calc(50% + 30px);
}

.timeline-date-opposite {
    position: absolute;
    top: 20px;
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

/* Timeline dates fade in when in view */
.timeline-date-opposite.in-view {
    opacity: 1;
}

.timeline-item.left .timeline-date-opposite {
    left: calc(50% + 20px);
    text-align: right;
}

.timeline-item.right .timeline-date-opposite {
    left: calc(50% - 120px);
    text-align: left;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    margin: 0 5px;
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.timeline-item.left .timeline-content {
    margin-right: 0;
}

.timeline-item.right .timeline-content {
    margin-left: 0;
}

/* Timeline tiles fade in when in view */
.timeline-content.in-view {
    opacity: 1;
}

/* Explicitly override any hover effects on timeline content */
.timeline-content:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    top: 25px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.timeline-item.left .timeline-content::before {
    right: -43px;
}

.timeline-item.right .timeline-content::before {
    left: -43px;
}

/* Explicitly override any hover effects on timeline dots */
.timeline-content:hover::before {
    transform: none !important;
    background: #000 !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2) !important;
}

/* Ensure in-view dots stay illuminated even on hover */
.timeline-content.in-view:hover::before {
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7) !important;
    background: white !important;
}

/* Scroll-based dot illumination - fill with white and change border */
.timeline-content.in-view::before {
    background: white;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.timeline-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    letter-spacing: 1px;
}

.timeline-company {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.timeline-summary ul {
    margin: 0;
    padding-left: 18px;
    color: #ddd;
    font-size: 0.8rem;
    line-height: 1.5;
}

.timeline-summary li {
    margin-bottom: 6px;
    font-weight: 300;
}

/* Projects Section */
.projects-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

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

.project-card {
    background: #22272e;
    border: 1px solid #30363d;
    color: #c9d1d9;
    box-shadow: 0 2px 12px rgba(30,34,40,0.10);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.project-card h4 {
    color: #ffd33d;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.project-card p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 16px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Brand-specific colors for project tech tag icons only */
.tech-tag.cadence i { color: #f85149; }
.tech-tag.synopsys i { color: #a371f7; }
.tech-tag.riscv i { color: #6e7681; }
.tech-tag.android i { color: #2ea043; }
.tech-tag.tensorflow i { color: #ffab70; }
.tech-tag.kicad i { color: #388bfd; }
.tech-tag.c-lang i { color: #ffd33d; }

/* Hover effects for tech tags - keep white text/border, just subtle purple glow */
.tech-tag.cadence:hover,
.tech-tag.synopsys:hover,
.tech-tag.riscv:hover,
.tech-tag.android:hover,
.tech-tag.tensorflow:hover,
.tech-tag.kicad:hover,
.tech-tag.c-lang:hover {
    background: rgba(184, 41, 255, 0.05);
    border-color: #b829ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Cooking Page */
#cooking {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    color: #fff;
}

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

.cooking-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 3rem;
}

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

.cooking-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 193, 7, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cooking-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 193, 7, 0.7);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
}

.cooking-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.cooking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.cooking-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffc107;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cooking-card:hover .cooking-overlay {
    opacity: 1;
}

.cooking-content {
    padding: 1.2rem;
}

.cooking-content h4 {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.cooking-content p {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

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

.social-link {
    color: #ffc107;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

.contact-section h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fff, #ccc);
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.social-section {
    text-align: center;
}

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

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ccc;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes wave {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes text-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-split {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-buttons {
        gap: 1.5rem;
    }
    
    .timeline-line {
        left: 2rem;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
        box-shadow: 0 0 2px rgba(255, 255, 255, 0.05);
        opacity: 0.2;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 4rem;
        padding-right: 1rem;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -2.5rem;
        right: auto;
    }
    
    .timeline-item.left .timeline-date-opposite,
    .timeline-item.right .timeline-date-opposite {
        left: calc(2rem - 2.5rem);
        right: auto;
        text-align: right;
    }
    
    .projects-grid,
    .cooking-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 3rem;
        padding-right: 0.5rem;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -2rem;
    }
    
    .timeline-item.left .timeline-date-opposite,
    .timeline-item.right .timeline-date-opposite {
        left: calc(1.5rem - 2rem);
        font-size: 0.8rem;
        text-align: right;
    }
    
    .timeline-content {
        padding: 15px;
        margin: 0 10px;
    }
    
    .timeline-header h3 {
        font-size: 1rem;
    }
    
    .timeline-company {
        font-size: 0.8rem;
    }
    
    .timeline-summary ul {
        font-size: 0.75rem;
    }
    
    .timeline-line {
        left: 1.5rem;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
        box-shadow: 0 0 1px rgba(255, 255, 255, 0.03);
        opacity: 0.15;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

#personality {
    display: none;  
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

#personality.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in animations for personality page elements */
.personality-half {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: personality-fade-in 1s forwards;
}

.personality-half:nth-child(1) {
    animation-delay: 0.3s;
}

.personality-half:nth-child(2) {
    animation-delay: 0.5s;
}

.personality-half:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

/* Add user guidance text */
.personality-half::after {
    content: 'Click to explore';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    text-transform: uppercase;
}

.personality-half:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

@keyframes personality-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-btn {
    opacity: 0;
    transform: translateY(-20px);
    animation: home-btn-fade-in 0.8s forwards;
    animation-delay: 0.7s;
}

@keyframes home-btn-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-leave {
    opacity: 0;
    transform: translateY(-40px) scale(0.98);
    pointer-events: none;
}

.hero-progress-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    position: relative;
    z-index: 3;
}
.hero-progress-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: none;
}
.hero-progress-btn .hero-content {
    pointer-events: none;
}

.hero-bio {
    color: #bbb;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(20px);
    animation: text-fade-in 1s forwards;
    animation-delay: 0.8s;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}
.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Subtle hover/animation effects for all major interactive elements */
.identity-btn, .career-btn, .cooking-btn, .btn-glow, .project-card, .cooking-card, .hero-progress-btn, .hero-title, .floating-buttons a, .social-link, .submit-btn {
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s, color 0.3s, background 0.3s, opacity 0.3s;
}
.identity-btn:hover, .career-btn:hover, .cooking-btn:hover, .floating-buttons a:hover {
    box-shadow: 0 8px 32px rgba(184, 41, 255, 0.12);
    transform: translateY(-4px) scale(1.03);
    border-color: #fff;
}
.project-card:hover, .cooking-card:hover {
    box-shadow: 0 12px 36px rgba(184, 41, 255, 0.13);
    transform: translateY(-6px) scale(1.03);
    border-color: #fff;
}
.social-link:hover {
    color: #fff;
    transform: scale(1.15);
}
.submit-btn:hover {
    background: #fff;
    color: #0a0a0a;
    box-shadow: 0 6px 18px rgba(184, 41, 255, 0.18);
}

.personality-split {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.personality-half {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.personality-half::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: blur(8px) grayscale(80%) brightness(0.7);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.personality-career::before {
    background-image: url('images/asic.gif');
}

.personality-cooking::before {
    background-image: url('images/kitchen.gif');
}

/* GIF pause functionality - only affects GIF animations */
.personality-half.gif-paused::before {
    opacity: 0.15;
    filter: blur(10px) grayscale(90%) brightness(0.4);
}

/* Hover effect for personality halves */
.personality-half:hover::before {
    opacity: 0.4;
    filter: blur(4px) grayscale(0%) brightness(1);
}

.personality-career {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.personality-career::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.personality-cooking {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #0f0f0f 100%);
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.personality-cooking::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.personality-half:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

.home-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 0.8rem;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.identity-btn {
    position: relative;
    padding: 2.5rem 5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    text-align: center;
    z-index: 2;
}

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

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

.identity-btn:hover {
    transform: translateY(-12px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 80px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 14px;
}

.identity-btn:hover .btn-glow {
    opacity: 1;
}

/* Career Intro Section */
.career-intro {
    padding: 4rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.career-intro-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    margin-top: 3.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.career-intro-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

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

.linkedin-img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.linkedin-img:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.career-bio {
    flex: 1;
    display: flex;
    align-items: center;
}

.bio-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #c9d1d9;
    margin: 0;
    font-weight: 300;
}

.typewriter-text {
    color: #2ea043;
    font-weight: 600;
    border-right: 2px solid currentColor;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: currentColor; }
}

/* Responsive design for career intro */
@media (max-width: 768px) {
    .career-intro-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .linkedin-img {
        width: 150px;
        height: 150px;
    }
    
    .bio-text {
        font-size: 1.1rem;
    }
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Glass-split as a row of smaller, centered tiles */
.glass-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: #101014;
    position: relative;
    overflow: hidden;
    gap: 2.5vw;
    flex-direction: row;
}
.glass-panel {
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 120px;
    min-height: 120px;
    height: 180px;
    margin: 0 1vw;
    padding: 0;
    background-blend-mode: overlay;
    border-radius: 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 #fff2;
    backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s, filter 0.4s, margin 0.4s;
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
    text-decoration: none !important;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.glass-panel:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.glass-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
/* Pop out and move on hover */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: scale(1.18) translateY(-12px) translateX(var(--pop-shift, 0));
    box-shadow: 0 4px 16px 0 #fff, 0 1px 8px 0 #fff6;
    opacity: 1;
    filter: none;
}
.glass-panel:not(:hover):not(:focus-within):not(.active) {
    box-shadow: 0 4px 24px 0 #fff2, 0 1.5px 12px 0 #fff2;
}
/* Shift tiles away from hovered tile */
.glass-panel.shift-left {
    transform: translateX(-30px) scale(0.95);
    z-index: 1;
}
.glass-panel.shift-right {
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}
/* Dim effect remains */
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
.glass-panel:not(.dimmed):hover, .glass-panel:not(.dimmed):focus-within {
    opacity: 1;
    filter: none;
}
/* Responsive: stack vertically on mobile */
@media (max-width: 700px) {
    .glass-split {
        flex-direction: column;
        gap: 4vw;
        height: auto;
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    .glass-panel {
        max-width: 90vw;
        min-width: 0;
        width: 80vw;
        height: 120px;
        margin: 2vw 0;
    }
    .glass-panel.shift-left, .glass-panel.shift-right {
        transform: scale(0.95) translateY(18px) !important;
    }
    .glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
        transform: scale(1.12) translateY(-8px) !important;
    }
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/career_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/cooking_initial.png') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-career:hover,
.glass-panel.glass-career:focus-within,
.glass-panel.glass-career.active {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking:hover,
.glass-panel.glass-cooking:focus-within,
.glass-panel.glass-cooking.active {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 3;
}

/* Glass split header and title */
.glass-split-header {
    width: 100vw;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}
.glass-split-title {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 2px 12px #000a;
}

/* Glass panel backgrounds as GIFs */
.glass-panel.glass-career {
    background: url('images/asic.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel.glass-cooking {
    background: url('images/kitchen.gif') center center/cover no-repeat, rgba(30, 30, 40, 0.55);
}
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.60);
    backdrop-filter: blur(8px) saturate(120%);
    border-radius: 2.2rem;
    z-index: 1;
    pointer-events: none;
    transition: background 0.4s;
}
.glass-panel.dimmed::before {
    background: rgba(20, 20, 30, 0.72);
}
.glass-panel:not(.dimmed):hover::before, .glass-panel:not(.dimmed):focus-within::before {
    background: rgba(20, 20, 30, 0.40);
}
.glass-label {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #000, 0 1px 0 #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding: 2.5rem 0 2rem 0;
}
.classy-font {
    font-family: 'Cormorant Garamond', 'EB Garamond', 'Merriweather', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
}
@media (max-width: 900px) {
    .glass-label { font-size: 2rem; padding: 2rem 0 1.5rem 0; }
}
/* Remove icon/button styles from glass-panel */
.glass-panel .glass-icon, .glass-panel .glass-btn { display: none !important; }
/* Adjust hover/focus for new look */
.glass-panel:hover, .glass-panel:focus-within, .glass-panel.active {
    transform: translateY(-18px) scale(1.035);
    box-shadow: 0 16px 64px 0 #fff, 0 2px 32px 0 #fff8;
    opacity: 1;
    filter: none;
}
.glass-panel:hover::after, .glass-panel:focus-within::after {
    opacity: 1;
    background: radial-gradient(circle at 50% 60%, #fff 0%, transparent 70%);
}
.glass-panel.dimmed {
    opacity: 0.7;
    filter: blur(1.5px) grayscale(20%);
}
/* Import new font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap');

/* Home navigation row styles */
.hero-nav-row.connected-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: none;
    position: absolute;
    left: 50%;
    bottom: 3.5rem;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-nav-tile {
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    min-width: 90px;
    min-height: 80px;
    padding: 1.1rem 1.7rem 0.7rem 1.7rem;
    margin: 0;
    position: relative;
    box-shadow: none;
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.hero-nav-tile:first-child {
    border-top-left-radius: 1.2rem;
    border-bottom-left-radius: 1.2rem;
}
.hero-nav-tile:last-of-type {
    border-top-right-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;
}
.hero-tile-divider {
    width: 18px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-tile-divider::before {
    content: '';
    display: block;
    width: 2px;
    height: 60%;
    background: linear-gradient(120deg, #fff8 60%, transparent 100%);
    transform: skew(-20deg);
    margin: 0 auto;
    border-radius: 2px;
}
.hero-nav-tile:hover, .hero-nav-tile:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    z-index: 2;
}
.hero-nav-tile:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Make the right image fill the entire hero-right */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    overflow: hidden;
    position: relative;
}
.hero-dynamic-img-bg {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    transition: background-image 0.4s, filter 0.4s, opacity 0.4s, aspect-ratio 0.4s;
    opacity: 1;
    object-fit: cover;
}
.hero-dynamic-img-bg.crossfade {
    opacity: 0.2;
    filter: blur(6px) grayscale(60%);
    transition: opacity 0.25s, filter 0.25s;
}
@media (max-width: 900px) {
    .hero-nav-row.connected-row {
        bottom: 2rem;
    }
}
@media (max-width: 700px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-nav-row.connected-row {
        position: static;
        transform: none;
        margin: 2.5rem auto 0 auto;
        justify-content: center;
    }
    .hero-dynamic-img-bg {
        min-height: 40vh;
        max-height: 50vw;
    }
}

.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(30, 34, 44, 0.85);
    color: #fff;
    padding: 10px 18px;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
    background: #2d6cdf;
    color: #fff;
    box-shadow: 0 4px 24px rgba(45,108,223,0.12);
    text-decoration: none;
}
@media (max-width: 600px) {
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

/* --- Restore correct split layout for scrollable pages --- */
.career-page .hero-split, .cooking-page .hero-split {
  display: flex;
  height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 0;
}
.career-page .career-main-content, .cooking-page .cooking-main-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

/* About/Contact: prevent scroll */
.about-page, .contact-page {
  overflow: hidden;
}

/* Navigation tiles as buttons, no visited color */
.hero-nav-tile, .hero-nav-tile:visited, .nav-tile, .nav-tile:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 18px;
  color: #222;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  outline: none;
  padding: 18px 24px;
  min-width: 110px;
}
.hero-nav-tile:active, .hero-nav-tile:focus, .nav-tile:active, .nav-tile:focus {
  background: #e3eaff;
  color: #2d6cdf;
}
.hero-nav-tile:visited, .nav-tile:visited {
  color: #222;
}
.hero-nav-tile:link, .hero-nav-tile:visited, .hero-nav-tile:hover, .hero-nav-tile:active,
.nav-tile:link, .nav-tile:visited, .nav-tile:hover, .nav-tile:active {
  color: #222;
  text-decoration: none;
}
.hero-nav-tile i, .nav-tile i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-left-fade-in {
  animation: heroLeftFadeIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-left-fade-out {
  animation: heroLeftFadeOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroLeftFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

.hero-title-fade-in {
  animation: heroTitleFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1 !important;
}
.hero-content-fade-in {
  animation: heroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content-fade-out {
  animation: heroContentFadeOut 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes heroContentFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.career-bio-fade-in {
  animation: careerBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-intro-content-fade-in {
  animation: careerIntroContentFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes careerIntroContentFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cooking-bio-fade-in {
  animation: cookingBioFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cookingBioFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-page, .career-page * {
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace !important;
}
.career-intro-content {
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.98rem;
}
.career-image {
  flex-shrink: 0;
}
.linkedin-img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.career-bio {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
  font-weight: 400;
}
.typewriter-text {
  color: #2ea043 !important;
  font-weight: 600;
  border-right: 2px solid currentColor;
  animation: blink 1s infinite;
}

/* Technical Skills Section */
.skills-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #388bfd;
    margin-bottom: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-category h4 i {
    color: #b829ff;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.skill-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
}

.skill-bubble:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 41, 255, 0.1);
}

.skill-bubble i {
    font-size: 1rem;
    color: #b829ff;
}

.skill-bubble span {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Brand-specific colors for skill bubbles */
.skill-bubble.python i { color: #388bfd; }
.skill-bubble.matlab i { color: #ffd33d; }
.skill-bubble.c-lang i { color: #ffd33d; }
.skill-bubble.bash i { color: #2ea043; }
.skill-bubble.systemverilog i { color: #a371f7; }
.skill-bubble.verilog i { color: #a371f7; }
.skill-bubble.tcl i { color: #ffab70; }
.skill-bubble.perl i { color: #6e7681; }
.skill-bubble.riscv i { color: #6e7681; }
.skill-bubble.sql i { color: #388bfd; }
.skill-bubble.android i { color: #2ea043; }
.skill-bubble.adobe i { color: #f85149; }
.skill-bubble.azure i { color: #388bfd; }
.skill-bubble.git i { color: #f85149; }
.skill-bubble.quartus i { color: #ffab70; }
.skill-bubble.simulink i { color: #ffd33d; }
.skill-bubble.synopsys i { color: #a371f7; }
.skill-bubble.cadence i { color: #f85149; }
.skill-bubble.modelsim i { color: #ffab70; }
.skill-bubble.kicad i { color: #388bfd; }
.skill-bubble.jmp i { color: #ffab70; }
.skill-bubble.unity i { color: #ffd33d; }
.skill-bubble.wireshark i { color: #388bfd; }
.skill-bubble.linux i { color: #ffd33d; }
.skill-bubble.redhat i { color: #f85149; }
.skill-bubble.tensorflow i { color: #ffab70; }

/* EDA Tools Detail Section */
.eda-tools-detail {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.eda-brand {
    margin-bottom: 2rem;
}

.eda-brand:last-child {
    margin-bottom: 0;
}

.eda-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eda-brand h5 i {
    color: #b829ff;
    font-size: 1rem;
}

.eda-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.eda-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.eda-tool:hover {
    border-color: #b829ff;
    background: rgba(184, 41, 255, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 41, 255, 0.1);
}

/* Responsive design for EDA tools */
@media (max-width: 768px) {
    .eda-tools-detail {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .eda-brand h5 {
        font-size: 1.1rem;
    }
    
    .eda-tools-grid {
        gap: 0.6rem;
    }
    
    .eda-tool {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .eda-tools-detail {
        padding: 1rem;
    }
    
    .eda-tools-grid {
        gap: 0.5rem;
    }
    
    .eda-tool {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Font Awesome icon font override for all icons (force at very end of file) */
.fa, .fas {
  font-family: 'Font Awesome 6 Free', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  speak: never;
}
.fab {
  font-family: 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  speak: never;
}

/* Responsive design for skills */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 1rem;
    }
    
    .skills-section h3 {
        font-size: 2rem;
    }
    
    .skills-category h4 {
        font-size: 1.3rem;
    }
    
    .skills-grid {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .skill-bubble {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 0.6rem;
    }
    
    .skill-bubble {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .skill-bubble i {
        font-size: 1rem;
    }
}

/* Standardize hero title margin for all pages */
.hero-title {
  margin-top: 60px !important;
}

/* Remove extra margin/padding from career intro and hero area */
.career-intro, .career-intro-content, .career-page .hero-left, .career-page .hero-content {
  margin-top: 0 !important;  
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
 
}

/* Place bio section in scrollable main content, not hero */
.career-intro {
  padding: 2rem 2rem 0 2rem;
  margin-bottom: 0;
}
.career-intro-content {
  margin-top: 0;
  margin-bottom: 2rem;
  gap: 2rem;
}
.career-page .hero-left {
    align-items: center !important;
    justify-content: center !important;
  }

/* Minimalistic white scroll-down arrow, fade-in only */
.scroll-down-arrow i {
    font-size: 1.5rem;
    color: #fff;
    opacity: 0;
    animation: arrow-fade-in 1.2s 0.8s forwards;
  }
  @keyframes arrow-fade-in {
    from { opacity: 0; transform: translateY(0); }
    to { opacity: 0.85; transform: translateY(0); }
  }