/* ==========================================================================
   DEVELOPER PORTFOLIO - JOEL THOMAS
   DESIGN SYSTEM & CSS STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-bg-darkest: #030712;
    --color-bg-darker: #080b11;
    --color-bg-card: rgba(11, 19, 43, 0.45);
    --color-bg-nav: rgba(3, 7, 18, 0.75);
    
    --neon-blue: #00f0ff;
    --neon-blue-glow: rgba(0, 240, 255, 0.4);
    --neon-blue-dim: rgba(0, 240, 255, 0.15);
    
    --primary-blue: #0a192f;
    --primary-blue-light: #172a45;
    
    --accent-purple: #8b5cf6;
    --accent-purple-glow: rgba(139, 92, 246, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --success-green: #10b981;
    
    /* Fonts */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows & Glows */
    --glow-shadow: 0 0 15px var(--neon-blue-glow);
    --glow-shadow-heavy: 0 0 25px var(--neon-blue);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Borders */
    --border-glass: 1px solid rgba(0, 240, 255, 0.12);
    --border-glass-hover: 1px solid rgba(0, 240, 255, 0.35);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & SCROLLBAR
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

::-webkit-scrollbar-track {
    background: var(--color-bg-darkest);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue-light);
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue-dim);
    box-shadow: 0 0 5px var(--neon-blue);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & UTILITIES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
    font-variant: small-caps;
    color: var(--text-primary);
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    letter-spacing: 0.15em;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--neon-blue);
    margin: 15px auto 0;
    box-shadow: var(--glow-shadow);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: -40px auto 50px;
    font-size: 1.1rem;
}

.text-neon-blue {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

/* Glassmorphism utility card */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
}

.glass-card:hover {
    border: var(--border-glass-hover);
    box-shadow: 0 10px 40px 0 rgba(0, 240, 255, 0.1), var(--glass-shadow);
}

/* Buttons styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-variant: small-caps;
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.btn-primary:hover {
    background: var(--neon-blue);
    color: var(--color-bg-darkest);
    box-shadow: var(--glow-shadow-heavy);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--primary-blue-light);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: transparent;
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: var(--border-glass);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.btn-icon:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: var(--glow-shadow);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Glow Animation Buttons */
.glow-button {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 240, 255, 0.2),
        transparent
    );
    transition: 0.5s;
    z-index: -1;
}

.glow-button:hover::before {
    left: 100%;
}

.glow-button-cyan {
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
}

.glow-button-cyan:hover {
    background: var(--neon-blue);
    color: var(--color-bg-darkest);
    box-shadow: 0 0 20px var(--neon-blue);
}

/* --------------------------------------------------------------------------
   4. LOADING SCREEN (INTRO)
   -------------------------------------------------------------------------- */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-darkest);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-container.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    font-variant: small-caps;
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    margin-bottom: 25px;
}

.loader-progress {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.loader-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--accent-purple));
    box-shadow: 0 0 10px var(--neon-blue);
    animation: load-simulation 2.2s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

.loader-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes load-simulation {
    0% { width: 0%; }
    15% { width: 30%; }
    45% { width: 55%; }
    70% { width: 85%; }
    100% { width: 100%; }
}

/* --------------------------------------------------------------------------
   5. PARTICLE BACKGROUND CANVAS
   -------------------------------------------------------------------------- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, var(--primary-blue) 0%, var(--color-bg-darkest) 100%);
}

/* --------------------------------------------------------------------------
   6. CUSTOM INTERACTIVE CURSOR
   -------------------------------------------------------------------------- */
.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-blue);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
}

.custom-cursor-outline {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--neon-blue);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Hover target response on cursor */
body.cursor-hovering .custom-cursor-outline {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.4);
}

body.cursor-hovering .custom-cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: var(--text-primary);
    box-shadow: 0 0 8px #fff;
}

/* Hide on touchscreen or small screens */
@media (max-width: 1024px) {
    .custom-cursor-dot,
    .custom-cursor-outline {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   7. HEADER NAVIGATION
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--color-bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.06);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.logo-symbol {
    color: var(--neon-blue);
    font-weight: 400;
    margin: 0 3px;
    text-shadow: var(--glow-shadow);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    font-variant: small-caps;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: var(--glow-shadow);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 102;
    padding: 5px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

/* Mobile Toggle Toggle Active State */
.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--neon-blue);
}

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

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--neon-blue);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.4s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.mobile-nav-overlay.active {
    left: 0;
}

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

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-variant: small-caps;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    padding: 10px;
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

/* --------------------------------------------------------------------------
   8. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

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

.hero-content {
    z-index: 2;
}

.hero-subtitle {
    font-family: var(--font-mono);
    color: var(--neon-blue);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.hero-tagline {
    font-size: 1.6rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 25px;
    min-height: 40px;
    font-variant: small-caps;
    letter-spacing: 0.05em;
}

.cursor-pipe {
    color: var(--neon-blue);
    animation: blink-pipe 0.8s infinite;
}

@keyframes blink-pipe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Cyber shield graphic decoration */
.cyber-shield-container {
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyber-shield {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-core {
    width: 90px;
    height: 90px;
    background: var(--primary-blue);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 30px var(--neon-blue-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--neon-blue);
    z-index: 5;
}

.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 240, 255, 0.2);
}

.ring-1 {
    width: 160px;
    height: 160px;
    border-color: rgba(0, 240, 255, 0.3);
    border-style: double;
    border-width: 3px;
    animation: rotate-cw 20s linear infinite;
}

.ring-2 {
    width: 230px;
    height: 230px;
    border-style: dashed;
    animation: rotate-ccw 25s linear infinite;
}

.ring-3 {
    width: 300px;
    height: 300px;
    border-style: dotted;
    border-width: 2px;
    border-color: var(--accent-purple-glow);
    animation: rotate-cw 35s linear infinite;
}

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

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

/* Scroll indicator link */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-variant: small-caps;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    z-index: 2;
}

.scroll-indicator:hover {
    color: var(--neon-blue);
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: block;
    position: relative;
    margin-bottom: 5px;
    transition: var(--transition-fast);
}

.scroll-indicator:hover .mouse-icon {
    border-color: var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue-glow);
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

.scroll-indicator:hover .wheel {
    background-color: var(--neon-blue);
}

.arrow-down {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: scroll-arrow 1.5s infinite;
}

.scroll-indicator:hover .arrow-down {
    border-color: var(--neon-blue);
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 14px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

@keyframes scroll-arrow {
    0% { transform: translateY(0) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(6px) rotate(45deg); opacity: 0; }
}

/* --------------------------------------------------------------------------
   9. ABOUT ME SECTION
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: flex-start;
}

.about-image-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image-container {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.image-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue-glow);
    border-radius: 12px;
    pointer-events: none;
    z-index: 2;
}

.profile-image-wrapper {
    width: 100%;
    height: 100%;
    background-color: var(--primary-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-image-wrapper:hover img {
    transform: scale(1.08);
}

/* Fallback visual avatar style */
.fallback-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--neon-blue);
    background: radial-gradient(circle, var(--primary-blue-light) 0%, var(--color-bg-darker) 100%);
    text-shadow: 0 0 15px var(--neon-blue-glow);
}

.profile-meta {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.meta-item a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue-glow);
}

.bio-card {
    height: 100%;
}

.card-header {
    background: rgba(3, 7, 18, 0.4);
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}

.card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.card-dot.red { background-color: #ef4444; }
.card-dot.yellow { background-color: #eab308; }
.card-dot.green { background-color: #22c55e; }

.card-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-left: 5px;
}

.card-body {
    padding: 30px;
}

.bio-text {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: justify;
}

.bio-text:last-child {
    margin-bottom: 0;
}

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

.skill-card {
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.coding-glow {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.design-glow {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.gaming-glow {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.skill-card:hover .coding-glow {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transform: scale(1.05);
}

.skill-card:hover .design-glow {
    box-shadow: 0 0 20px var(--neon-blue-glow);
    transform: scale(1.05);
}

.skill-card:hover .gaming-glow {
    box-shadow: 0 0 20px var(--accent-purple-glow);
    transform: scale(1.05);
}

.skill-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 75px;
}

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

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

.coding-progress {
    width: 90%;
    background: var(--success-green);
}

.design-progress {
    width: 85%;
    background: var(--neon-blue);
}

.gaming-progress {
    width: 80%;
    background: var(--accent-purple);
}

/* --------------------------------------------------------------------------
   11. TECH STACK SECTION
   -------------------------------------------------------------------------- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tech-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.tech-icon {
    font-size: 2.2rem;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

/* Unique layouts for non-font-awesome icons */
.c-special-icon {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
}

.go-special-icon {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
}

.tech-name {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-variant: small-caps;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.tech-card:hover {
    background: rgba(11, 19, 43, 0.7);
    transform: translateY(-5px);
}

/* Glow classes based on programmatic colors loaded in script.js */
.tech-card.active-glow {
    border-color: var(--glow-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.tech-card.active-glow .tech-icon {
    color: var(--glow-color);
    text-shadow: 0 0 8px var(--glow-color);
    transform: scale(1.1);
}

.tech-card.active-glow .tech-name {
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   12. EDUCATION (TIMELINE) SECTION
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, var(--neon-blue) 0%, var(--primary-blue-light) 60%, transparent 100%);
    box-shadow: 0 0 8px var(--neon-blue-glow);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 70px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker-glow {
    position: absolute;
    left: 20px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--neon-blue-glow);
    filter: blur(5px);
    opacity: 0.5;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
    background-color: var(--color-bg-darkest);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-blue);
    border-radius: 50%;
}

.marker-dot.pulsing {
    animation: marker-pulse 1.8s infinite;
}

@keyframes marker-pulse {
    0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
    70% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
    100% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.timeline-content {
    padding: 30px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
}

.timeline-badge.success {
    border-color: var(--success-green);
    color: var(--success-green);
    background: rgba(16, 185, 129, 0.05);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.timeline-institution {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 15px;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   13. FEATURED PROJECT SECTION
   -------------------------------------------------------------------------- */
.project-showcase {
    max-width: 850px;
    margin: 0 auto;
}

.project-card {
    padding: 45px;
    position: relative;
    overflow: hidden;
}

.project-glow-layer {
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

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

.tag-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-variant: small-caps;
}

.ai-badge {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

.status-badge {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue-dim);
}

/* Pulsing badge border */
.status-badge.pulse {
    animation: status-pulse-glow 2s infinite;
}

@keyframes status-pulse-glow {
    0%, 100% { border-color: rgba(0, 240, 255, 0.2); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.1); }
    50% { border-color: rgba(0, 240, 255, 0.6); box-shadow: 0 0 8px 1px rgba(0, 240, 255, 0.2); }
}

.project-number {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
}

.project-info {
    position: relative;
    z-index: 2;
}

.project-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.project-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.7;
    text-align: justify;
}

.project-tech-stack {
    margin-bottom: 35px;
}

.project-tech-stack h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.tech-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill {
    background: var(--primary-blue-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-variant: small-caps;
}

.pill i {
    color: var(--neon-blue);
}

/* --------------------------------------------------------------------------
   14. CURRENT LEARNING (DEVOPS) SECTION
   -------------------------------------------------------------------------- */
.devops-pipeline {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.pipeline-stage {
    flex: 1;
    min-width: 220px;
    background: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pipeline-stage:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15), var(--glass-shadow);
}

.stage-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

.stage-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon-blue-dim);
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-shadow: var(--glow-shadow);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
    transition: var(--transition-fast);
}

.pipeline-stage:hover .stage-icon {
    background: var(--neon-blue);
    color: var(--color-bg-darkest);
    box-shadow: 0 0 15px var(--neon-blue);
}

.pipeline-stage h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.pipeline-stage p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Connectors */
.pipeline-connector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.connector-line {
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--accent-purple));
    opacity: 0.5;
}

@media (max-width: 1140px) {
    .pipeline-connector {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   15. GITHUB ACTIVITY SECTION
   -------------------------------------------------------------------------- */
.github-card-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.github-terminal-card {
    padding: 0;
    overflow: hidden;
}

.terminal-header {
    background: rgba(3, 7, 18, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.term-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

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

.terminal-tab {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.terminal-body {
    padding: 25px;
    background: rgba(3, 7, 18, 0.3);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.terminal-prompt {
    color: var(--neon-blue);
    margin-right: 10px;
    font-weight: bold;
}

.terminal-output pre {
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--text-secondary);
}

.json-key {
    color: #e2e8f0;
}

.json-val {
    color: #38bdf8;
}

.json-num {
    color: #fb7185;
}

.blink {
    animation: blink-pipe 1s infinite;
    color: var(--neon-blue);
}

.terminal-footer {
    background: rgba(3, 7, 18, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   16. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info-card {
    width: 100%;
    max-width: 600px;
}

.info-inner {
    padding: 40px;
}

.info-inner h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.info-inner p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-details-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.details-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon-blue-dim);
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.05);
}

.details-content {
    display: flex;
    flex-direction: column;
}

.details-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    font-variant: small-caps;
    margin-bottom: 4px;
}

.details-content span,
.details-content a {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.details-content a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue-glow);
}

.form-inner {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-variant: small-caps;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(3, 7, 18, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
    background: rgba(3, 7, 18, 0.8);
}

.feedback-msg {
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-family: var(--font-heading);
    font-variant: small-caps;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.feedback-msg.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-green);
    color: var(--success-green);
}

.feedback-msg.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.hidden {
    display: none;
}

/* --------------------------------------------------------------------------
   17. FOOTER SECTION
   -------------------------------------------------------------------------- */
.main-footer {
    background: #02040a;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 60px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    font-variant: small-caps;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.footer-credits {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-variant: small-caps;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--neon-blue);
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   18. INTERSECTION OBSERVER ANIMATION SYSTEM
   -------------------------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for sequential animations */
.scroll-reveal:nth-child(2) { transition-delay: 0.15s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   19. RESPONSIVE MEDIA QUERIES (MOBILE FIRST COMPLIANT)
   -------------------------------------------------------------------------- */

/* Responsive Layout down to Medium Screen (Tablets) */
@media (max-width: 991px) {
    html {
        font-size: 15px;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        order: 0;
        margin-bottom: 20px;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-card {
        align-items: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Responsive navigation switch to mobile design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .project-card {
        padding: 30px 20px;
    }
    
    .project-title {
        font-size: 1.8rem;
    }
    
    .info-inner, .form-inner {
        padding: 30px 20px;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-ctas .btn-icon {
        width: 100%;
        border-radius: 6px;
    }
    
    .profile-image-container {
        width: 200px;
        height: 200px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .timeline-marker-glow {
        left: 4px;
    }
    
    .timeline-marker {
        left: 4px;
    }
    
    .timeline-content {
        padding: 20px;
    }
}
