body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Helvetica Neue', sans-serif;
    background: #000;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M3 3 L3 17 L8 12 L11 18 L13 17 L10 11 L17 11 Z" fill="%23FFFFFF" stroke="%23000000" stroke-width="1.5"/><path d="M3 3 L3 17 L8 12 L11 18 L13 17 L10 11 L17 11 Z" fill="%231E90FF" fill-opacity="0.6"/></svg>') 0 0, auto;
}

* {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M3 3 L3 17 L8 12 L11 18 L13 17 L10 11 L17 11 Z" fill="%23FFFFFF" stroke="%23000000" stroke-width="1.5"/><path d="M3 3 L3 17 L8 12 L11 18 L13 17 L10 11 L17 11 Z" fill="%231E90FF" fill-opacity="0.6"/></svg>') 0 0, auto;
}

a, button, .btn, .navbar a {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none"><path d="M4 4 L4 20 L10 14 L13 21 L16 20 L13 13 L21 13 Z" fill="%23FFFFFF" stroke="%23000000" stroke-width="2"/><path d="M4 4 L4 20 L10 14 L13 21 L16 20 L13 13 L21 13 Z" fill="%234DA6FF"/><circle cx="14" cy="14" r="1.5" fill="%23FFFFFF"/></svg>') 0 0, pointer !important;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.navbar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.95), rgba(16, 78, 139, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 12px 25px;
    z-index: 3;
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: flex-start;
    max-width: 90%;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #1e90ff #333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar::-webkit-scrollbar {
    height: 8px;
}

.navbar::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}

.navbar::-webkit-scrollbar-thumb {
    background-color: #1e90ff;
    border-radius: 10px;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.navbar li {
    display: inline;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    padding: 8px 14px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    margin: 5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
}

.btn-github {
    background: linear-gradient(135deg, #333, #1a1a1a);
    color: white;
}

.btn-resume {
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-resume svg {
    flex-shrink: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.4);
}

.btn img {
    vertical-align: middle;
    margin-right: 8px;
    width: 20px; /* Adjust as needed */
    height: 20px; /* Adjust as needed */
}

/* Stick Arena mini-game */
.stick-arena-section { overflow: hidden; }
.arena-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.arena-heading h2 { margin: 0; }
.arena-heading p { margin: 3px 0 0; color: rgba(255, 255, 255, 0.7); }
.arena-kicker { color: #5db3ff !important; font-size: 0.72em; font-weight: 800; letter-spacing: 0.16em; }
.arena-restart, .arena-touch-controls button { border: 1px solid rgba(93, 179, 255, 0.55); background: rgba(30, 144, 255, 0.16); color: #e9f6ff; border-radius: 9px; font: inherit; font-weight: 700; padding: 8px 12px; transition: background .2s ease, transform .2s ease; }
.arena-restart:hover, .arena-touch-controls button:hover { background: rgba(30, 144, 255, 0.38); transform: translateY(-1px); }
.arena-frame { position: relative; border-radius: 13px; overflow: hidden; border: 1px solid rgba(93, 179, 255, 0.4); box-shadow: 0 0 28px rgba(30, 144, 255, 0.16); }
#stick-arena-canvas { display: block; width: 100%; height: auto; touch-action: none; }
.arena-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(3, 9, 21, 0.35); color: #fff; font-weight: 800; letter-spacing: 0.02em; text-shadow: 0 2px 8px #000; pointer-events: none; transition: opacity .2s ease; }
.arena-overlay.hidden { opacity: 0; }
.arena-footer { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-top: 13px; color: rgba(255,255,255,.68); font-size: .86em; }
.arena-footer p { margin: 0; }
.arena-footer kbd { display: inline-block; padding: 1px 6px; margin: 0 1px; border-radius: 4px; color: #fff; background: #22344f; border: 1px solid #3a5477; font: 700 .9em system-ui; }
.arena-touch-controls { display: flex; gap: 5px; }
.arena-touch-controls button { min-width: 34px; padding: 6px 9px; font-size: .9em; }
.sky-hopper-section { overflow: hidden; }
.sky-hopper-frame { position: relative; border-radius: 13px; overflow: hidden; border: 1px solid rgba(112, 211, 255, .52); box-shadow: 0 0 30px rgba(46, 130, 255, .22); }
#sky-hopper-canvas { display: block; width: 100%; height: auto; touch-action: manipulation; }
.sky-hopper-overlay { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(8, 15, 42, .28); color: #fff; font: 800 1em inherit; letter-spacing: .02em; text-shadow: 0 2px 8px #000; transition: opacity .2s ease; }
.sky-hopper-overlay.hidden { opacity: 0; pointer-events: none; }
@media (max-width: 600px) { .arena-heading, .arena-footer { flex-direction: column; } .arena-restart { align-self: stretch; } .arena-touch-controls { width: 100%; } .arena-touch-controls button { flex: 1; } }

.content {
    position: relative;
    z-index: 2;
    padding: 30px;
    max-width: 900px;
    margin: 100px auto 0 auto;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow-y: auto;
    height: calc(100% - 100px);
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #1e90ff rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(30, 144, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(30, 144, 255, 0.3);
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-picture {
    width: 150px;
    height: auto;
    border-radius: 22px;
    margin-bottom: 22px;
    border: 4px solid #1e90ff;
    box-shadow: 0 0 30px rgba(30, 144, 255, 0.6), 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(30, 144, 255, 0.8), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.intro-section {
    margin-bottom: 40px;
    text-align: center;
}

.intro-section h3 {
    margin-top: 8px;
    margin-bottom: 24px;
    font-size: 1.25em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.intro-section p {
    text-align: left;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Bio Section Enhancements */
.bio-highlights {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 32px 0;
}

.bio-badge {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.2), rgba(30, 144, 255, 0.1));
    border: 1px solid rgba(30, 144, 255, 0.4);
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    cursor: default;
}

.bio-badge:hover {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.3), rgba(30, 144, 255, 0.15));
    border-color: rgba(30, 144, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.bio-main {
    font-size: 1.05em !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

.bio-main strong,
.intro-section p strong {
    color: #5db3ff;
    font-weight: 700;
}

.bio-cta {
    background: rgba(30, 144, 255, 0.08);
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid #1e90ff;
    margin-top: 20px !important;
    font-size: 1em !important;
}

.bio-cta em {
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
}


h1 {
    margin: 0 0 20px;
    font-size: 2.6em;
    font-weight: 700;
    letter-spacing: -1px;
    color: #ffffff;
    line-height: 1.2;
}

h2 {
    margin: 0 0 20px;
    font-size: 1.7em;
    font-weight: 700;
    color: #4da6ff;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(30, 144, 255, 0.4);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 15px rgba(30, 144, 255, 0.4);
    line-height: 1.3;
}

section h2 {
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(30, 144, 255, 0.4);
}

h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    letter-spacing: -0.3px;
    margin: 12px 0;
}

p {
    font-size: 1em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 14px;
    letter-spacing: 0.2px;
}

/* Modern Education Section */
.education-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1e90ff, #4da6ff);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.education-card:hover::before {
    transform: scaleY(1);
}

.education-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(30, 144, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.25);
}

.education-header {
    margin-bottom: 20px;
}

.degree-title {
    font-size: 1.5em !important;
    font-weight: 700;
    color: #5db3ff;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.5px;
}

.institution-name {
    font-size: 1.15em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 12px 0;
}

.education-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
}

.education-location,
.education-duration {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.education-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

.highlight-icon {
    font-size: 1.3em;
    line-height: 1;
    flex-shrink: 0;
}

.highlight-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.highlight-text strong {
    color: #5db3ff;
    font-weight: 600;
}

.professional-experience-section p {
    margin: 0 0 14px;
    line-height: 1.7;
}

.professional-experience-section .job {
    margin-bottom: 28px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border-left: 4px solid #5db3ff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.professional-experience-section .job:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(3px);
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.15);
}

.professional-experience-section .job-header {
    margin-bottom: 12px;
}

.professional-experience-section .job-title {
    font-weight: 700;
    font-size: 1.15em;
    display: block;
    color: #5db3ff;
    letter-spacing: -0.2px;
    margin-bottom: 6px;
}

.professional-experience-section .job-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.job-chip {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.25);
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.job-chip:hover {
    background: rgba(30, 144, 255, 0.2);
    border-color: rgba(30, 144, 255, 0.4);
}

.professional-experience-section .details {
    margin-left: 20px;
    margin-top: 5px;
}

a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.content::-webkit-scrollbar {
    width: 10px;
}

.content::-webkit-scrollbar-track {
    background: rgba(192, 192, 192, 0.05);
    border-radius: 10px;
}

.content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1e90ff, #104e8b);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4da6ff, #1e90ff);
}

ul li {
    margin-bottom: 12px;
    line-height: 1.75;
    padding-left: 10px;
    position: relative;
    transition: all 0.2s ease;
    font-size: 0.98em;
    color: rgba(255, 255, 255, 0.87);
    letter-spacing: 0.2px;
}

ul li:hover {
    padding-left: 14px;
    color: rgba(255, 255, 255, 0.97);
}

ul li strong {
    color: #5db3ff;
    font-weight: 600;
    letter-spacing: -0.1px;
}

.projects-section .project,
.additional-projects-section .project {
    margin-bottom: 25px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid #1e90ff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-section .project:hover,
.additional-projects-section .project:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.2);
}

.projects-section .project-title,
.additional-projects-section .project-title {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #5db3ff;
    letter-spacing: -0.3px;
    line-height: 1.4;
}

.card-container {
    display: flex;
    justify-content: space-between;
}

.flip-container {
    perspective: 1000px;
    margin: 20px; /* Add margin to create space between cards */
}

.flip-card {
    position: relative;
    width: 150px;
    height: 200px;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 10px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-front {
    background-color: #111;
    color: white;
}

.flip-card-back {
    background-color: #111;
    color: white;
    transform: rotateY(180deg);
}

/* New styles for glowing border */
.glow-card {
    position: relative;
    border-radius: 10px;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #42a5f5, #478ed1, #0ff, #478ed1, #42a5f5);
    border-radius: inherit;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.7;
    animation: glowing 20s linear infinite;
}

@keyframes glowing {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: .15em solid orange;
    letter-spacing: .15em;
    animation: typing 3.5s steps(30, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
}

/* Styles for the 3D model container */
.model-section {
    background: #111;
    color: white;
    padding: 20px;
    text-align: center;
}

#model-container {
    width: 100%;
    height: 500px;
    background-color: #000;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

/* Contact Info Styles */
.contact-info {
    margin-top: 20px;
}

.contact-info > div {
    margin: 10px 0;
    font-size: 1.02em;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.contact-info a {
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-info a:hover {
    color: #5db3ff !important;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(93, 179, 255, 0.4);
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}

/* Hamburger button — hidden on desktop */
.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    z-index: 4;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animate hamburger into X when open */
.navbar.open .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.navbar.open .hamburger span:nth-child(2) {
    opacity: 0;
}
.navbar.open .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    
    h2 {
        font-size: 1.6em;
    }
    
    .content {
        padding: 20px;
        max-width: 95%;
    }

    /* --- Mobile navbar --- */
    .navbar {
        max-width: auto;
        left: auto;
        right: 15px;
        top: 10px;
        transform: none;
        flex-direction: column;
        align-items: flex-end;
        padding: 10px 16px;
        border-radius: 16px;
        overflow: visible;
        white-space: normal;
    }

    .hamburger {
        display: flex;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        gap: 6px;
        width: 100%;
        margin-top: 12px;
    }

    .navbar.open ul {
        display: flex;
    }

    .navbar a {
        font-size: 1em;
        padding: 10px 14px;
        display: block;
        text-align: left;
    }

    .projects-grid {
        grid-template-columns: 1fr !important;
    }

    /* Experience & Leadership chips — stack vertically on mobile */
    .professional-experience-section .job-meta,
    .leadership-meta {
        flex-direction: column;
        gap: 6px;
    }

    .job-chip {
        white-space: normal;
        word-break: break-word;
    }

    .professional-experience-section .job {
        padding: 16px;
    }

    .leadership-card {
        padding: 20px;
    }

    .leadership-achievements {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 10px;
    }
}

/* ========== NEW MODERN STYLES ========== */

/* Skills Section - Tag-based Layout */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.02);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(30, 144, 255, 0.3);
}

.skill-category-title {
    font-size: 1.1em !important;
    font-weight: 600;
    color: #5db3ff;
    margin: 0 0 12px 0 !important;
    letter-spacing: 0.5px;
}

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

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(30, 144, 255, 0.15);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 20px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.tag:hover {
    background: rgba(30, 144, 255, 0.25);
    border-color: rgba(30, 144, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.tag-highlight {
    background: rgba(30, 144, 255, 0.25);
    border-color: rgba(30, 144, 255, 0.5);
    font-weight: 600;
}

/* Projects Section - Card Grid Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1e90ff, #4da6ff);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleY(1);
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(30, 144, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.25);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.project-card .project-title {
    font-size: 1.25em !important;
    font-weight: 700;
    color: #5db3ff;
    margin: 0 !important;
    line-height: 1.3;
}

.project-date {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    font-weight: 500;
}

.project-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 16px !important;
    font-size: 0.95em;
}

.project-description strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Tech Stack Tags */
.project-tech-stack,
.job-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tech-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.25);
    border-radius: 6px;
    font-size: 0.8em;
    color: #5db3ff;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(30, 144, 255, 0.2);
    border-color: rgba(30, 144, 255, 0.4);
}

/* Job Description Paragraph Style */
.job-description {
    color: rgba(255, 255, 255, 0.87);
    line-height: 1.7;
    margin-bottom: 8px !important;
    font-size: 0.98em;
}

.job-description strong {
    color: #5db3ff;
    font-weight: 600;
}

/* Hide old project/job styles that used bullets */
.projects-section .project,
.additional-projects-section .project {
    display: none;
}

/* ========== Leadership Section Styles ========== */
.leadership-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.leadership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ffd700, #ffed4e);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.leadership-card:hover::before {
    transform: scaleY(1);
}

.leadership-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.leadership-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.leadership-role {
    font-family: 'Georgia', 'Playfair Display', 'Times New Roman', serif;
    font-weight: 700;
    font-size: 1.45em;
    color: #ffd700;
    letter-spacing: 0.5px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffd700, #fff8dc, #ffd700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.leadership-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.leadership-chip {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.location-chip {
    color: rgba(255, 255, 255, 0.75);
}

.date-chip {
    color: rgba(255, 255, 255, 0.75);
}

.leadership-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.achievement-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement-stat:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2em;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ========== CAT MASCOT ========== */
.cat-container {
    position: fixed;
    bottom: 20px;
    left: 24px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
}

.cat-emoji {
    font-size: 2.4em;
    animation: cat-idle 2s ease-in-out infinite;
    transition: transform 0.15s ease;
}

.cat-emoji:active {
    transform: scale(0.85);
}

@keyframes cat-idle {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

.meow-bubble {
    position: absolute;
    bottom: 100%;
    margin-bottom: 6px;
    background: rgba(30, 144, 255, 0.9);
    color: #fff;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 0.9em;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px) scale(0.8);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 16px rgba(30, 144, 255, 0.3);
}

.meow-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(30, 144, 255, 0.9);
}

.meow-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ========== CHATBOT ========== */
.chatbot-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 11;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e90ff, #104e8b);
    color: #fff;
    font-size: 1.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(30, 144, 255, 0.6);
}

.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 360px;
    max-height: 480px;
    z-index: 12;
    background: #111;
    border: 1px solid rgba(30, 144, 255, 0.35);
    border-radius: 16px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(30, 144, 255, 0.15);
    animation: chatbot-in 0.25s ease;
}

.chatbot-window.open {
    display: flex;
}

@keyframes chatbot-in {
    from { opacity: 0; transform: translateY(16px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
    background: linear-gradient(135deg, #1e90ff, #104e8b);
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.95em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4em;
    line-height: 1;
    padding: 0 4px;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 280px;
    scrollbar-width: thin;
    scrollbar-color: #1e90ff #222;
}

.chat-msg {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.9em;
    line-height: 1.5;
    max-width: 85%;
    word-wrap: break-word;
}

.chat-msg.bot {
    background: rgba(30, 144, 255, 0.15);
    border: 1px solid rgba(30, 144, 255, 0.25);
    color: rgba(255, 255, 255, 0.92);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.suggestion-btn {
    background: rgba(30, 144, 255, 0.12);
    border: 1px solid rgba(30, 144, 255, 0.3);
    color: #5db3ff;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 0.8em;
    font-weight: 500;
    transition: all 0.2s ease;
}

.suggestion-btn:hover {
    background: rgba(30, 144, 255, 0.25);
    color: #fff;
}

.chatbot-input-area {
    display: flex;
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 8px;
}

.chatbot-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px 12px;
    color: #fff;
    font-size: 0.9em;
    outline: none;
    transition: border-color 0.2s ease;
}

.chatbot-input-area input:focus {
    border-color: rgba(30, 144, 255, 0.5);
}

.chatbot-input-area button {
    background: linear-gradient(135deg, #1e90ff, #104e8b);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.chatbot-input-area button:hover {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .chatbot-window {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 80px;
        max-height: 420px;
    }

    .chatbot-toggle {
        bottom: 18px;
        right: 18px;
        width: 46px;
        height: 46px;
        font-size: 1.4em;
    }
}
