/* ============================================
   REDESIGN SYSTEM: Sidebar Navigation & Premium Components
   ============================================ */

:root {
    --profile-size: 280px;
    --glow-color: rgba(59, 130, 246, 0.25);
    --card-bg: rgba(255, 255, 255, 0.03);
    --sidebar-width: 280px;
    --sidebar-bg-dark: #0f172a;
    --sidebar-bg-light: #ffffff;
    --sidebar-text-dark: #ffffff;
    --sidebar-text-light: #111827;
    --sidebar-text-secondary-dark: #cbd5e1;
    --sidebar-text-secondary-light: #6b7280;
}

/* Adjust main content for fixed navbar */
body {
    padding-top: 64px;
}

/* ============================================
   NAVBAR: Clean Minimal Design
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 990;
    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 64px;
    display: flex;
    align-items: center;
}

.navbar-container {
    max-width: 100%;
    width: 100%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color, #e6eef8);
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity 200ms ease;
}

.navbar-logo:hover {
    opacity: 0.8;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Hamburger Menu Button (LEFT) */
.navbar-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 300ms cubic-bezier(0.2, 0.9, 0.2, 1);
    color: var(--text-color, #e6eef8);
    margin-right: auto;
    order: -1;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all 300ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.navbar-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.navbar-theme-toggle {
    margin-left: auto;
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */

.sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: var(--sidebar-bg-dark);
    z-index: 995;
    transform: translateX(-100%);
    transition: transform 350ms cubic-bezier(0.2, 0.9, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.3);
}

.sidebar-nav.active {
    transform: translateX(0);
}

body.sidebar-open {
    overflow: hidden;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 994;
    pointer-events: none;
    transition: background 300ms ease;
    display: none;
}

.sidebar-nav.active ~ .sidebar-overlay,
.sidebar-nav.active + .sidebar-overlay {
    display: block;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5);
}

/* Sidebar Header - Sticky */
.sidebar-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
    z-index: 994;
    position: relative;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--sidebar-text-dark);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 200ms ease;
    align-self: flex-start;
    z-index: 995;
    position: relative;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transform: rotate(90deg);
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-profile-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sidebar-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sidebar-text-dark);
    margin: 0;
    letter-spacing: -0.3px;
}

.sidebar-title {
    font-size: 0.75rem;
    color: var(--sidebar-text-secondary-dark);
    margin: 0;
    line-height: 1.3;
}

/* Sidebar Navigation Menu */
.sidebar-nav-menu {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 993;
    position: relative;
    pointer-events: auto;
}

.sidebar-menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    color: var(--sidebar-text-secondary-dark);
    transition: all 200ms ease;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    margin: 0 0.75rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    z-index: 993;
    position: relative;
    pointer-events: auto;
}

.sidebar-menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--sidebar-text-dark);
    transform: translateX(4px);
}

.sidebar-menu-item.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.1));
    color: var(--sidebar-text-dark);
    border-left-color: #3b82f6;
    font-weight: 600;
}

.sidebar-menu-item.active:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.35), rgba(59, 130, 246, 0.15));
}

.menu-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex-shrink: 0;
}

.menu-text {
    flex: 1;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-shrink: 0;
    z-index: 994;
    position: relative;
    pointer-events: auto;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-actions .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.sidebar-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-social-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sidebar-text-secondary-dark);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--sidebar-text-dark);
    transition: all 200ms ease;
    text-decoration: none;
}

.social-links a:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    transform: translateY(-2px);
}

/* ============================================
   PROFILE CARD: About Section Premium Design
   ============================================ */

.bio-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.bio-image-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.profile-frame {
    width: var(--profile-size);
    height: var(--profile-size);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.01)
    );
    box-shadow: 0 8px 40px rgba(2, 6, 23, 0.7);
    overflow: visible;
    border: 8px solid rgba(255, 255, 255, 0.04);
}

.profile-photo {
    width: calc(var(--profile-size) - 28px);
    height: calc(var(--profile-size) - 28px);
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    display: block;
    transform: translateZ(0);
    image-rendering: -webkit-optimize-contrast;
}

.profile-glow {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    filter: blur(24px);
    background: radial-gradient(
        circle at 30% 20%,
        rgba(59, 130, 246, 0.35),
        rgba(99, 102, 241, 0.12) 35%,
        transparent 65%
    );
    animation: pulse-glow 3.6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.96);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
    100% {
        transform: scale(0.96);
        opacity: 0.8;
    }
}

.floating-tech-icons {
    display: flex;
    gap: 0.6rem;
    margin-top: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-icon {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.02)
    );
    color: var(--text-color, #e6eef8);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(2, 6, 23, 0.5);
    transform: translateY(0);
    transition: all 300ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tech-icon:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.2);
    background: linear-gradient(
        180deg,
        rgba(59, 130, 246, 0.15),
        rgba(59, 130, 246, 0.05)
    );
}

.profile-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 300ms ease;
}

.badge-item:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(8px);
}

.badge-icon {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-color, #e6eef8);
    letter-spacing: -0.5px;
}

.badge-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
}

.bio-content-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bio-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 0;
    color: var(--text-color, #e6eef8);
}

.bio-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color, #e6eef8);
}

.bio-text p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin: 0;
}

.core-strengths {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subsection-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1rem 0;
}

.strengths-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.strengths-list li {
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-color, #e6eef8);
    transition: all 200ms ease;
}

.strengths-list li:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.bio-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.bio-actions .btn {
    flex: 1;
    min-width: 160px;
}

/* ============================================
   LIGHT MODE ADJUSTMENTS
   ============================================ */

.light-mode .sidebar-nav {
    background: var(--sidebar-bg-light);
    border-right-color: rgba(0, 0, 0, 0.08);
}

.light-mode .sidebar-nav {
    color: var(--sidebar-text-light);
}

.light-mode .sidebar-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.light-mode .sidebar-name {
    color: var(--sidebar-text-light);
}

.light-mode .sidebar-title {
    color: var(--sidebar-text-secondary-light);
}

.light-mode .sidebar-menu-item {
    color: var(--sidebar-text-secondary-light);
}

.light-mode .sidebar-menu-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--sidebar-text-light);
}

.light-mode .sidebar-menu-item.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    color: var(--sidebar-text-light);
}

.light-mode .sidebar-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.light-mode .sidebar-social-title {
    color: var(--sidebar-text-secondary-light);
}

.light-mode .social-links a {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--sidebar-text-light);
}

.light-mode .social-links a:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.light-mode .sidebar-close {
    color: var(--sidebar-text-light);
}

.light-mode .sidebar-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.light-mode .sidebar-avatar {
    border-color: rgba(0, 0, 0, 0.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --profile-size: 240px;
    }

    .bio-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .strengths-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --profile-size: 200px;
        --sidebar-width: 260px;
    }

    .navbar-container {
        padding: 0 0.75rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .sidebar-header {
        padding: 1rem 1rem;
    }

    .sidebar-menu-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .sidebar-footer {
        padding: 1rem 1rem;
        gap: 1rem;
    }

    .bio-actions {
        flex-direction: column;
    }

    .bio-actions .btn {
        width: 100%;
    }

    .profile-badges {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .badge-item {
        flex: 1;
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    :root {
        --profile-size: 160px;
        --sidebar-width: 240px;
    }

    body {
        padding-top: 56px;
    }

    .navbar {
        height: 56px;
    }

    .navbar-container {
        padding: 0 0.5rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .sidebar-header {
        padding: 0.75rem 0.75rem;
    }

    .sidebar-avatar {
        width: 40px;
        height: 40px;
    }

    .sidebar-name {
        font-size: 0.9rem;
    }

    .sidebar-title {
        font-size: 0.7rem;
    }

    .profile-badges {
        flex-direction: column;
    }

    .badge-item {
        width: 100%;
    }

    .strengths-list {
        grid-template-columns: 1fr;
    }

    .menu-icon {
        font-size: 1rem;
    }
}

/* ============================================
   ACCESSIBILITY & ANIMATIONS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .profile-glow,
    .tech-icon,
    .badge-item,
    .sidebar-menu-item,
    .hamburger-line,
    .sidebar-nav {
        animation: none !important;
        transition: none !important;
    }
}

/* Scrollbar Styling */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.light-mode .sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}

.light-mode .sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* ============================================
   NAVBAR: Clean Minimal Design
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 990;
    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 64px;
    display: flex;
    align-items: center;
}

.navbar-container {
    max-width: 100%;
    width: 100%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color, #e6eef8);
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity 200ms ease;
}

.navbar-logo:hover {
    opacity: 0.8;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Sidebar Header */
.sidebar-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--sidebar-text-dark);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 200ms ease;
    align-self: flex-start;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transform: rotate(90deg);
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-profile-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sidebar-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sidebar-text-dark);
    margin: 0;
    letter-spacing: -0.3px;
}

.sidebar-title {
    font-size: 0.75rem;
    color: var(--sidebar-text-secondary-dark);
    margin: 0;
    line-height: 1.3;
}

/* Sidebar Navigation Menu */
.sidebar-nav-menu {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    color: var(--sidebar-text-secondary-dark);
    transition: all 200ms ease;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    margin: 0 0.75rem;
    border-radius: 0 8px 8px 0;
}

.sidebar-menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--sidebar-text-dark);
    transform: translateX(4px);
}

.sidebar-menu-item.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.1));
    color: var(--sidebar-text-dark);
    border-left-color: #3b82f6;
    font-weight: 600;
}

.sidebar-menu-item.active:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.35), rgba(59, 130, 246, 0.15));
}

.menu-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex-shrink: 0;
}

.menu-text {
    flex: 1;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-actions .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.sidebar-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-social-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sidebar-text-secondary-dark);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--sidebar-text-dark);
    transition: all 200ms ease;
    text-decoration: none;
}

.social-links a:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    transform: translateY(-2px);
}

/* ============================================
   PROFILE CARD: About Section Premium Design
   ============================================ */

.bio-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.bio-image-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.profile-frame {
    width: var(--profile-size);
    height: var(--profile-size);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.01)
    );
    box-shadow: 0 8px 40px rgba(2, 6, 23, 0.7);
    overflow: visible;
    border: 8px solid rgba(255, 255, 255, 0.04);
}

.profile-photo {
    width: calc(var(--profile-size) - 28px);
    height: calc(var(--profile-size) - 28px);
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    display: block;
    transform: translateZ(0);
    image-rendering: -webkit-optimize-contrast;
}

.profile-glow {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    filter: blur(24px);
    background: radial-gradient(
        circle at 30% 20%,
        rgba(59, 130, 246, 0.35),
        rgba(99, 102, 241, 0.12) 35%,
        transparent 65%
    );
    animation: pulse-glow 3.6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.96);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
    100% {
        transform: scale(0.96);
        opacity: 0.8;
    }
}

.floating-tech-icons {
    display: flex;
    gap: 0.6rem;
    margin-top: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-icon {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.02)
    );
    color: var(--text-color, #e6eef8);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(2, 6, 23, 0.5);
    transform: translateY(0);
    transition: all 300ms cubic-bezier(0.2, 0.9, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tech-icon:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.2);
    background: linear-gradient(
        180deg,
        rgba(59, 130, 246, 0.15),
        rgba(59, 130, 246, 0.05)
    );
}

.profile-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 300ms ease;
}

.badge-item:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(8px);
}

.badge-icon {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-color, #e6eef8);
    letter-spacing: -0.5px;
}

.badge-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
}

.bio-content-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bio-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 0;
    color: var(--text-color, #e6eef8);
}

.bio-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color, #e6eef8);
}

.bio-text p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin: 0;
}

.core-strengths {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subsection-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1rem 0;
}

.strengths-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.strengths-list li {
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-color, #e6eef8);
    transition: all 200ms ease;
}

.strengths-list li:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.bio-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.bio-actions .btn {
    flex: 1;
    min-width: 160px;
}

/* ============================================
   LIGHT MODE ADJUSTMENTS
   ============================================ */

.light-mode .sidebar-nav {
    background: var(--sidebar-bg-light);
    border-right-color: rgba(0, 0, 0, 0.08);
}

.light-mode .sidebar-nav {
    color: var(--sidebar-text-light);
}

.light-mode .sidebar-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.light-mode .sidebar-name {
    color: var(--sidebar-text-light);
}

.light-mode .sidebar-title {
    color: var(--sidebar-text-secondary-light);
}

.light-mode .sidebar-menu-item {
    color: var(--sidebar-text-secondary-light);
}

.light-mode .sidebar-menu-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--sidebar-text-light);
}

.light-mode .sidebar-menu-item.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    color: var(--sidebar-text-light);
}

.light-mode .sidebar-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.light-mode .sidebar-social-title {
    color: var(--sidebar-text-secondary-light);
}

.light-mode .social-links a {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--sidebar-text-light);
}

.light-mode .social-links a:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.light-mode .sidebar-close {
    color: var(--sidebar-text-light);
}

.light-mode .sidebar-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.light-mode .sidebar-avatar {
    border-color: rgba(0, 0, 0, 0.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --profile-size: 240px;
    }

    .bio-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .strengths-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --profile-size: 200px;
        --sidebar-width: 260px;
    }

    .navbar-container {
        padding: 0 0.75rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .sidebar-header {
        padding: 1rem 1rem;
    }

    .sidebar-menu-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .sidebar-footer {
        padding: 1rem 1rem;
        gap: 1rem;
    }

    .bio-actions {
        flex-direction: column;
    }

    .bio-actions .btn {
        width: 100%;
    }

    .profile-badges {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .badge-item {
        flex: 1;
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    :root {
        --profile-size: 160px;
        --sidebar-width: 240px;
    }

    .navbar-container {
        padding: 0 0.5rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .sidebar-header {
        padding: 0.75rem 0.75rem;
    }

    .sidebar-avatar {
        width: 40px;
        height: 40px;
    }

    .sidebar-name {
        font-size: 0.9rem;
    }

    .sidebar-title {
        font-size: 0.7rem;
    }

    .profile-badges {
        flex-direction: column;
    }

    .badge-item {
        width: 100%;
    }

    .strengths-list {
        grid-template-columns: 1fr;
    }

    .menu-icon {
        font-size: 1rem;
    }
}

/* ============================================
   ACCESSIBILITY & ANIMATIONS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .profile-glow,
    .tech-icon,
    .badge-item,
    .sidebar-menu-item,
    .hamburger-line,
    .sidebar-nav {
        animation: none !important;
        transition: none !important;
    }
}

/* Scrollbar Styling */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.light-mode .sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}

.light-mode .sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}


