/* ══════════════════════════════════════════════════════════════
   FAROUZ STATIC PORTFOLIO — COMPLETE PREMIUM STYLESHEET
   Styling: Glassmorphism Light Mode Only, Highly Premium
   Typography: Outfit (Headings) + Plus Jakarta Sans (Body)
   ══════════════════════════════════════════════════════════════ */

:root {
    /* Premium Harmonious Light-Mode HSL System */
    --bg-base:      #f5f8fc;
    --bg-mesh:      linear-gradient(135deg, #f0f4f8 0%, #e8eef6 50%, #e0e9f4 100%);
    
    /* Perfect Glassmorphism Panels */
    --glass-bg:     rgba(255, 255, 255, 0.45);
    --glass-hover:  rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 10px 30px -10px rgba(31, 41, 120, 0.05), 
                    0 1px 1px 0 rgba(255, 255, 255, 0.8) inset;
    
    /* Deep Text Tones */
    --text-primary:   #0f172a; /* Slate 900 */
    --text-secondary: #334155; /* Slate 700 */
    --text-muted:     #64748b; /* Slate 500 */
    --text-glass:     #1e293b;
    
    /* Accents (Clean, Vivid Tones - No dull plain colors) */
    --accent-blue:    #3b82f6; /* Blue 500 */
    --accent-indigo:  #6366f1; /* Indigo 500 */
    --accent-purple:  #8b5cf6; /* Purple 500 */
    --accent-emerald: #10b981; /* Emerald 500 */
    --accent-rose:    #f43f5e; /* Rose 500 */
    --accent-amber:   #f59e0b; /* Amber 500 */
    
    /* Gradients */
    --grad-primary:  linear-gradient(135deg, #3b82f6, #6366f1);
    --grad-purple:   linear-gradient(135deg, #8b5cf6, #d946ef);
    --grad-emerald:  linear-gradient(135deg, #10b981, #06b6d4);
    --grad-orange:   linear-gradient(135deg, #f59e0b, #e11d48);
    
    /* Rounded corners & transitions */
    --r-normal: 12px;
    --r-large:  20px;
    --r-pill:   50px;
    --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── BASE & GLOBAL SETTINGS ─────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Elegant Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.4);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-base);
    background-image: 
        radial-gradient(at 10% 20%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(59, 130, 246, 0.06) 0px, transparent 50%),
        radial-gradient(at 50% 80%, rgba(139, 92, 246, 0.04) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ── BG PARTICLES ─────────────────────────── */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── SCROLL PROGRESS bar ───────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: var(--grad-primary);
    z-index: 10001;
    transition: width 0.08s linear;
}

/* ── CONTAINER ─────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ── GLASS COMMON INTERFACE ───────────────── */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-large);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-panel:hover {
    background: var(--glass-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(31, 41, 120, 0.1), 
                var(--glass-shadow);
}

/* ── FLOATING NAVBAR ────────────────────────────── */
.navbar {
    position: fixed;
    top: 16px;
    left: 24px;
    right: 24px;
    height: 64px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--r-pill);
    box-shadow: 0 10px 30px -10px rgba(31, 38, 135, 0.08);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    transition: var(--transition);
}

.navbar.scrolled {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    background: rgba(255, 255, 255, 0.85);
    padding: 0 40px;
    box-shadow: 0 10px 40px -15px rgba(31, 38, 135, 0.12);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.brand-logo {
    width: 36px;
    height: 36px;
    background: transparent;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    overflow: hidden;
}

.brand-img-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: var(--r-pill);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
    height: 32px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

@media (max-width: 480px) {
    .nav-cta-btn span {
        display: none;
    }
    .nav-cta-btn {
        padding: 6px 10px;
    }
}



.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ── BUTTON SYSTEM ──────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--r-pill);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    font-family: inherit;
}

.btn-pri {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.3);
}

.btn-pri:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(99, 102, 241, 0.4);
}

.btn-sec {
    background: var(--glass-bg);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.btn-sec:hover {
    background: var(--glass-hover);
    color: var(--text-primary);
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ── HERO SECTION ──────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.hero-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--r-large);
    padding: 48px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 30px 60px -25px rgba(31, 38, 135, 0.06);
    position: relative;
}

/* Profile Headshot Image/Logo Ring */
.profile-avatar-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--glass-border);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-avatar {
    font-size: 3.5rem;
    color: rgba(59, 130, 246, 0.2);
}

.avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(59, 130, 246, 0.4);
    animation: spin 30s linear infinite;
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: var(--r-pill);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-hint {
    position: absolute;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-muted);
    border-radius: 11px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: var(--r-pill);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2.2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0; transform: translateX(-50%) translateY(8px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-hint span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ── SECTION CONFIGURATIONS ────────────────────── */
.sec-padding {
    padding: 90px 0;
    position: relative;
    z-index: 1;
}

.sec-title {
    font-family: 'Outfit', sans-serif;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.sec-title i {
    color: var(--accent-blue);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sec-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 48px;
}

/* ── STORY / ABOUT SECTION ─────────────────────────── */
.story-content-box {
    composes: glass-panel;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-large);
    box-shadow: var(--glass-shadow);
    padding: 40px;
    transition: var(--transition);
}

.story-content-box:hover {
    background: var(--glass-hover);
    box-shadow: 0 20px 40px -20px rgba(31, 41, 120, 0.1), var(--glass-shadow);
}

.story-bio-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.bio-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.glass-art {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-art-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
}

.glass-art-circle.c1 {
    top: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
    background: rgba(99, 102, 241, 0.2);
}

.glass-art-circle.c2 {
    bottom: 10%;
    right: 10%;
    width: 140px;
    height: 140px;
    background: rgba(59, 130, 246, 0.15);
}

.glass-art-card {
    position: relative;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--r-large);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    z-index: 2;
}

.quote-icon {
    font-size: 1.8rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.glass-art-card p {
    font-size: 0.92rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.quote-author {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── SCREEN-WIDE TIMELINE SECTION ─────────────────────────── */
.timeline-sec {
    background: rgba(255, 255, 255, 0.2);
}

.timeline-container {
    max-width: 100% !important;
    padding: 0 40px !important;
}

.timeline-wrapper {
    position: relative;
    padding: 60px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 4px;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), var(--accent-blue) 30%, var(--accent-indigo) 70%, rgba(99, 102, 241, 0.1));
    border-radius: var(--r-pill);
    z-index: 0;
    transform: translateY(-50%);
}

.timeline-track {
    display: flex;
    gap: 40px;
    padding: 20px 0;
    position: relative;
    z-index: 1;
    height: 480px; /* Fixed track height to secure alignment */
    align-items: center; /* Align cards vertically */
}

.timeline-item {
    min-width: 320px;
    max-width: 320px;
    height: 440px; /* Uniform card height */
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space out date and content perfectly */
    align-items: center;
    padding: 10px 0;
}

.timeline-node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--accent-blue);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-node {
    transform: translateY(-50%) scale(1.15);
    background: var(--grad-primary);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
}

.timeline-date {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin: 0; /* Handled by flex spacing */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: var(--r-pill);
    box-shadow: var(--glass-shadow);
    z-index: 3;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-large);
    box-shadow: var(--glass-shadow);
    padding: 24px;
    width: 100%;
    margin: 0; /* Handled by flex spacing */
    text-align: center;
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    background: var(--glass-hover);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px -15px rgba(31, 41, 120, 0.15), var(--glass-shadow);
}

.timeline-item-cat {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.timeline-item-cat.education { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.timeline-item-cat.career    { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); }
.timeline-item-cat.trackz    { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.timeline-item-cat.personal  { background: rgba(244, 63, 94, 0.1); color: var(--accent-rose); }
.timeline-item-cat.achievement { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }

.timeline-item-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-item-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Timeline grid alternate structures */
.timeline-item:nth-child(even) {
    flex-direction: column-reverse; /* Swap Date and Content visually */
}

@media (max-width: 768px) {
    .timeline-sec {
        padding: 60px 0;
    }
    .timeline-container {
        padding: 0 20px !important;
    }
    .timeline-wrapper {
        padding: 30px 0;
        overflow-x: visible; /* Disable horizontal scroll */
    }
    .timeline-line {
        top: 0;
        bottom: 0;
        left: 20px;
        width: 4px;
        height: 100%;
        transform: none;
    }
    .timeline-track {
        flex-direction: column;
        height: auto;
        gap: 40px;
        align-items: stretch;
        padding-left: 40px; /* Space for the vertical line */
    }
    .timeline-item {
        min-width: 100%;
        max-width: 100%;
        height: auto;
        flex-direction: column !important; /* Date on top, Content below */
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
    }
    .timeline-node {
        left: -20px; /* Centered on the left line */
        top: 15px;
        transform: translate(-50%, -50%);
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .timeline-item:hover .timeline-node {
        transform: translate(-50%, -50%) scale(1.1);
    }
    .timeline-date {
        margin-bottom: 12px !important;
        margin-top: 0 !important;
        font-size: 0.85rem;
        padding: 4px 12px;
    }
    .timeline-content {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        text-align: left;
        padding: 16px 20px;
    }
}


/* ── GRID SYSTEM FOR CONFLICT SECTIONS ────────────── */
.grid-dual {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
}

/* ── CURRENTLY DOING SECTION ─────────────────────── */
.currently-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-large);
    box-shadow: var(--glass-shadow);
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.box-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.box-title i {
    color: var(--accent-blue);
}

.box-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 24px;
}

.currently-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.currently-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--r-normal);
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.currently-item:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(4px);
}

.curr-ico {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.currently-item.learning .curr-ico { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.currently-item.building .curr-ico { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.currently-item.reading  .curr-ico { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); }

.curr-details {
    flex: 1;
}

.curr-type {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.currently-item.learning .curr-type { color: var(--accent-blue); }
.currently-item.building .curr-type { color: var(--accent-purple); }
.currently-item.reading  .curr-type { color: var(--accent-emerald); }

.curr-content {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.curr-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-top: 6px;
    transition: var(--transition);
}

.curr-link:hover {
    color: var(--accent-indigo);
    text-decoration: underline;
}

/* ── SKILLS STACK SECTION ────────────────────────── */
.skills-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-large);
    box-shadow: var(--glass-shadow);
    padding: 36px;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--r-normal);
    padding: 20px;
    transition: var(--transition);
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(59, 130, 246, 0.2);
}

.skill-cat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.skill-cat-ico {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.skill-category:nth-child(2) .skill-cat-ico { color: var(--accent-purple); background: rgba(139, 92, 246, 0.08); }
.skill-category:nth-child(3) .skill-cat-ico { color: var(--accent-emerald); background: rgba(16, 185, 129, 0.08); }

.skill-cat-head h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-badge {
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: var(--glass-bg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.skill-badge:hover {
    background: var(--grad-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

/* ── PROJECTS SHOWCASE ───────────────────────────── */
.project-showcase {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-large);
    box-shadow: var(--glass-shadow);
    padding: 44px;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.proj-info-col {
    display: flex;
    flex-direction: column;
}

.proj-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.proj-head-ico {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.proj-head h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.proj-tagline {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.proj-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.proj-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.proj-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.proj-highlight-item i {
    color: var(--accent-emerald);
    margin-top: 3px;
}

.proj-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--r-normal);
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
}

.proj-metric-item {
    text-align: center;
}

.proj-metric-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-blue);
}

.proj-metric-lbl {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.proj-visual-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.proj-card-details {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--r-normal);
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.proj-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.proj-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── YOUTUBE HUB SECTION ─────────────────────────── */
.youtube-sec {
    background: rgba(255, 255, 255, 0.15);
}

.youtube-red {
    color: #ff0000;
}

.youtube-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.youtube-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
}

.yt-info-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yt-channel-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.yt-channel-badge i {
    color: #ff0000;
    font-size: 1.5rem;
}

.yt-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.yt-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
}

.yt-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--r-normal);
    padding: 12px;
    text-align: center;
}

.yt-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ff0000;
}

.yt-stat-lbl {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    display: block;
}

.yt-action .btn {
    width: 100%;
}

.yt-btn {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 8px 20px -5px rgba(255, 0, 0, 0.25);
}

.yt-btn:hover {
    background: #cc0000;
    box-shadow: 0 12px 25px -5px rgba(255, 0, 0, 0.35);
}

.yt-player-card {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.yt-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── CV / QUALIFICATIONS SECTION ─────────────────── */
.cv-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.cv-column {
    padding: 36px;
}

.cv-col-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.03);
    padding-bottom: 12px;
}

.cv-col-title i {
    color: var(--accent-blue);
}

.cv-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cv-item {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition);
}


.cv-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent-blue);
    z-index: 1;
    transition: var(--transition);
}


.cv-item:hover {
    border-color: var(--accent-blue);
}

.cv-item:hover::before {
    background: var(--accent-blue);
    transform: scale(1.2);
}

.cv-item-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.cv-item-sub {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-top: 4px;
    margin-bottom: 6px;
}

.cv-item-sub span {
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 6px;
}


.cv-item-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CV Helpers */
.mb-24 { margin-bottom: 24px; }
.mt-20 { margin-top: 20px; }

.cv-download-cta {
    display: flex;
    justify-content: center;
}

/* ── FOOTER & LINKS AREA ────────────────────────── */
.footer {
    position: relative;
    padding: 100px 0 60px;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    z-index: 1;
}

.footer-glow {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, rgba(59, 130, 246, 0.04) 50%, transparent 100%);
    z-index: -1;
}

.footer-quote {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    font-style: italic;
    color: var(--text-secondary);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.social-glass-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--r-pill);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.01);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-glass-btn i {
    font-size: 1rem;
}

.social-glass-btn:hover {
    background: #fff;
    color: var(--color-hover, var(--accent-blue));
    border-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.08);
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    padding-top: 30px;
}

.footer-copyright strong {
    color: var(--text-secondary);
}

.copyright-details {
    font-size: 0.72rem;
    margin-top: 6px;
    opacity: 0.8;
}

/* ── BACK TO TOP TRIGGER BUTTON ─────────────────── */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25);
    z-index: 9999;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.35);
}

/* ── INTERSECTION SCROLL ANIMATIONS ──────────────── */
.anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Stagger Animations */
.anim:nth-child(2) { transition-delay: 0.08s; }
.anim:nth-child(3) { transition-delay: 0.16s; }
.anim:nth-child(4) { transition-delay: 0.24s; }

/* ── MEDIA QUERIES & RESPONSIVE STATES ───────────── */

/* Large Tablets & Small Laptops */
@media (max-width: 1024px) {
    .story-bio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .bio-visual {
        order: -1; /* Place quote card on top for mobile */
    }
    .grid-dual {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .project-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .cv-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Tablets (Portrait) */
@media (max-width: 768px) {
    .navbar {
        left: 16px;
        right: 16px;
        height: 56px;
        padding: 0 16px;
        border-radius: var(--r-pill);
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: var(--r-large);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        padding: 16px;
        gap: 6px;
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 10px 18px;
        border-radius: var(--r-pill);
    }
    .nav-link.active::after {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-card {
        padding: 30px 24px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    .hero-stat-val {
        font-size: 1.6rem;
    }
    
    .sec-title {
        font-size: 1.7rem;
    }
    .sec-sub {
        font-size: 0.85rem;
        margin-bottom: 30px;
    }
    
    .timeline-container {
        padding: 0 20px !important;
    }
    .timeline-item {
        min-width: 280px;
        max-width: 280px;
    }
}

/* Portrait Phones (Standard Mobile) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
    }
    
    .story-content-box {
        padding: 20px;
    }
    
    .currently-box {
        padding: 24px 20px;
    }
    .skills-box {
        padding: 24px 20px;
    }
    
    .project-showcase {
        padding: 24px 20px;
    }
    .proj-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }
    
    .yt-info-card {
        padding: 24px 20px;
    }
    .yt-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .cv-column {
        padding: 24px 20px;
    }
    
    .back-to-top {
        bottom: 16px;
        right: 16px;
    }
}
