/* ==========================================================================
   Creative & Professional Design System
   ========================================================================== */
:root {
    --bg-universe: #040409;
    --bg-surface: rgba(12, 12, 28, 0.45);
    --bg-surface-glass: rgba(18, 18, 38, 0.65);
    --border-glass: rgba(255, 255, 255, 0.05);
    
    /* Dynamic Theme Colors */
    --clr-cyan: #00f2fe;
    --clr-purple: #7f00ff;
    --clr-pink: #d946ef;
    --clr-green: #10b981;
    --clr-orange: #f59e0b;
    
    /* Text colors */
    --txt-main: #f5f4fc;
    --txt-sub: #b2afd3;
    --txt-muted: #5e5a7e;
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Animations */
    --transition-hq: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    
    /* Neon Glows */
    --glow-cyan: 0 0 15px rgba(0, 242, 254, 0.25);
    --glow-purple: 0 0 15px rgba(127, 0, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 242, 254, 0.2) var(--bg-universe);
}

body {
    background-color: var(--bg-universe);
    color: var(--txt-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Three.js Background Canvas */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: auto;
}

/* Cosmic space shading overlay */
.space-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(4, 4, 9, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Subtle digital grid graphic */
.interactive-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

/* ==========================================================================
   Floating Navigation Header
   ========================================================================== */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 40px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-hq);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-symbol {
    color: var(--clr-cyan);
    font-size: 1.1rem;
    filter: drop-shadow(var(--glow-cyan));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--txt-main);
}

.logo-bold {
    font-weight: 700;
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links-wrapper ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

.nav-tab {
    color: var(--txt-sub);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-quick);
}

.tab-num {
    font-size: 0.7rem;
    color: var(--clr-cyan);
    opacity: 0.85;
}

.nav-tab:hover, .nav-tab.active {
    color: var(--txt-main);
    background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
    box-shadow: inset 0 0 1px 1px rgba(0, 242, 254, 0.2);
    background: rgba(0, 242, 254, 0.04);
}

/* Call to Action Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-purple));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    border: none;
    cursor: pointer;
    box-shadow: var(--glow-cyan);
    transition: var(--transition-hq);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.45);
}

.menu-burger {
    display: none;
    background: none;
    border: none;
    color: var(--txt-main);
    font-size: 1.3rem;
    cursor: pointer;
}

/* ==========================================================================
   Dashboard Grid Layout
   ========================================================================== */
.app-container {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    padding-top: 6.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem 4rem 2.5rem;
    gap: 3.5rem;
}

/* Sidebar Pane */
.sidebar-pane {
    position: sticky;
    top: 6.5rem;
    height: auto;
    min-height: calc(100vh - 10.5rem);
}

.profile-card {
    background: var(--bg-surface);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.2rem;
    height: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

/* Interactive Avatar Glow Ring */
.profile-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.avatar-glow {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.2rem auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: var(--clr-cyan);
    border-bottom-color: var(--clr-pink);
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.avatar-initials {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--txt-main);
    letter-spacing: 1px;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.2rem;
}

.accent-glow-text {
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--txt-sub);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Contact Rows */
.profile-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    position: relative;
    transition: var(--transition-quick);
}

.detail-row:hover {
    background: rgba(0, 242, 254, 0.03);
    border-color: rgba(0, 242, 254, 0.15);
}

.detail-icon {
    font-size: 1.1rem;
    color: var(--clr-cyan);
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.7rem;
    color: var(--txt-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-val {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--txt-main);
    word-break: break-all;
}

.detail-copy-hint {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--clr-cyan);
    opacity: 0;
    font-weight: 600;
    transition: var(--transition-quick);
}

.detail-row:hover .detail-copy-hint {
    opacity: 1;
}

/* Social links pane */
.profile-socials {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--txt-sub);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-hq);
}

.social-circle:hover {
    color: #fff;
    border-color: var(--clr-cyan);
    background: rgba(0, 242, 254, 0.05);
    box-shadow: var(--glow-cyan);
    transform: translateY(-3px);
}

.scene-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--txt-muted);
    font-size: 0.72rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    text-align: center;
}

.scene-hint i {
    color: var(--clr-cyan);
}

/* ==========================================================================
   Right Scroll Content Area
   ========================================================================== */
.scroll-pane {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

/* Section Card Designs */
.card-section {
    position: relative;
    background: var(--bg-surface);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-hq);
    overflow: hidden;
}

/* Tech corner decor markers */
.card-corner-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    border-top: 2px solid var(--border-glass);
    border-right: 2px solid var(--border-glass);
    transition: var(--transition-hq);
}

.card-section:hover .card-corner-decor {
    border-color: var(--clr-cyan);
    width: 35px;
    height: 35px;
}

.card-section.active-card {
    border-color: rgba(0, 242, 254, 0.18);
    box-shadow: 0 15px 50px rgba(0, 242, 254, 0.05);
}

.card-title-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.card-serial {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-cyan);
    letter-spacing: 1px;
    background: rgba(0, 242, 254, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.card-title-group h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--txt-main);
    letter-spacing: -0.5px;
}

.card-title-group::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
    margin-left: 1.5rem;
}

.summary-paragraph {
    font-size: 1rem;
    color: var(--txt-sub);
    margin-bottom: 1.2rem;
    font-weight: 350;
    line-height: 1.7;
}

/* Metric values */
.metric-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.metric-box {
    background: rgba(255, 255, 255, 0.012);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    transition: var(--transition-hq);
}

.metric-box:hover {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(0, 242, 254, 0.1);
    transform: translateY(-3px);
}

.metric-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--clr-cyan);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--txt-muted);
}

/* ==========================================================================
   Skills Matrix Styling
   ========================================================================== */
.skills-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 650px) {
    .skills-layout-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.skills-column {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-quick);
}

.skills-column:hover {
    border-color: rgba(127, 0, 255, 0.15);
}

.column-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--txt-main);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.column-title i {
    color: var(--clr-cyan);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud span {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--txt-sub);
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    transition: var(--transition-quick);
}

.tag-cloud span:hover {
    background: rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.2);
    color: var(--txt-main);
    transform: translateY(-2px);
}

.strengths-footer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.015), rgba(217, 70, 239, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.strengths-header {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--txt-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.pill-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.strength-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--txt-sub);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.strength-pill i {
    color: var(--clr-green);
}

/* ==========================================================================
   Experience Timeline Redesign
   ========================================================================== */
.experience-timeline {
    position: relative;
    padding-left: 1.8rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-indicator {
    position: absolute;
    left: -23px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--clr-cyan);
    box-shadow: var(--glow-cyan);
    border: 2px solid var(--bg-universe);
}

.exp-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.exp-role {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--txt-main);
}

.exp-company {
    color: var(--clr-cyan);
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0.15rem 0;
}

.exp-date {
    font-size: 0.78rem;
    color: var(--txt-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.exp-bullets {
    padding-left: 1.2rem;
    list-style-type: square;
    color: var(--txt-sub);
}

.exp-bullets li {
    margin-bottom: 0.6rem;
    font-size: 0.92rem;
    line-height: 1.6;
}

.exp-bullets strong {
    color: var(--txt-main);
}

/* ==========================================================================
   Projects Grid & Cards
   ========================================================================== */
.filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--txt-sub);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition-quick);
}

.filter-tab:hover {
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--txt-main);
}

.filter-tab.active {
    background: rgba(0, 242, 254, 0.06);
    border-color: rgba(0, 242, 254, 0.25);
    color: var(--clr-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.projects-display-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

@media (min-width: 650px) {
    .projects-display-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.project-showcase {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-hq);
}

.project-showcase:hover {
    border-color: rgba(0, 242, 254, 0.2);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.proj-badge {
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--clr-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-wip {
    background: rgba(0, 242, 254, 0.1);
    color: var(--clr-cyan);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.badge-completed {
    background: rgba(255, 255, 255, 0.04);
    color: var(--txt-sub);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.proj-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--txt-main);
    margin-bottom: 0.5rem;
}

.proj-description {
    font-size: 0.85rem;
    color: var(--txt-sub);
    margin-bottom: 1.2rem;
    flex: 1;
    line-height: 1.6;
}

.proj-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.proj-technologies span {
    font-size: 0.72rem;
    color: var(--txt-muted);
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
}

.proj-anchor {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--clr-cyan);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: var(--transition-quick);
}

.proj-anchor:hover {
    color: #fff;
    filter: drop-shadow(var(--glow-cyan));
}

/* ==========================================================================
   Education & Achievements Elements
   ========================================================================== */
.edu-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.edu-card {
    position: relative;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding-left: 4.5rem;
}

.edu-badge {
    position: absolute;
    left: 1.2rem;
    top: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(127, 0, 255, 0.08);
    border: 1px solid rgba(127, 0, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
}

.edu-period {
    font-size: 0.75rem;
    color: var(--txt-muted);
    font-weight: 600;
    margin-bottom: 0.2rem;
    display: block;
}

.edu-field {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--txt-main);
    line-height: 1.2;
}

.status-pill {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(127, 0, 255, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(127, 0, 255, 0.25);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.edu-inst {
    font-size: 0.88rem;
    color: var(--txt-sub);
    margin-top: 0.1rem;
}

.edu-meta {
    font-size: 0.78rem;
    color: var(--txt-muted);
    margin-top: 0.4rem;
}

/* Achievements */
.awards-segment {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.awards-headline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--txt-main);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.awards-headline i {
    color: var(--clr-cyan);
}

.awards-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.award-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--clr-pink);
    background: rgba(217, 70, 239, 0.08);
    border: 1px solid rgba(217, 70, 239, 0.18);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ==========================================================================
   Contact Widgets
   ========================================================================== */
.contact-subtext {
    font-size: 0.95rem;
    color: var(--txt-sub);
    margin-bottom: 1.8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

@media (min-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-pill-box {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-hq);
}

.contact-pill-box:hover {
    border-color: rgba(0, 242, 254, 0.25);
    background: rgba(0, 242, 254, 0.02);
}

.contact-pill-box i {
    font-size: 1.6rem;
    color: var(--clr-cyan);
    margin-bottom: 0.8rem;
    transition: var(--transition-quick);
}

.icon-spin-hover:hover {
    transform: rotate(360deg);
}

.icon-bounce-hover:hover {
    transform: translateY(-4px);
}

.pill-label {
    font-size: 0.72rem;
    color: var(--txt-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.pill-text {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--txt-main);
    margin-bottom: 0.8rem;
}

.pill-copy {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-cyan);
    opacity: 0.65;
    transition: var(--transition-quick);
}

.contact-pill-box:hover .pill-copy {
    opacity: 1;
}

.contact-social-bar {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.contact-social-anchor {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--txt-sub);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.82rem;
    transition: var(--transition-quick);
}

.contact-social-anchor:hover {
    color: #fff;
    border-color: rgba(0, 242, 254, 0.25);
    background: rgba(0, 242, 254, 0.03);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.app-footer {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--txt-muted);
    font-size: 0.75rem;
}

.footer-copy {
    margin-bottom: 0.3rem;
}

/* Notification Popup Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(12, 12, 28, 0.95);
    border: 1px solid var(--clr-cyan);
    box-shadow: var(--glow-cyan);
    color: var(--txt-main);
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Adaptation
   ========================================================================== */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        gap: 3rem;
    }
    
    .sidebar-pane {
        position: relative;
        top: 0;
        height: auto;
    }
    
    .profile-card {
        height: auto;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .scene-hint {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 0;
        width: 100%;
        border-radius: 0;
        padding: 0.8rem 5%;
        border-top: none;
        border-left: none;
        border-right: none;
    }
    
    .nav-action {
        display: none; /* Hide button on mobile */
    }
    
    .menu-burger {
        display: block;
    }
    
    .nav-links-wrapper {
        position: fixed;
        top: 55px;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(8, 8, 18, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        overflow: hidden;
        transition: var(--transition-hq);
        border-bottom: 0px solid var(--border-glass);
    }
    
    .nav-links-wrapper.open {
        height: auto;
        padding: 2rem 5%;
        border-bottom-width: 1px;
    }
    
    .nav-links-wrapper ul {
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .nav-tab {
        font-size: 1.05rem;
        padding: 0.5rem 1rem;
        width: 100%;
        justify-content: flex-start;
    }
    
    .app-container {
        padding-top: 5.5rem;
    }
}

/* Height-based media query for shorter viewports to prevent layout overflow */
@media (max-height: 800px) and (min-width: 1025px) {
    .sidebar-pane {
        height: auto;
        max-height: calc(100vh - 8rem);
        overflow-y: auto;
        scrollbar-width: none;
    }
    .sidebar-pane::-webkit-scrollbar {
        display: none;
    }
    .profile-card {
        padding: 1.5rem;
    }
    .profile-header {
        margin-bottom: 0.8rem;
    }
    .avatar-glow {
        width: 60px;
        height: 60px;
        margin-bottom: 0.6rem;
    }
    .profile-name {
        font-size: 1.5rem;
    }
    .profile-details {
        gap: 0.5rem;
        margin-bottom: 0.8rem;
    }
    .detail-row {
        padding: 0.5rem 0.8rem;
    }
    .profile-socials {
        margin-bottom: 0.8rem;
    }
    .scene-hint {
        padding-top: 0.8rem;
    }
}
