:root {
    --bg-dark: #111113; /* Deep charcoal black */
    --bg-dark-gradient: linear-gradient(180deg, #111113 0%, #18181b 100%);
    --accent-pink: #d4d4d8; /* Silver / Light gray */
    --accent-purple: #71717a; /* Sleek medium gray */
    --accent-cyan: #a1a1aa; /* Silver gray */
    --teal-glow: #e4e4e7; /* Bright silver */
    --text-primary: #ffffff; /* White */
    --text-secondary: #a1a1aa; /* Cool gray */
    --glass-bg: rgba(24, 24, 27, 0.50); /* 50% translucent glass */
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(255, 255, 255, 0.20);
    --glass-blur: blur(25px);
    --sidebar-width: 76px;
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    cursor: none !important;
}

body {
    background-color: #0a0a0a;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('../bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}


/* Background Grid Overlay */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Floating Glow Spots */
.bg-glow-spot {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.10; /* Subtle over image background */
}
.glow-pink {
    width: 400px;
    height: 400px;
    background: var(--accent-pink); /* Mint green glow */
    top: 15%;
    right: 10%;
}
.glow-blue {
    width: 500px;
    height: 500px;
    background: var(--accent-purple); /* Yellow/gold glow */
    bottom: 10%;
    left: 5%;
}
.glow-purple {
    width: 350px;
    height: 350px;
    background: var(--accent-pink);
    top: 40%;
    left: 30%;
}

/* Floating Glass Spheres */
.glass-sphere {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.sphere-1 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.02) 30%, rgba(16,185,129,0.1) 70%, rgba(245,158,11,0.15) 100%);
    box-shadow: inset -5px -5px 15px rgba(245,158,11,0.1),
                inset 8px 8px 15px rgba(255,255,255,0.1),
                0 15px 35px rgba(0,0,0,0.3);
    top: 80px;
    left: 12%;
    animation: float-slow 10s ease-in-out infinite alternate;
}
.sphere-2 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.02) 30%, rgba(16,185,129,0.1) 70%, rgba(245,158,11,0.15) 100%);
    box-shadow: inset -3px -3px 10px rgba(245,158,11,0.1),
                inset 5px 5px 10px rgba(255,255,255,0.1),
                0 10px 25px rgba(0,0,0,0.2);
    top: 250px;
    left: 17%;
    animation: float-slow 14s ease-in-out infinite alternate-reverse;
}
.sphere-3 {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.02) 30%, rgba(16,185,129,0.15) 70%, rgba(245,158,11,0.1) 100%);
    box-shadow: inset -4px -4px 12px rgba(245,158,11,0.1),
                inset 6px 6px 12px rgba(255,255,255,0.1),
                0 12px 30px rgba(0,0,0,0.25);
    bottom: 12%;
    right: 8%;
    animation: float-slow 12s ease-in-out infinite alternate;
}

/* Faceted Background Crystals */
.bg-crystal {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 15px 30px rgba(6, 182, 212, 0.2));
}
.crystal-left {
    bottom: 50px;
    left: 4%;
    animation: float-slow 8s ease-in-out infinite alternate;
}
.crystal-right {
    bottom: 150px;
    right: 5%;
    animation: float-slow 9s ease-in-out infinite alternate-reverse;
}

/* Animations */
@keyframes float-slow {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(15deg); }
}
@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Layout Container */
.app-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* Sidebar Floating Capsule */
.sidebar {
    width: var(--sidebar-width);
    height: auto;
    max-height: 75vh;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.8rem 0.5rem;
    z-index: 1000;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.sidebar-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(236,72,153,0.4);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.sidebar-logo i {
    font-size: 1.1rem;
}

.sidebar-logo span {
    display: none;
}

.sidebar-nav {
    flex: 1;
    width: 100%;
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    align-items: center;
    width: 100%;
}

.sidebar-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}

/* Hide label text in floating bar */
.sidebar-nav a span, .sidebar-nav a i + span {
    display: none;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 18px rgba(255,255,255,0.12), inset 0 0 12px rgba(255,255,255,0.06);
    transform: scale(1.12);
}

/* Custom Tooltip Styling on Hover */
.sidebar-nav a::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(18, 18, 20, 0.95);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: var(--glass-blur);
    letter-spacing: 1px;
    z-index: 1001;
}

.sidebar-nav a:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.sidebar-nav a.active::after {
    content: '';
    position: absolute;
    right: -4px;
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: var(--accent-pink);
    box-shadow: 0 0 10px var(--accent-pink);
}

.sidebar-footer {
    display: none; /* Removed sidebar footer to look like reference photo */
}


/* Main Content Layout */
.main-content {
    margin-left: calc(var(--sidebar-width) + 3rem);
    margin-right: 3rem;
    flex: 1;
    padding: 2rem 1rem;
    max-width: 1300px;
    position: relative;
    z-index: 5;
}

/* Header / Status Bar */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    background: var(--glass-bg);
    padding: 0.8rem 1.8rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.system-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse 2s infinite;
}

/* Premium Glass Cards */
.glass-card-premium {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
}

.glass-card-premium:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255,255,255,0.07);
    background: rgba(255, 255, 255, 0.08);
}

/* Section Common Styling */
section {
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title h2::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--glass-border), transparent);
}

/* Home / Hero Area */
#home {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.hero-text h1 span.accent-text {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2.8rem;
}

/* Modern Photo Frame */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-backdrop-circle {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(161, 161, 170, 0.2) 0%, rgba(161, 161, 170, 0.03) 70%, transparent 100%);
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(20px);
}

.profile-orbit-1 {
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    transform: rotateX(65deg) rotateY(15deg);
    animation: spin-slow 25s linear infinite;
}
.profile-orbit-1::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    width: 8px;
    height: 8px;
    background: var(--accent-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-pink);
}

.profile-orbit-2 {
    width: 480px;
    height: 480px;
    border: 1px dashed rgba(255, 255, 255, 0.03);
    position: absolute;
    border-radius: 50%;
    z-index: -2;
    transform: rotateX(-55deg) rotateY(35deg);
    animation: spin-slow 40s linear infinite reverse;
}

.profile-frame-premium {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 5px solid rgba(161, 161, 170, 0.4); /* Subtle silver ring */
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.5), 0 0 30px rgba(161, 161, 170, 0.1);
    background: var(--glass-bg);
}

.profile-frame-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-frame-premium:hover img {
    transform: scale(1.05);
}

.profile-id-badge {
    position: absolute;
    bottom: -15px;
    background: rgba(18, 18, 20, 0.9);
    backdrop-filter: blur(15px);
    padding: 0.8rem 1.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    text-align: center;
}

/* Custom Buttons matching reference image */
.btn-glass-primary {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 2.2rem;
    background: rgba(255, 255, 255, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.btn-glass-primary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.12), 0 0 20px rgba(255,255,255,0.08);
    color: #fff;
}

.btn-neon-gradient {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 2.2rem;
    background: rgba(161, 161, 170, 0.50);
    border: none;
    border-radius: 30px;
    color: #121214; /* Dark text for contrast on silver background */
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
}

.btn-neon-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 212, 216, 0.3), 0 0 20px rgba(255,255,255,0.1);
    filter: brightness(1.15);
}

/* Metrics Dashboard */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 8rem;
}

.metric-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.8rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.15);
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: rgba(6, 182, 212, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.metric-info h4 {
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.metric-info span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

/* Skill Tags */
.skill-tag {
    background: rgba(255, 255, 255, 0.50);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

.skill-tag:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.10), 0 0 8px rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

/* Horizontal Premium Project showcase - inspired by the photo's 'My Recent Work' */
.projects-showcase-container {
    margin-top: 2rem;
}

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

.project-card-premium {
    perspective: 1200px;
    min-height: 280px;
    position: relative;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card-premium:hover {
    transform: translateY(-6px);
}

.flip-inner {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-inner.flipped {
    transform: rotateY(180deg) scale(0.95);
}

.project-card-face {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: rgba(26, 26, 30, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    backdrop-filter: var(--glass-blur);
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.project-card-premium:hover .project-card-face {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255,255,255,0.07);
    background: rgba(40, 40, 48, 0.60);
}

.flip-back {
    transform: rotateY(180deg);
}

.back-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.back-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.back-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

/* Coming Soon / Under Development card */
.project-card-disabled {
    cursor: not-allowed;
    opacity: 0.78;
}

.project-card-disabled:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: rgba(30, 30, 36, 0.55);
}

.coming-soon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    flex: 1;
}

.coming-soon-wrapper h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.2;
}

.coming-soon-text {
    background: rgba(255, 165, 0, 0.12);
    border: 1px solid rgba(255, 165, 0, 0.30);
    color: #fbbf24;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    text-transform: uppercase;
}

.project-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
    line-height: 1.2;
}

.project-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.6;
    flex: 1;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.project-tech-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(161, 161, 170, 0.08);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    border: 1px solid rgba(161, 161, 170, 0.18);
    letter-spacing: 0.5px;
}

/* External Link Button */
.project-external-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: none; /* Inherits the custom dot cursor, but pointer events will work */
}

.project-external-btn:hover {
    background: #fff !important;
    color: #111113 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3) !important;
}

/* Service timeline grid */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.timeline-header {
    font-family: 'Outfit', sans-serif;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Contact layout matching bottom-right of reference image */
.contact-dashboard {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.contact-form-card label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    letter-spacing: 1.5px;
}

.contact-form-card input, .contact-form-card textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.1rem;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form-card input:focus, .contact-form-card textarea:focus {
    outline: none;
    border-color: rgba(212, 212, 216, 0.5);
    box-shadow: 0 0 20px rgba(212, 212, 216, 0.06);
    background: rgba(0, 0, 0, 0.35);
}

.contact-form-card textarea {
    resize: vertical;
}

/* Comm Channels and Info Cards */
.comm-channels-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comm-link-row {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition);
}

.comm-link-row:hover {
    transform: translateX(4px);
}

.comm-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}
.comm-link-row:hover .comm-icon-box {
    transform: scale(1.05);
}

.comm-icon-envelope {
    background: rgba(161, 161, 170, 0.08);
    color: var(--accent-pink);
    border: 1px solid rgba(161, 161, 170, 0.15);
}
.comm-icon-phone {
    background: rgba(161, 161, 170, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(161, 161, 170, 0.15);
}

/* Floating social networks list (matches bottom icons in photo) */
.footer-social-float {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.social-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-circle-btn:hover {
    color: #fff;
    background: var(--glass-border-hover);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Custom Minimal Cursor — Dot + Circle Only */
.cursor-outer {
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.2s ease-out, border-color 0.2s ease-out, background 0.2s ease-out;
    transform: translate(-50%, -50%);
    background: transparent;
}

.cursor-inner {
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10002;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* AI Chat Uplink Overhaul to match theme */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: var(--glass-blur);
}

.chat-button:hover {
    border-color: rgba(212, 212, 216, 0.4);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.06);
    transform: scale(1.05);
}

.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    height: 500px;
    background: rgba(18, 18, 20, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    backdrop-filter: blur(30px);
}

.chat-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.chat-messages {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: var(--text-primary);
}

.message.bot {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.1rem;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.85rem;
    max-width: 85%;
    align-self: flex-start;
    line-height: 1.4;
    color: var(--text-primary);
}

.message.user {
    background: linear-gradient(135deg, #3f3f46 0%, #52525b 100%);
    padding: 0.8rem 1.1rem;
    border-radius: 16px 16px 4px 16px;
    font-size: 0.85rem;
    max-width: 85%;
    align-self: flex-end;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.chat-input-area {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 0.6rem;
}

.chat-input-area input {
    flex: 1;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.chat-input-area input::placeholder {
    color: var(--text-secondary);
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--accent-pink);
}

.chat-input-area button {
    background: linear-gradient(135deg, #3f3f46 0%, #71717a 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input-area button:hover {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.08);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .sidebar {
        width: 100%;
        height: 60px;
        max-height: 60px;
        border-radius: 0;
        position: fixed;
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: space-around;
        padding: 0;
        border-right: none;
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    }
    .sidebar-logo {
        display: none;
    }
    .sidebar-nav ul {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        gap: 0;
    }
    .sidebar-nav a.active::after {
        right: auto;
        bottom: -4px;
        width: 14px;
        height: 4px;
    }
    .main-content {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        padding-bottom: 80px; /* Safe padding for bottom navbar */
    }
    .top-bar-branding {
        left: 1.5rem;
    }
    .hero-grid, .about-grid, .timeline-grid, .contact-dashboard {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-image-container {
        order: -1;
    }
    .profile-orbit-1, .profile-orbit-2 {
        display: none;
    }
}

/* Falling Bubbles */
.falling-bubble {
    position: fixed;
    top: -20px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    box-shadow: inset -1px -1px 3px rgba(255,255,255,0.1), 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes fall {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(50vh) translateX(25px);
    }
    100% {
        transform: translateY(105vh) translateX(-15px);
}

/* Hover effects for tabs, buttons, sections */
.sidebar-nav a:hover,
.btn-glass-primary:hover,
.btn-neon-gradient:hover,
.skill-tag:hover,
.project-card-premium:hover,
.metric-card:hover,
.glass-card-premium:hover,
section:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #000 !important;
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 15px rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover i,
.project-card-premium:hover h3,
.project-card-premium:hover p,
.glass-card-premium:hover h3,
.glass-card-premium:hover p,
.metric-card:hover h4,
.metric-card:hover span {
    color: #000 !important;
}

/* Fix text hover inversion for project cards to apply to the face elements */
.project-card-premium:hover .project-card-face h3,
.project-card-premium:hover .project-card-face p,
.project-card-premium:hover .project-card-face .back-title {
    color: #000 !important;
}