/* 
   ROHIT KUMAR | OPERATIONAL INTELLIGENCE PORTFOLIO
   STYLE ARCHITECTURE - PREMIUM TECH-STARTUP STYLE
*/

/* 1. INITIAL SETUP & DESIGN VARIABLES */
:root {
    /* Color Palette */
    --black-primary: #020205;
    --black-secondary: #06080f;
    --black-tertiary: #0c101c;
    
    --deep-navy: #0d1222;
    --deep-navy-glow: rgba(13, 18, 34, 0.6);
    
    --electric-blue: #0055ff;
    --electric-blue-glow: rgba(0, 85, 255, 0.4);
    --electric-blue-light: #448cff;
    
    --soft-purple: #8a2be2;
    --soft-purple-glow: rgba(138, 43, 226, 0.4);
    --soft-purple-light: #be82ff;
    
    --border-glow: rgba(255, 255, 255, 0.08);
    --border-active: rgba(0, 85, 255, 0.3);
    
    --white: #ffffff;
    --gray-primary: #a0aec0;
    --gray-secondary: #718096;
    --gray-dark: #2d3748;

    /* Typographies */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE RESET & SCROLLBARS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--black-primary);
    color: var(--white);
    font-family: var(--font-primary);
    overflow-x: hidden;
}

body {
    background-color: var(--black-primary);
    color: var(--white);
    font-family: var(--font-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

body.drawer-active {
    overflow: hidden !important;
}

/* Customized Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--black-tertiary);
    border: 1px solid var(--border-glow);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--electric-blue);
    box-shadow: 0 0 10px var(--electric-blue-glow);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
}

p {
    color: var(--gray-primary);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* 3. PREMIUM PRELOADER */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black-primary);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    max-width: 500px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.preloader-logo {
    margin-bottom: 25px;
}

.outer-ring {
    transform-origin: center;
    animation: rotateRing 8s linear infinite;
}

.inner-triangle {
    transform-origin: center;
    animation: pulseTriangle 2s ease-in-out infinite;
}

.preloader-title {
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.preloader-title .accent {
    color: var(--electric-blue);
    animation: blinkCursor 0.8s infinite;
}

.preloader-terminal {
    width: 100%;
    height: 130px;
    background-color: rgba(6, 8, 15, 0.7);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: left;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gray-primary);
}

.terminal-line {
    opacity: 0;
    margin-bottom: 5px;
    color: var(--electric-blue-light);
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid transparent;
}

.terminal-line.active {
    opacity: 1;
    animation: typeLine 0.5s steps(40, end) forwards;
}

.progress-bar-container {
    width: 100%;
    height: 3px;
    background-color: var(--gray-dark);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--electric-blue), var(--soft-purple));
    box-shadow: 0 0 10px var(--electric-blue-glow);
    transition: width 2.5s cubic-bezier(0.1, 0.8, 0.1, 1);
}

/* Animations for Preloader */
@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseTriangle {
    0%, 100% { transform: scale(1); stroke-width: 2; opacity: 0.8; }
    50% { transform: scale(1.05); stroke-width: 3; opacity: 1; stroke: var(--soft-purple); }
}

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

@keyframes typeLine {
    from { width: 0; }
    to { width: 100%; }
}

/* 4. DYNAMIC DECORATIVE BACKGROUNDS */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(var(--border-glow) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

.orb-1 {
    top: -10%;
    right: 10%;
    width: 450px;
    height: 450px;
    background-color: var(--soft-purple-glow);
    animation: driftOrb 20s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: 10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background-color: var(--electric-blue-glow);
    animation: driftOrb 25s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    top: 40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background-color: rgba(138, 43, 226, 0.15);
    animation: driftOrb 18s ease-in-out infinite alternate;
}

@keyframes driftOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.15); }
}

/* 5. STICKY GLASSMORPHIC NAVIGATION BAR */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-glow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(2, 2, 5, 0.75);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, var(--electric-blue), var(--soft-purple));
    border-radius: 3px;
    transform: rotate(45deg);
    position: relative;
    box-shadow: 0 0 10px var(--electric-blue-glow);
}

.logo-text {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--white);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.4em;
    color: var(--electric-blue-light);
    margin-top: 2px;
}

/* Nav Menu Links */
.nav {
    position: relative;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-primary);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

/* Animated active background pill */
.nav-active-pill {
    position: absolute;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glow);
    border-radius: 17px;
    pointer-events: none;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
}

/* Call to Actions / Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 15px var(--electric-blue-glow);
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-glow:hover::after {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--electric-blue), var(--electric-blue-light));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--electric-blue-glow);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glow);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--electric-blue-light);
    transform: translateY(-2px);
}

.btn-nav {
    padding: 8px 18px;
    font-size: 0.85rem;
    border: 1px solid var(--border-glow);
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--white);
}

.btn-nav:hover {
    border-color: var(--electric-blue);
    background-color: rgba(0, 85, 255, 0.05);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 6px;
}

.w-100 {
    width: 100%;
}

/* Mobile Nav Styles */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001; /* Ensure toggle stays on very top */
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-fast);
}

/* Hamburger active transformation to 'X' */
.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--black-primary);
    border-bottom: 1px solid var(--border-glow);
    z-index: 998; /* Placed under header (1000) for seamless glass overlay */
    padding: 100px 40px 40px 40px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-drawer.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-primary);
}

.mobile-link:hover {
    color: var(--white);
}

.drawer-cta {
    background: linear-gradient(90deg, var(--electric-blue), var(--soft-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 6. STRUCTURAL WRAPPERS */
.content-wrapper {
    position: relative;
    z-index: 2;
}

.section {
    padding: 100px 24px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.container {
    width: 100%;
}

.glass-card {
    background: rgba(13, 18, 34, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.header-number {
    font-family: var(--font-mono);
    color: var(--electric-blue-light);
    font-size: 1.1rem;
    font-weight: 500;
    margin-right: 8px;
    vertical-align: middle;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-primary);
    max-width: 600px;
    margin: 0 auto;
}

/* 7. HERO SECTION Layout & Animations */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 85, 255, 0.08);
    border: 1px solid var(--border-active);
    padding: 6px 14px;
    border-radius: 20px;
    width: fit-content;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #00e575;
    border-radius: 50%;
    box-shadow: 0 0 8px #00e575;
    animation: dotPulse 1.5s infinite alternate;
}

@keyframes dotPulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}

.status-text {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

/* Gradient effects on hero title keywords */
.gradient-text {
    background: linear-gradient(135deg, var(--white), var(--electric-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
    background: linear-gradient(135deg, var(--white), var(--soft-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
    background: linear-gradient(135deg, var(--electric-blue-light), var(--soft-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.1rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

/* Floating Elements in Hero-Right */
.hero-right {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.interactive-hero-vis {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vis-bg-circle {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,85,255,0.06) 0%, rgba(138,43,226,0.02) 70%, transparent 100%);
    filter: blur(20px);
}

.floating-card {
    position: absolute;
    padding: 16px;
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 40px;
    left: 20px;
    width: 200px;
}

.card-metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--gray-primary);
    font-weight: 500;
}

.metric-percentage {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 700;
}

.metric-mini-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-bottom: 12px;
    overflow: hidden;
}

.mini-bar-fill {
    height: 100%;
    background-color: var(--electric-blue-light);
    border-radius: 2px;
}

.metric-footer {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-dot-green {
    width: 5px;
    height: 5px;
    background-color: #00e575;
    border-radius: 50%;
}

.footer-desc {
    font-size: 0.65rem;
    color: var(--gray-secondary);
}

/* Card 2: Circle speedup */
.card-2 {
    bottom: 50px;
    right: 20px;
    width: 180px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.circle-chart-container {
    position: relative;
    width: 44px;
    height: 44px;
}

.circle-svg {
    transform: rotate(-90deg);
}

.circle-bg {
    stroke: rgba(255,255,255,0.08);
    stroke-width: 3.5;
}

.circle-fill {
    stroke: var(--soft-purple-light);
    stroke-width: 3.5;
    stroke-linecap: round;
}

.circle-chart-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
}

.card-metric-info {
    display: flex;
    flex-direction: column;
}

.info-title {
    font-size: 0.8rem;
    font-weight: 600;
}

.info-desc {
    font-size: 0.65rem;
    color: var(--gray-secondary);
}

/* Card 3: SQL Real-time telemetry */
.card-3 {
    bottom: 120px;
    left: -10px;
    width: 230px;
}

.sql-telemetry {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.telemetry-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: var(--electric-blue-light);
}

.pulse-dot-blue {
    width: 5px;
    height: 5px;
    background-color: var(--electric-blue);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--electric-blue);
    animation: dotPulse 1s infinite alternate;
}

.telemetry-code {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    background-color: rgba(0, 0, 0, 0.2);
    padding: 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.telemetry-result {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    margin-top: 2px;
}

.res-num {
    color: #00e575;
    font-weight: 700;
}

.res-unit {
    color: var(--gray-secondary);
}

/* SVG hub wireframe in background of right */
.analytics-hub-wireframe {
    position: absolute;
    width: 320px;
    height: 320px;
    z-index: 1;
    pointer-events: none;
}

.core-glow-pulse {
    animation: pulseCore 3s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes pulseCore {
    0% { r: 6px; opacity: 0.5; }
    100% { r: 14px; opacity: 1; }
}

/* Drift animations for cards */
.floating-anim {
    animation: float1 6s ease-in-out infinite alternate;
}

.floating-anim-delayed {
    animation: float2 7s ease-in-out infinite alternate;
}

.floating-anim-alternate {
    animation: float3 8s ease-in-out infinite alternate;
}

@keyframes float1 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float2 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(14px) rotate(-1deg); }
}

@keyframes float3 {
    0% { transform: translate(0px, 0px); }
    100% { transform: translate(6px, -10px); }
}

/* Scroll indicator arrow */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--border-glow);
    background-color: rgba(255,255,255,0.02);
}

.scroll-arrow:hover {
    border-color: var(--electric-blue);
    background-color: rgba(0, 85, 255, 0.05);
}

.arrow-down {
    display: block;
    width: 7px;
    height: 7px;
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    transform: rotate(45deg) translate(-1px, -1px);
    animation: bounceArrow 1.5s infinite alternate;
}

@keyframes bounceArrow {
    0% { transform: rotate(45deg) translate(-2px, -2px); }
    100% { transform: rotate(45deg) translate(2px, 2px); }
}

/* 8. ABOUT ME SECTION Layout & Counters */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.about-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-accent-bar {
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--electric-blue), var(--soft-purple));
    border-radius: 2px;
}

.about-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, var(--electric-blue-light), var(--soft-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-primary);
}

.about-bio strong {
    color: var(--white);
    font-weight: 500;
}

/* Stats Counter Grid */
.stats-counter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border-color: rgba(255, 255, 255, 0.03);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glow);
    color: var(--white);
    transition: var(--transition-smooth);
}

.blue-glow { border-color: rgba(0, 85, 255, 0.15); color: var(--electric-blue-light); }
.purple-glow { border-color: rgba(138, 43, 226, 0.15); color: var(--soft-purple-light); }
.electric-glow { border-color: rgba(68, 140, 255, 0.15); color: var(--electric-blue-light); }
.navy-glow { border-color: rgba(13, 18, 34, 0.3); color: var(--gray-primary); }

.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.1);
    background-color: rgba(255,255,255,0.05);
}

.stat-card:hover .blue-glow { box-shadow: 0 0 15px rgba(0, 85, 255, 0.3); border-color: var(--electric-blue); }
.stat-card:hover .purple-glow { box-shadow: 0 0 15px rgba(138, 43, 226, 0.3); border-color: var(--soft-purple); }
.stat-card:hover .electric-glow { box-shadow: 0 0 15px rgba(68, 140, 255, 0.3); border-color: var(--electric-blue-light); }

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 9. INTERACTIVE ANALYTICS DASHBOARD */
.dashboard-shell {
    display: flex;
    flex-direction: column;
    height: 520px;
    border-color: var(--border-active);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.dash-telemetry-header {
    height: 40px;
    background-color: var(--black-secondary);
    border-bottom: 1px solid var(--border-glow);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.telemetry-controls {
    display: flex;
    gap: 6px;
}

.telemetry-controls .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.telemetry-controls .red { background-color: #ff5f56; }
.telemetry-controls .yellow { background-color: #ffbd2e; }
.telemetry-controls .green { background-color: #27c93f; }

.telemetry-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-secondary);
}

.telemetry-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-pulse-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--white);
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Dashboard Inner Layout */
.dashboard-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.dashboard-sidebar {
    width: 250px;
    background-color: rgba(6, 8, 15, 0.4);
    border-right: 1px solid var(--border-glow);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: 1px solid transparent;
    padding: 14px 16px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-primary);
    color: var(--gray-primary);
    transition: var(--transition-fast);
}

.dash-tab:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--white);
}

.dash-tab.active {
    background-color: rgba(0, 85, 255, 0.08);
    border-color: var(--border-active);
    color: var(--white);
}

.tab-icon {
    font-size: 1.1rem;
}

.tab-label {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Dashboard Output Screens */
.dashboard-screen {
    flex: 1;
    padding: 30px;
    background-color: rgba(2, 2, 5, 0.3);
    position: relative;
    overflow-y: auto;
}

.dash-screen-content {
    display: none;
    height: 100%;
}

.dash-screen-content.active {
    display: block;
    animation: fadeInTab 0.4s ease forwards;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    height: 100%;
    align-items: center;
}

.screen-inner-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.screen-desc {
    font-size: 0.9rem;
    color: var(--gray-primary);
    margin-bottom: 24px;
}

.dashboard-interactive-action {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

/* Gauge progress */
.pipeline-progress-gauge {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gauge-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--gray-primary);
}

.gauge-bar-track {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.gauge-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--electric-blue), #00e575);
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.1, 0.8, 0.1, 1);
}

/* Dataset comparisons */
.dataset-comparison-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    justify-content: center;
}

.data-compare-panel {
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    background-color: rgba(6, 8, 15, 0.5);
    padding: 12px;
    height: 175px;
    display: flex;
    flex-direction: column;
}

.panel-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--gray-secondary);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.panel-table-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-align: left;
}

.dashboard-table th {
    color: var(--gray-primary);
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-weight: 600;
}

.dashboard-table td {
    padding: 6px 8px;
    color: rgba(255, 255, 255, 0.8);
}

.error-row td {
    color: #ff5f56;
    background-color: rgba(255, 95, 86, 0.03);
}

.cleaned-panel {
    border-color: rgba(0, 229, 117, 0.2);
}

.table-overlay-msg {
    text-align: center;
    vertical-align: middle;
    padding: 30px 0 !important;
    color: var(--gray-secondary) !important;
    font-size: 0.75rem;
}

.lock-icon {
    font-size: 0.9rem;
    margin-right: 4px;
}

/* Tab 2: Operational Flow telemetries */
.telemetry-indicators {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.telemetry-ind-item {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glow);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.telemetry-value {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
}

.text-gradient-blue {
    background: linear-gradient(90deg, var(--electric-blue-light), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(90deg, var(--soft-purple-light), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.telemetry-label {
    font-size: 0.7rem;
    color: var(--gray-secondary);
    text-transform: uppercase;
}

.svg-chart-container {
    width: 100%;
    height: 220px;
    background-color: rgba(6, 8, 15, 0.4);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    padding: 10px;
}

/* Custom Chart Line animation */
.anim-chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 4s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

/* Tab 3: SQL Benchmark components */
.sql-code-block {
    background-color: var(--black-secondary);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    overflow-x: auto;
}

.sql-code-header {
    display: flex;
    justify-content: space-between;
    color: var(--gray-secondary);
    font-size: 0.65rem;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 6px;
}

.sql-kw { color: #ff5f56; font-weight: 600; }
.sql-str { color: #00e575; }

.sql-telemetry-result-box {
    background-color: rgba(6, 8, 15, 0.5);
    border: 1px solid var(--border-glow);
    padding: 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.box-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--electric-blue-light);
    font-weight: 700;
}

.benchmark-bar-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bench-label {
    font-size: 0.75rem;
    color: var(--white);
}

.bench-val {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
}

.text-red { color: #ff5f56; }
.text-green { color: #00e575; }

.bench-bar-track {
    width: 100%;
    height: 4px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
}

.bench-bar-fill {
    height: 100%;
    border-radius: 2px;
}

.fill-red { background-color: #ff5f56; }
.fill-green { background-color: #00e575; }

.benchmark-summary {
    font-size: 0.8rem;
    color: var(--gray-primary);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 12px;
}

.metric-highlight {
    color: #00e575;
    font-weight: 700;
}

/* 10. SKILLS GRID SECTION */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.skills-category-card {
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.border-blue { background: linear-gradient(90deg, var(--electric-blue), var(--electric-blue-light)); }
.border-purple { background: linear-gradient(90deg, var(--soft-purple), var(--soft-purple-light)); }
.border-navy { background: linear-gradient(90deg, var(--deep-navy), var(--electric-blue)); }

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.skill-name {
    color: var(--white);
    font-weight: 400;
}

.skill-percentage {
    font-family: var(--font-mono);
    color: var(--gray-primary);
}

.skill-progress-track {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    border-radius: 2px;
}

.bg-blue { background-color: var(--electric-blue-light); }
.bg-purple { background-color: var(--soft-purple-light); }
.bg-navy { background-color: var(--gray-primary); }

/* 11. INTERACTIVE TERMINAL SECTION */
.terminal-shell {
    display: flex;
    flex-direction: column;
    height: 420px;
    border-color: var(--border-glow);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.terminal-ribbon {
    height: 36px;
    background-color: var(--black-secondary);
    border-bottom: 1px solid var(--border-glow);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ribbon-dots {
    display: flex;
    gap: 6px;
}

.ribbon-dots .dot-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ribbon-dots .red { background-color: #ff5f56; }
.ribbon-dots .yellow { background-color: #ffbd2e; }
.ribbon-dots .green { background-color: #27c93f; }

.ribbon-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--gray-secondary);
}

.ribbon-action-badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    background-color: rgba(0, 85, 255, 0.1);
    color: var(--electric-blue-light);
    border: 1px solid rgba(0, 85, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

.terminal-screen {
    flex: 1;
    background-color: rgba(2, 2, 5, 0.7);
    padding: 24px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.output-intro {
    color: var(--gray-secondary);
}

.output-hint {
    color: var(--gray-primary);
}

.cmd-highlight {
    color: var(--electric-blue-light);
    font-weight: 700;
}

.terminal-quick-triggers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.btn-terminal-trigger {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glow);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-terminal-trigger:hover {
    background-color: rgba(0, 85, 255, 0.1);
    border-color: var(--electric-blue);
    color: var(--electric-blue-light);
}

/* User Input line */
.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-prompt {
    color: #00e575;
    font-weight: 700;
}

.terminal-input {
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    flex: 1;
}

/* Output styling elements */
.terminal-block-output {
    margin-bottom: 12px;
    animation: typeLine 0.2s ease forwards;
}

.terminal-cmd-echo {
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 700;
}

.terminal-text-block {
    color: var(--gray-primary);
    line-height: 1.5;
}

/* 12. EXPERIENCE TIMELINE */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line-connector {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--electric-blue) 0%, var(--soft-purple) 50%, var(--black-tertiary) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    position: relative;
    padding: 0 40px;
    margin-bottom: 50px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

/* Connectors dots */
.timeline-dot-connector {
    position: absolute;
    top: 25px;
    width: 20px;
    height: 20px;
    z-index: 10;
}

.timeline-item.left .timeline-dot-connector {
    right: -10px;
}

.timeline-item.right .timeline-dot-connector {
    left: -10px;
}

.timeline-pulse-dot {
    width: 12px;
    height: 12px;
    background-color: var(--black-primary);
    border: 2px solid var(--electric-blue-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--electric-blue-glow);
    position: absolute;
    top: 4px;
    left: 4px;
}

.timeline-item:nth-child(even) .timeline-pulse-dot {
    border-color: var(--soft-purple-light);
    box-shadow: 0 0 10px var(--soft-purple-glow);
}

/* Cards within Timeline */
.timeline-content-card {
    padding: 30px;
}

.card-timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--electric-blue-light);
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-item:nth-child(even) .card-timeline-date {
    color: var(--soft-purple-light);
}

.role-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.company-sub {
    font-size: 0.9rem;
    color: var(--gray-primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.timeline-text {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.timeline-achievements {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-achievements li {
    font-size: 0.85rem;
    color: var(--gray-primary);
    position: relative;
    padding-left: 15px;
}

.timeline-achievements li::before {
    content: '◇';
    position: absolute;
    left: 0;
    color: var(--electric-blue-light);
    font-size: 0.75rem;
}

.timeline-item:nth-child(even) .timeline-achievements li::before {
    color: var(--soft-purple-light);
}

.timeline-achievements li strong {
    color: var(--white);
    font-weight: 500;
}

/* 13. PROJECTS GRID Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-img-placeholder {
    height: 180px;
    background-color: rgba(6, 8, 15, 0.6);
    border-bottom: 1px solid var(--border-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.blue-tint { background: radial-gradient(circle, rgba(0,85,255,0.1) 0%, transparent 80%); }
.purple-tint { background: radial-gradient(circle, rgba(138,43,226,0.1) 0%, transparent 80%); }
.navy-tint { background: radial-gradient(circle, rgba(13,18,34,0.4) 0%, transparent 80%); }

.project-img-inner {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-svg-anim {
    transition: var(--transition-smooth);
}

.project-card:hover .project-svg-anim {
    transform: scale(1.1) rotate(2deg);
}

.project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

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

.project-tech-tags span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glow);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--gray-primary);
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.project-card-desc {
    font-size: 0.85rem;
    color: var(--gray-primary);
    flex: 1;
}

.btn-project-findings {
    margin-top: 10px;
    width: fit-content;
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* 14. DYNAMIC FINDINGS MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 2, 5, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.modal-content {
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-color: var(--border-active);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--gray-primary);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--white);
}

/* Detailed styling for dynamic modal elements */
.modal-header-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--electric-blue-light);
    margin-bottom: 8px;
    display: block;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 6px;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--gray-primary);
    margin-bottom: 12px;
}

.modal-stats-list {
    margin: 15px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-stat-box {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glow);
    padding: 12px;
    border-radius: 6px;
}

.modal-stat-num {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.modal-stat-label {
    font-size: 0.7rem;
    color: var(--gray-secondary);
}

/* 15. CERTIFICATIONS SECTION */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cert-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.cert-badge {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(0, 85, 255, 0.05);
    border: 1px solid rgba(0, 85, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-blue-light);
    transition: var(--transition-smooth);
}

.cert-card:nth-child(even) .cert-badge {
    background-color: rgba(138, 43, 226, 0.05);
    border-color: rgba(138, 43, 226, 0.15);
    color: var(--soft-purple-light);
}

.cert-card:hover .cert-badge {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px var(--electric-blue-glow);
}

.cert-card:nth-child(even):hover .cert-badge {
    box-shadow: 0 0 15px var(--soft-purple-glow);
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cert-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.cert-issuer {
    font-size: 0.75rem;
    color: var(--gray-primary);
}

.cert-date {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--gray-secondary);
}

/* 16. CONTACT & RESUME INTERACTIONS */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.info-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.panel-inner-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.panel-desc {
    font-size: 0.95rem;
    color: var(--gray-primary);
}

.info-contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-link-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

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

.link-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--gray-secondary);
    letter-spacing: 0.05em;
}

.link-val {
    font-size: 0.95rem;
    font-weight: 500;
}

.link-val:hover {
    color: var(--electric-blue-light);
}

/* CV Interactive box */
.resume-download-box {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resume-box-header {
    display: flex;
}

.ops-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glow);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--white);
}

.resume-desc {
    font-size: 0.85rem;
    color: var(--gray-secondary);
}

/* Contact Form Details */
.form-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.input-group label {
    font-size: 0.8rem;
    color: var(--gray-primary);
    font-weight: 500;
}

.input-group input, .input-group textarea {
    background-color: rgba(6, 8, 15, 0.5);
    border: 1px solid var(--border-glow);
    padding: 12px 16px;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--white);
    outline: none;
    transition: var(--transition-fast);
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--electric-blue-light);
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.1);
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--electric-blue), var(--soft-purple));
    transition: var(--transition-smooth);
}

.input-group input:focus ~ .input-focus-line, 
.input-group textarea:focus ~ .input-focus-line {
    width: 100%;
    left: 0;
}

/* Form submission feedback */
.form-feedback {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    text-align: center;
    margin-top: 10px;
    display: none;
}

.form-feedback.success {
    color: #00e575;
    display: block;
}

.form-feedback.error {
    color: #ff5f56;
    display: block;
}

.submit-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 17. FOOTER STYLING */
.footer {
    border-top: 1px solid var(--border-glow);
    background-color: var(--black-secondary);
    padding: 40px 24px;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--gray-secondary);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray-secondary);
}

.footer-links a:hover {
    color: var(--electric-blue-light);
}

/* 18. PRINT STYLING & DOCK MECHANISMS */
.print-resume-layout {
    display: none;
}

@media print {
    body * {
        visibility: hidden;
    }
    
    .print-resume-layout, .print-resume-layout * {
        visibility: visible;
    }
    
    .print-resume-layout {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        color: #000;
        background-color: #fff;
        padding: 30px;
        font-family: Arial, sans-serif;
    }
    
    .print-resume-header {
        display: flex;
        justify-content: space-between;
        border-bottom: 2px solid #333;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    
    .print-name {
        font-size: 24px;
        font-weight: bold;
        color: #111;
        letter-spacing: 0px;
    }
    
    .print-title {
        font-size: 14px;
        color: #555;
        font-weight: bold;
    }
    
    .print-meta-right {
        text-align: right;
        font-size: 12px;
        color: #333;
    }
    
    .print-section {
        margin-bottom: 20px;
    }
    
    .print-section-title {
        font-size: 14px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 4px;
        margin-bottom: 10px;
        font-weight: bold;
        color: #222;
        letter-spacing: 0px;
    }
    
    .print-section p {
        font-size: 11px;
        color: #333;
        line-height: 1.4;
    }
    
    .print-job {
        margin-bottom: 12px;
    }
    
    .print-job-header {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
    }
    
    .print-job-sub {
        font-size: 11px;
        color: #555;
        font-style: italic;
    }
    
    .print-section ul {
        margin-top: 4px;
        padding-left: 15px;
    }
    
    .print-section li {
        font-size: 11px;
        color: #333;
        margin-bottom: 3px;
        list-style-type: square;
    }
    
    .print-skills-grid {
        font-size: 11px;
        color: #333;
        line-height: 1.6;
    }
}

/* 19. RESPONSIVENESS MEDIA QUERIES (MOBILE FIRST COMPLIANT) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.6rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-status-tag {
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtext {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-right {
        height: 380px;
        width: 100%;
    }

    .interactive-hero-vis {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    
    .card-1 { left: 10px; }
    .card-2 { right: 10px; }
    .card-3 { left: 0; bottom: 80px; }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-shell {
        height: auto;
    }
    
    .dashboard-body {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-glow);
        flex-direction: row;
        overflow-x: auto;
        padding: 12px;
        gap: 8px;
    }
    
    .dash-tab {
        padding: 10px 14px;
        white-space: nowrap;
    }
    
    .screen-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .svg-chart-container {
        height: 180px;
    }
    
    .timeline-line-connector {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-item.left, .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left .timeline-dot-connector,
    .timeline-item.right .timeline-dot-connector {
        left: 10px;
        right: auto;
    }
    
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 16px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn:not(.btn-nav) {
        width: 100%;
    }
    
    .hero-right {
        display: none; /* Hide complex interactive vis overlay on tiny mobiles to preserve speed & format */
    }
    
    .stats-counter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .terminal-shell {
        height: 480px;
    }
    
    .terminal-quick-triggers {
        gap: 4px;
    }
    
    .btn-terminal-trigger {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* 20. NEW PORTFOLIO MODIFICATIONS & DETAILS STYLING */
.about-interests {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}

.interests-title {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--electric-blue-light);
    margin-bottom: 12px;
    font-weight: 700;
}

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

.interests-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glow);
    padding: 6px 12px;
    border-radius: 4px;
    color: var(--gray-primary);
    transition: var(--transition-fast);
}

.interests-tags span:hover {
    border-color: var(--electric-blue-light);
    color: var(--white);
    background-color: rgba(0, 85, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.1);
    transform: translateY(-1px);
}

/* Project live button styling */
.project-live-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background-color: rgba(0, 85, 255, 0.12);
    border: 1px solid var(--border-active);
    border-radius: 6px;
    z-index: 5;
    transition: var(--transition-fast);
}

.project-live-badge a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    padding: 4px 10px;
    display: block;
}

.project-live-badge:hover {
    background-color: var(--electric-blue);
    box-shadow: 0 0 12px var(--electric-blue-glow);
    transform: translateY(-1px);
}

/* Center double certifications grid on large screens */
@media (min-width: 901px) {
    .cert-grid-two {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 800px;
        margin: 0 auto;
    }
}

.cert-description {
    font-size: 0.8rem;
    color: var(--gray-primary);
    line-height: 1.4;
    margin: 8px 0;
    flex: 1;
}

/* 21. MOBILE UX & POLISH UPGRADES (MAX-WIDTH: 600px & 480px) */
@media (max-width: 600px) {
    /* Reduce general section padding to prevent excessive vertical spacing */
    .section {
        padding: 50px 16px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    /* Adjust about interests tags spacing */
    .about-interests {
        margin-top: 18px;
        padding-top: 15px;
    }

    .interests-tags span {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    /* Tighten general card paddings to preserve horizontal screen width */
    .about-card, .info-card, .form-card {
        padding: 24px 16px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .timeline-content-card {
        padding: 20px 16px;
    }

    /* Skills Grid wrap adjustments */
    .skills-category-card {
        padding: 24px;
        gap: 16px;
    }

    /* Dashboard Sidebar: Hide horizontal scrollbars but maintain scrolling */
    .dashboard-sidebar {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE 10+ */
        padding: 8px;
    }

    .dashboard-sidebar::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

    .dash-tab {
        padding: 8px 12px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .dashboard-screen {
        padding: 16px;
    }

    .screen-grid {
        gap: 16px;
    }

    .screen-inner-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .screen-desc {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }

    /* Table adjustments */
    .dashboard-table {
        font-size: 0.65rem;
    }

    .dashboard-table th, .dashboard-table td {
        padding: 4px 6px;
    }

    /* Shift timeline connector line to the left edge to save card width */
    .timeline-line-connector {
        left: 15px;
    }

    .timeline-dot-connector {
        left: 5px !important;
        right: auto !important;
    }

    .timeline-item {
        padding-left: 35px;
        margin-bottom: 30px;
    }

    /* Terminal console mobile tweaks */
    .terminal-screen {
        padding: 16px;
    }

    .terminal-shell {
        height: 380px;
    }

    .terminal-prompt {
        font-size: 0.75rem;
    }

    .terminal-input {
        font-size: 0.75rem;
    }

    .terminal-quick-triggers {
        margin-top: 5px;
    }

    .btn-terminal-trigger {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    /* Modal padding updates */
    .modal-content {
        padding: 24px 16px;
    }

    .modal-title {
        font-size: 1.4rem;
    }

    .modal-close-btn {
        top: 12px;
        right: 16px;
        font-size: 1.6rem;
    }

    .modal-stats-list {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .modal-stat-box {
        padding: 8px;
    }

    .modal-stat-num {
        font-size: 1.1rem;
    }

    .modal-stat-label {
        font-size: 0.65rem;
    }

    /* Preloader Mobile optimizations */
    .preloader-terminal {
        font-size: 0.68rem;
        height: 120px;
        padding: 12px;
    }

    .preloader-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    /* Extreme small screen support */
    .header-container {
        padding: 12px 16px;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .logo-sub {
        font-size: 0.5rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtext {
        font-size: 0.95rem;
    }
}


