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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --card-bg: #2a2a2a;
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border-color: #374151;
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);

    --font-96: clamp(56px, 8vw, 96px);
    --font-40: clamp(24px, 6vw, 40px);
    --font-32: clamp(24px, 4vw, 32px);
}

html {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 100%;
}

body {
    background: var(--primary-bg);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Prevent horizontal scroll on all containers */
.section, .container, main, header, footer {
    max-width: 100%;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1 {
    font-style: normal;
    font-weight: 700;
    font-size: var(--font-96);
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-weight: 600;
    font-size: var(--font-32);
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--text-primary);
}

p, a {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    text-decoration: none;
    color: var(--text-secondary);
}

/* LAYOUTS */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

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

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 16px 0;
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)),
                      linear-gradient(90deg, #ff0080, #ff00ff, #8a2be2, #00ffff, #00ff88, #ffff00, #ff0080);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
}

/* Rainbow border animation */
@keyframes rainbowShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.navigation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: linear-gradient(90deg, #ff0080, #ff00ff, #8a2be2, #00ffff, #00ff88, #ffff00, #ff0080);
    background-size: 200% 100%;
    animation: rainbowFlow 3s linear infinite;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3), 0 0 20px rgba(255, 0, 128, 0.2);
}

@keyframes rainbowFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

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

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    /* Color is set by animations in navigation.css for desktop-nav */
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 1;
    background: rgba(139, 92, 246, 0.1);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

/* List Styles */
.flex-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}

.flex-list li {
    margin: 12px;
    transition: 250ms ease all;
}

.flex-list li a {
    color: var(--text-primary);
    text-decoration: none;
    opacity: 1;
    display: block;
    transition: 250ms ease all;
}

.list-items-circle li a {
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.list-items-circle li a:hover {
    background: var(--gradient-primary);
    border-color: var(--accent-purple);
    transform: scale(1.1);
}

.list-items-circle li a .fab {
    width: 80px;
    height: 80px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 250ms ease all;
}

.list-items-circle li a:hover .fab {
    color: var(--text-primary);
}

.flex-list hr {
    height: 30px;
    margin: 0 50px;
    border: none;
    border-left: 1px solid var(--border-color);
}

/* Profile Image */
.profile-container {
    min-width: 88px;
    width: 88px;
    height: 88px;
    margin: 12px;
    position: relative;
}

.profile-container .profile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent-purple);
}

.profile-container .ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header,
.section {
    min-height: 850px;
    padding: 110px;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.header .header-links,
.contact .contact-links,
.header h1 {
    color: var(--text-primary);
    margin-bottom: 200px;
    position: relative;
    z-index: 1;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 30px;
    margin-bottom: 100px;
    max-width: 800px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ABOUT */
.about {
    background: var(--secondary-bg);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about h2 {
    max-width: 900px;
    font-weight: 600;
    font-size: var(--font-40);
    line-height: 1.3;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.about-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 900px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.achievement-item {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.achievement-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.2);
    border-color: var(--accent-purple);
}

.achievement-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.achievement-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.cta-button {
    background: var(--gradient-primary);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* PROJECTS */
.projects .projects-link {
    color: var(--text-primary);
    margin-bottom: 30px;
    opacity: 0.8;
    transition: 250ms ease all;
}

.projects .projects-link:hover {
    opacity: 1;
    color: var(--accent-purple);
}

.projects .cards {
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.projects .card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: auto;
    min-height: 400px;
    max-width: 390px;
    padding: 32px;
    margin: 20px auto;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.projects .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.projects .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-purple);
}

.projects .card:hover::before {
    opacity: 0.1;
}

.card-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

.projects .card .card-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.projects .card .card-description {
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(139, 92, 246, 0.25);
    transform: scale(1.05);
}

.projects .card .card-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.projects .card .card-buttons .card-button--site,
.projects .card .card-buttons .card-button--code {
    flex: 1;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.projects .card .card-buttons .card-button--site {
    background: var(--gradient-primary);
}

.projects .card .card-buttons .card-button--code {
    background: transparent;
    border: 1px solid var(--border-color);
}

.projects .card .card-buttons .card-button--site:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.3);
}

.projects .card .card-buttons .card-button--code:hover {
    background: var(--card-bg);
    border-color: var(--accent-purple);
}

/* Docusaurus button style */
.projects .card .card-buttons .card-button--docs {
    flex: 1;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.1);
    cursor: pointer;
}

.projects .card .card-buttons .card-button--docs:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 255, 255, 0.3);
}

/* EXPERIENCE */
.experience-description {
    max-width: 900px;
    margin-bottom: 125px;
    font-weight: 400;
    font-size: var(--font-32);
    line-height: 1.5;
    color: var(--text-secondary);
    position: relative;
}

.experience-description img {
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.experience h2 {
    border-left: 3px solid var(--accent-blue);
    padding-left: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience .experience-cards {
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.experience-card {
    width: 370px;
    padding: 32px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 0 2px 2px 0;
}

.experience-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.15);
}

.experience .experience-card .card-title {
    font-size: 18px;
    line-height: 1.4;
    color: var(--text-primary);
}

.experience .experience-card .card-title .highlight {
    color: var(--accent-purple);
    font-weight: 600;
}

.experience .experience-card .card-years {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 24px;
}

.experience .experience-card .card-list .card-list-item {
    margin: 0 0 16px 16px;
    color: var(--text-secondary);
    position: relative;
}

.experience .experience-card .card-list .card-list-item::before {
    content: '→';
    position: absolute;
    left: -16px;
    color: var(--accent-purple);
}

/* SKILLS */
.skills {
    background: var(--secondary-bg);
    position: relative;
}

.skills h2 {
    border-left: 3px solid var(--accent-blue);
    padding-left: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.skills .skill-cards {
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 170px;
    height: 170px;
    margin: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover::before {
    opacity: 0.1;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.3);
    border-color: var(--accent-purple);
}

.skills .skill-card .fab {
    font-size: 80px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.skill-card:hover .fab {
    color: var(--accent-purple);
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}

.skills .skill-list {
    list-style: none;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.skills .skill-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--card-bg);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin: 8px;
    transition: all 0.3s ease;
}

.skills .skill-list li:hover {
    transform: translateY(-2px);
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
}

.skills .skill-list li img {
    margin-right: 12px;
    filter: brightness(0) invert(1);
}

/* CONTACT */
.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: var(--secondary-bg);
}

.contact h1,
.contact p {
    max-width: 750px;
    margin-bottom: 45px;
}

.contact .flex-list li:hover,
.contact .flex-list li a:hover {
    color: var(--accent-purple);
}

/* FOOTER */
.footer {
    min-height: 88px;
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-secondary);
}

/* Responsive Design */
@media all and (max-width: 1200px) {
    .contact-details {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-details li {
        margin: 10px;
    }

    .contact-details li a {
        margin: 0;
    }

    .contact-details hr {
        display: none;
    }
}

@media all and (max-width: 992px) {
    .skills .skill-card {
        width: 125px;
        height: 125px;
    }
}

@media all and (max-width: 767px) {
    .header,
    .section {
        padding: 40px;
    }
    
    .nav-menu {
        gap: 4px;
        font-size: 14px;
    }
    
    .nav-menu a {
        padding: 6px 12px;
    }
}


/* Fix text cutoff in cards */
.bento-item,
.contact-method {
    height: auto !important;
    min-height: fit-content !important;
    isolation: isolate;
}

.bento-item p,
.contact-method p {
    text-overflow: clip !important;
    white-space: normal !important;
}

.timeline-content {
    overflow: visible !important;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    filter: blur(20px);
    pointer-events: none;
    border-radius: inherit;
}

.timeline-content:hover::before {
    opacity: 0.6;
}

.timeline-content.expandable-card .card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.timeline-content.expandable-card .card-content.active {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
}

.timeline-content.expandable-card .card-content.active * {
    overflow: visible !important;
}

.tech-highlights {
    overflow: visible !important;
}


/* Fix timeline centering - equal spacing from vertical meridian */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.professional-journey .timeline {
    display: block;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.professional-journey .timeline-line {
    display: none;
}

.professional-journey .timeline-item {
    width: calc(50% - 30px) !important;
    position: relative !important;
    margin-bottom: 40px;
}

/* First actual item (2nd child after timeline-line), third item, fifth item... go LEFT */
.professional-journey .timeline-item:nth-of-type(odd) {
    margin-left: 0 !important;
    margin-right: calc(50% + 10px) !important;
    text-align: right;
}

/* Second actual item, fourth item, sixth item... go RIGHT */
.professional-journey .timeline-item:nth-of-type(even) {
    margin-left: calc(50% + 10px) !important;
    margin-right: 0 !important;
    text-align: left;
}


/* Center and animate expand icon */
.card-header {
    position: relative;
    padding-right: 80px !important;
}

.expand-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 5px)); }
}

.expandable-card.expanded .expand-icon {
    animation: none;
    transform: translateY(-50%) rotate(180deg);
}

/* Fix z-index for overlapping elements */
.timeline-content,
.insight-node,
.card,
.blog-card,
.tech-stack-grid,
.blog-actions {
    position: relative;
    z-index: 1;
}

.navigation {
    z-index: 1000 !important;
}




.bento-item {
    overflow: hidden !important;
    position: relative;
    z-index: 1;
}

/* Add timeline nodes and line for about page */
.professional-journey .timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.5), rgba(0, 255, 255, 0.5));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.professional-journey .timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.8), rgba(139, 92, 246, 0.6));
    border: 3px solid rgba(0, 0, 0, 0.9);
    border-radius: 50%;
    top: 20px;
    z-index: 2;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

/* Left cards (odd) - node on the RIGHT side of card, touching center line */
.professional-journey .timeline-item:nth-of-type(odd)::after {
    right: -30px;
    left: auto;
}

/* Right cards (even) - node on the LEFT side of card, touching center line */
.professional-journey .timeline-item:nth-of-type(even)::after {
    left: -30px;
    right: auto;
}


/* Mobile responsive fixes */
@media (max-width: 768px) {
    .timeline::after,
    .professional-journey .timeline::after,
    .experience-timeline .timeline-line {
        left: 30px !important;
    }

    .professional-journey .timeline-item {
        width: calc(100% - 50px) !important;
        margin-left: 50px !important;
        margin-right: 0 !important;
        text-align: left;
    }

    .professional-journey .timeline-item:nth-of-type(odd),
    .professional-journey .timeline-item:nth-of-type(even) {
        margin-left: 50px !important;
        margin-right: 0 !important;
    }

    .professional-journey .timeline-item:nth-of-type(odd)::after,
    .professional-journey .timeline-item:nth-of-type(even)::after {
        left: -30px !important;
        right: auto !important;
    }

    .bento-item,
    .contact-method {
        min-height: auto !important;
    }
    
    .nav-menu.active {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(6, 0, 3, 0.98);
        padding: 20px;
        border-top: 2px solid rgba(0, 255, 255, 0.3);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active li {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
    }

    .nav-menu.active li a,
    .nav-menu.active li button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 10px;
        border-radius: 12px;
        background: rgba(139, 92, 246, 0.1);
        border: 2px solid rgba(139, 92, 246, 0.3);
        width: 100%;
        min-height: 80px;
        text-align: center;
        transition: all 0.3s ease;
        font-size: 0.85rem;
    }

    .nav-menu.active li a:hover,
    .nav-menu.active li button:hover {
        background: rgba(139, 92, 246, 0.25);
        border-color: rgba(0, 255, 255, 0.6);
        transform: scale(1.03);
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    }

    .nav-menu.active li a i,
    .nav-menu.active li button i {
        font-size: 1.3rem;
        margin-right: 0 !important;
    }

    /* Color coding for different menu items
       1=Home(cyan), 2=About(pink), 3=Portfolio(green), 4=Blog(gold), 5=Resources(orange), 6=Contact(blue), 7=Donate(pink), 8=Lost(purple), 9=Wallet(cyan) */
    .nav-menu.active li:nth-child(1) a,
    .nav-menu.active li:nth-child(1) button { border-color: rgba(0, 255, 255, 0.5); color: #00ffff; }
    .nav-menu.active li:nth-child(2) a,
    .nav-menu.active li:nth-child(2) button { border-color: rgba(255, 0, 128, 0.5); color: #ff0080; }
    .nav-menu.active li:nth-child(3) a,
    .nav-menu.active li:nth-child(3) button { border-color: rgba(0, 255, 128, 0.5); color: #00ff88; }
    .nav-menu.active li:nth-child(4) a,
    .nav-menu.active li:nth-child(4) button { border-color: rgba(255, 215, 0, 0.5); color: #ffd700; }
    .nav-menu.active li:nth-child(5) a,
    .nav-menu.active li:nth-child(5) button { border-color: rgba(255, 102, 0, 0.5); color: #ff6600; }
    .nav-menu.active li:nth-child(6) a,
    .nav-menu.active li:nth-child(6) button { border-color: rgba(0, 191, 255, 0.5); color: #00bfff; }
    .nav-menu.active li:nth-child(7) a,
    .nav-menu.active li:nth-child(7) button { border-color: rgba(255, 0, 128, 0.5); color: #ff0080; }
    .nav-menu.active li:nth-child(8) a,
    .nav-menu.active li:nth-child(8) button { border-color: rgba(138, 43, 226, 0.5); color: #8a2be2; }
    .nav-menu.active li:nth-child(9) a,
    .nav-menu.active li:nth-child(9) button { border-color: rgba(0, 255, 255, 0.5); color: #00ffff; }

    .top-left-actions {
        display: none;
    }

    .nav-social {
        display: flex;
        gap: 15px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(139, 92, 246, 0.2);
    }

    .nav-social::after {
        content: '';
        display: flex;
        gap: 15px;
    }
    
    .mobile-actions {
        display: flex;
        gap: 15px;
        margin-top: 10px;
    }
}


/* Move hamburger to left side */
.hamburger {
    order: -1;
    margin-right: 20px;
}

.nav-container {
    display: flex;
    align-items: center;
}

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


/* Hide mobile-only buttons on desktop */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline-flex !important;
    }
}


/* Fix nav-link alignment */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


/* Fix bento grid overlap */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    grid-auto-rows: auto !important;
}

.bento-item {
    display: flex;
    flex-direction: column;
    grid-row: span 1 !important;
    grid-column: span 1 !important;
    height: auto !important;
    min-height: auto !important;
}

.bento-item button,
.bento-item a.magnetize-btn {
    width: fit-content;
    align-self: flex-start;
    margin-top: 15px;
}

/* Contact card buttons like learning paths */
.contact-method button,
.contact-method a.btn {
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.3), rgba(0, 255, 255, 0.3));
    border: 2px solid rgba(0, 255, 255, 0.5);
    color: #00ffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Navbar animations - icons pulse, text breathes, photo bounces */
.nav-link i {
    animation: pulse 2s infinite;
}

.nav-link {
    animation: breathe 3s ease-in-out infinite;
}

.nav-profile-img {
    animation: subtleBounce 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes breathe {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

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

/* Show donate/lost in mobile nav */
@media (max-width: 768px) {
    .nav-social {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* Force show mobile buttons in nav */
@media (max-width: 768px) {
    .mobile-only {
        display: inline-flex !important;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
    }
    
    .nav-social {
        display: flex !important;
        gap: 10px !important;
    }
}

/* Remove conflicting animations */
.nav-link.heartbeat,
.social-link.heartbeat {
    animation: none !important;
}

.nav-link.breathing-glow,
.social-link.breathing-glow {
    animation: none !important;
}

.path-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.topic {
    padding: 6px 12px;
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid rgba(255, 0, 128, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Manifesto Section */
.manifesto-content {
    padding: 40px;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.manifesto-quote {
    margin: 0;
    padding: 0;
}

.manifesto-quote p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.manifesto-quote p strong {
    color: #00ffff;
    font-weight: 600;
}

.manifesto-quote p:last-child {
    margin-bottom: 0;
}

/* Blog Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.post-card {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.post-card .post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.post-card .post-date {
    color: rgba(0, 255, 255, 0.8);
}

.post-card .post-category {
    color: rgba(255, 0, 128, 0.8);
    background: rgba(255, 0, 128, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.post-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1), 0 0 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    padding: 10px 14px;
    border-radius: 8px;
    margin-left: -12px;
    margin-right: -12px;
    font-weight: 600;
}

.post-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Blog post Read More buttons */
.post-card button,
.featured-post .read-more,
.read-more {
    padding: 12px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.3), rgba(0, 255, 255, 0.3));
    border: 2px solid rgba(0, 255, 255, 0.5);
    color: #00ffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.post-card button:hover,
.featured-post .read-more:hover,
.read-more:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.5), rgba(0, 255, 255, 0.5));
    border-color: #ff0080;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.4), 0 0 20px rgba(0, 255, 255, 0.3);
}

.post-card button:active,
.featured-post .read-more:active,
.read-more:active {
    transform: translateY(-1px);
}

/* Support actions - vertical layout */
.support-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

/* Donate button styling */
.donate-btn,
.lost-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.3), rgba(0, 255, 255, 0.3));
    border: 2px solid rgba(0, 255, 255, 0.5);
    color: #00ffff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.donate-btn i,
.lost-btn i {
    font-size: 1.4rem;
}

.donate-btn:hover,
.lost-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.5), rgba(0, 255, 255, 0.5));
    border-color: #ff0080;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 128, 0.3);
}

/* Resources Page - Tools & Software Bento Cards */
.tools-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tool-category {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.tool-category:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.tool-category h3 {
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.tools-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tool-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.tool-item:hover {
    border-color: rgba(0, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.5);
}

.tool-item h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.tool-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.tool-item a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tool-item a:hover {
    color: var(--accent-pink);
    text-decoration: underline;
}

/* Resources Page - Certifications Bento Cards */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.cert-item {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.cert-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
}

.cert-item h3 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.cert-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 15px;
}

.cert-year {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    color: rgba(255, 215, 0, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Resources Page - Reading List Bento Cards */
.books-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.book-category {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.book-category:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.book-category h3 {
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.books-list li {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid rgba(139, 92, 246, 0.5);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.books-list li:hover {
    background: rgba(0, 0, 0, 0.5);
    border-left-color: var(--accent-cyan);
    transform: translateX(5px);
}

/* Learning Path Topics - Pill Tags */
.path-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0 20px;
}

.topic.pill-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.topic.pill-tag:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.6);
    color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

/* Resource Buttons */
.resource-btn {
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.3), rgba(0, 255, 255, 0.3));
    border: 2px solid rgba(0, 255, 255, 0.5);
    color: #00ffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resource-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.5), rgba(0, 255, 255, 0.5));
    border-color: #ff0080;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 128, 0.4);
}

/* Contact Form Styling */
.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 25px 0 40px;
}

.interest-item {
    background: rgba(20, 10, 30, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.interest-item:hover {
    border-color: rgba(0, 255, 255, 0.5);
    background: rgba(20, 10, 30, 0.8);
    transform: translateX(5px);
}

.contact-form {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-cyan);
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select option {
    background: #1a0a1f;
    color: #ffffff;
}

.submit-btn {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.4), rgba(0, 255, 255, 0.4));
    border: 2px solid rgba(0, 255, 255, 0.6);
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.6), rgba(0, 255, 255, 0.6));
    border-color: #ff0080;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.4);
}

/* Location Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.info-card h3 {
    color: var(--accent-cyan);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 255, 255, 0.1));
    border-radius: 20px;
    margin-top: 40px;
}

.cta-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.cta-buttons .btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.4), rgba(0, 255, 255, 0.4));
    border: 2px solid rgba(0, 255, 255, 0.6);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.6), rgba(0, 255, 255, 0.6));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.4);
}

.cta-buttons .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
}

/* Meditation Section */
.meditation-section,
.oracle-story {
    max-width: 900px;
    margin: 0 auto;
}

.meditation-content,
.oracle-content {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 40px;
}

.meditation-intro,
.oracle-intro {
    text-align: center;
    color: var(--accent-cyan);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.meditation-text,
.oracle-text {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.meditation-text p,
.oracle-text p {
    margin-bottom: 20px;
}

.meditation-text strong,
.oracle-text strong {
    color: var(--accent-cyan);
}

.meditation-text em,
.oracle-text em {
    color: rgba(255, 215, 0, 0.9);
}

/* Portfolio Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.project-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.project-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tags .tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-tags .tag:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.6);
    color: var(--accent-cyan);
}

.project-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.project-actions button,
.project-actions a {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-actions button {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.3), rgba(0, 255, 255, 0.3));
    border: 2px solid rgba(0, 255, 255, 0.5);
    color: #00ffff;
}

.project-actions button:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.5), rgba(0, 255, 255, 0.5));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.3);
}

.project-actions a {
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.project-actions a:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Project Links (Featured Project) */
.project-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.project-links .btn-primary {
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.4), rgba(0, 255, 255, 0.4));
    border: 2px solid rgba(0, 255, 255, 0.6);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-links .btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.6), rgba(0, 255, 255, 0.6));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.4);
}

.project-links .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-links .btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
}

/* Blog Hero SVG Styling */
.blog-hero-svg {
    margin-bottom: 20px;
}

.blog-network-svg {
    width: 200px;
    height: 100px;
    opacity: 0.8;
}

.blog-network-svg .svg-node {
    animation: svgPulse 2s ease-in-out infinite;
}

.blog-network-svg .svg-line {
    animation: svgDraw 3s ease-in-out infinite;
}

@keyframes svgPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes svgDraw {
    0%, 100% { stroke-dashoffset: 0; opacity: 0.5; }
    50% { stroke-dashoffset: 10; opacity: 1; }
}

/* Z-index fixes - ensure nothing appears above navbar */
.read-more,
.read-full-story,
.insight-node,
.post-card,
.project-card,
.portfolio-card,
.skill-item,
.tech-badge,
.cta-button,
.btn-primary,
.btn-secondary {
    position: relative;
    z-index: 1 !important;
}

/* Ensure sections don't overlap navbar */
section {
    position: relative;
    z-index: 1;
}

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

/* Latest Wisdom cards styled like blog posts grid - wider and shorter */
/* There's another .insights-stream in psychedelic.css - CSS precedence: psychedelic.css loads after resume.css, so it overrides */
.insights-stream {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

.insight-flow {
    display: contents;
}

.insight-node {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: auto;
    max-height: none;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.insight-node:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.insight-connector {
    display: none;
}

.insight-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.insight-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.insight-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 15px;
}

.insight-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.insight-tag {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-purple);
}

@media (min-width: 769px) {
    .insights-stream {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Skills Journey title readability fix */
.experience-title {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.subtitle-glow {
    font-size: 1.2rem;
    padding: 11px 22px;
    background: rgba(0, 255, 255, 0.05);
    border: 0.2px dashed rgba(0, 255, 255, 0.2);
    border-radius: 22px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.neon-text {
    animation: neonFlicker 3s ease-in-out infinite;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }
    50% { opacity: 0.9; text-shadow: 0 0 20px rgba(0, 255, 255, 0.8); }
}

/* Hero SVG containers */
.hero-svg-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.hero-svg {
    width: 300px;
    height: 200px;
}

/* SVG animations */
.svg-pulse {
    animation: svgPulseAnim 2s ease-in-out infinite;
}

.svg-rotate {
    animation: svgRotateAnim 10s linear infinite;
    transform-origin: center;
}

.svg-dash {
    stroke-dasharray: 5, 5;
    animation: svgDashAnim 2s linear infinite;
}

.svg-blink {
    animation: svgBlinkAnim 1.5s ease-in-out infinite;
}

.svg-sparkle {
    animation: svgSparkleAnim 1s ease-in-out infinite;
}

.svg-wave {
    animation: svgWaveAnim 1.5s ease-in-out infinite;
}

@keyframes svgPulseAnim {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

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

@keyframes svgDashAnim {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 20; }
}

@keyframes svgBlinkAnim {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

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

@keyframes svgWaveAnim {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

@media (max-width: 768px) {
    .hero-svg-container {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        opacity: 0.4;
        margin: 10px auto;
        display: flex;
        justify-content: center;
    }

    .hero-svg {
        width: 150px;
        height: 100px;
    }
}

/* Wallet Connect Button Rainbow CTA Styling */
.wallet-connect-btn,
.wallet-connect-main,
button[onclick*="connectWallet"] {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.2), rgba(0, 255, 255, 0.2), rgba(138, 43, 226, 0.2)) !important;
    border: 2px solid transparent !important;
    border-image: linear-gradient(135deg, #ff0080, #00ffff, #8a2be2, #00ff88) 1 !important;
    border-image-slice: 1 !important;
    border-radius: 12px !important;
    padding: 15px 25px !important;
    color: #fff !important;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: walletCTA 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.wallet-connect-btn::before,
.wallet-connect-main::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: walletShine 3s ease-in-out infinite;
    pointer-events: none; /* Allow clicks to pass through to button */
}

.wallet-connect-btn:hover,
.wallet-connect-main:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5), 0 0 60px rgba(255, 0, 128, 0.3);
}

@keyframes walletCTA {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.3), 0 0 20px rgba(255, 0, 128, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(255, 0, 128, 0.4);
    }
}

@keyframes walletShine {
    0% { transform: rotate(45deg) translateX(-100%); }
    50%, 100% { transform: rotate(45deg) translateX(100%); }
}

/* Quick donate button styling */
.quick-donate-btn {
    padding: 10px 15px;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 8px;
    color: #00ffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.quick-donate-btn:hover {
    background: rgba(0, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Wallet option cards hover effect */
.wallet-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Hero SVG slow rotate animation */
.svg-rotate-slow {
    animation: svgRotateSlow 10s linear infinite;
    transform-origin: center;
}

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

/* Skills Galaxy - Interactive Orbital Display */
.skills-title {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.skills-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-style: italic;
}

.skills-galaxy {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 50px;
    display: block;
    overflow: visible;
}

.skill-orbit {
    overflow: visible;
}

@media (max-width: 768px) {
    .skills-galaxy {
        width: 250px;
        height: 250px;
        margin: 0 auto 30px;
    }

    .skill-planet {
        width: 50px;
        height: 50px;
    }

    .planet-icon {
        font-size: 1.2rem;
    }

    .planet-label {
        font-size: 0.6rem;
    }
}

.skill-orbit {
    position: absolute;
    border: 1px dashed rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    animation: orbitPulse 4s ease-in-out infinite;
}

.skill-orbit-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.skill-orbit-2 {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    animation-delay: 0.5s;
}

.skill-orbit-3 {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-delay: 1s;
}

.skill-orbit-4 {
    width: 25%;
    height: 25%;
    top: 37.5%;
    left: 37.5%;
    animation-delay: 1.5s;
}

@keyframes orbitPulse {
    0%, 100% { border-color: rgba(0, 255, 255, 0.3); }
    50% { border-color: rgba(255, 0, 128, 0.5); }
}

.skill-planet {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: planetFloat 3s ease-in-out infinite;
}

.skill-planet:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px currentColor;
}

.blockchain-planet {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(138, 43, 226, 0.3));
    border: 2px solid #00ffff;
    color: #00ffff;
    top: -30px;
    left: calc(50% - 30px);
}

.code-planet {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.3), rgba(255, 165, 0, 0.3));
    border: 2px solid #ff0080;
    color: #ff0080;
    top: calc(50% - 30px);
    right: -30px;
}

.manufacturing-planet {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(0, 255, 255, 0.3));
    border: 2px solid #00ff88;
    color: #00ff88;
    bottom: -30px;
    left: calc(50% - 30px);
}

.audio-planet {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(255, 0, 128, 0.3));
    border: 2px solid #8a2be2;
    color: #8a2be2;
    top: calc(50% - 30px);
    left: -30px;
}

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

.planet-icon {
    font-size: 1.5rem;
}

.planet-label {
    font-size: 0.7rem;
    font-weight: bold;
}

/* Skill Planet Tooltips */
.skill-planet::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.6);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #00ffff;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.skill-planet:hover::before {
    opacity: 1;
    visibility: visible;
}

.skill-planet:hover {
    z-index: 9999;
}

/* Left-positioned tooltips for buttons */
.tooltip-left {
    position: relative;
}

.tooltip-left::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.6);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: #00ffff;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10001;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    max-width: 200px;
    white-space: normal;
    text-align: right;
}

/* Arrow pointing right */
.tooltip-left::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 255, 255, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10001;
}

.tooltip-left:hover::before,
.tooltip-left:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Connect button top-right tooltip */
.connect-btn-top {
    position: relative;
}

.connect-btn-top::before {
    content: attr(data-chain);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.6);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: #00ffff;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10001;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.connect-btn-top::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 255, 255, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10001;
}

.connect-btn-top:hover::before,
.connect-btn-top:hover::after {
    opacity: 1;
    visibility: visible;
}

.connect-btn-top.connected::before {
    border-color: rgba(0, 255, 136, 0.6);
    color: #00ff88;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.connect-btn-top.connected::after {
    border-color: transparent transparent transparent rgba(0, 255, 136, 0.6);
}

/* Above-positioned tooltips */
.tooltip-above {
    position: relative;
}

.tooltip-above::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 0, 128, 0.6);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: #ff0080;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.4), 0 0 30px rgba(138, 43, 226, 0.2);
    text-align: center;
}

/* Arrow pointing down */
.tooltip-above::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(255, 0, 128, 0.6) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10001;
}

.tooltip-above:hover::before,
.tooltip-above:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Enhanced glow effect for all tooltips */
.tooltip-left::before,
.tooltip-above::before,
.skill-planet::before {
    animation: tooltipGlow 2s ease-in-out infinite alternate;
}

@keyframes tooltipGlow {
    0% {
        box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 4px 25px rgba(0, 255, 255, 0.6), 0 0 40px rgba(138, 43, 226, 0.3);
    }
}

.tooltip-above:hover::before {
    animation: tooltipGlowPink 2s ease-in-out infinite alternate;
}

@keyframes tooltipGlowPink {
    0% {
        box-shadow: 0 4px 15px rgba(255, 0, 128, 0.4);
    }
    100% {
        box-shadow: 0 4px 25px rgba(255, 0, 128, 0.7), 0 0 40px rgba(138, 43, 226, 0.4);
    }
}

.skill-core {
    position: absolute;
    width: 80px;
    height: 80px;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(0, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 0, 128, 0.7), 0 0 60px rgba(0, 255, 255, 0.5); }
}

.core-icon {
    font-size: 1.5rem;
}

.core-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Skill Categories - Card Grid */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ffff, #ff0080, #8a2be2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-category:hover::before {
    opacity: 1;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.skill-icon {
    font-size: 1.5rem;
}

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

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-tag:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
    transform: scale(1.05);
}

.skill-tag.zk { border-color: rgba(138, 43, 226, 0.5); color: #8a2be2; }
.skill-tag.solidity { border-color: rgba(0, 255, 255, 0.5); color: #00ffff; }
.skill-tag.js { border-color: rgba(255, 200, 0, 0.5); color: #ffc800; }
.skill-tag.react { border-color: rgba(97, 218, 251, 0.5); color: #61dafb; }
.skill-tag.python { border-color: rgba(55, 118, 171, 0.5); color: #3776ab; }
.skill-tag.ai { border-color: rgba(255, 0, 128, 0.5); color: #ff0080; }
.skill-tag.cnc { border-color: rgba(0, 255, 136, 0.5); color: #00ff88; }
.skill-tag.precision { border-color: rgba(255, 165, 0, 0.5); color: #ffa500; }

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #ff0080);
    border-radius: 3px;
    animation: skillLoad 1.5s ease-out forwards;
    transform-origin: left;
}

@keyframes skillLoad {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
