/* 
 * Premium Portfolio Stylesheet
 * Author: Wasis Witjaksono (Placeholder)
 */

:root {
    /* Color Palette (Reeni White Theme) */
    --bg-primary: #ffffff;
    --bg-sidebar: #f8f9fa;
    --bg-secondary: #f4f5f6;
    --bg-tertiary: #e9ecef;
    
    /* Neumorphism Base (Light) */
    --bg-glass: #ffffff;
    --bg-glass-hover: #f8f9fa;
    --bg-glass-border: #eaeaea;
    
    /* Accents */
    --accent-1: #2563eb; /* Primary Blue */
    --accent-2: #1d4ed8; /* Darker Blue */
    --accent-3: #3b82f6;
    
    /* Gradients */
    --accent-gradient: linear-gradient(145deg, #2563eb, #1e40af);
    --accent-gradient-2: linear-gradient(145deg, #f8f9fa, #ffffff);
    
    /* Typography */
    --text-primary: #1a1d23;
    --text-secondary: #6c757d;
    --text-tertiary: #adb5bd;
    --font-sans: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* UI Elements */
    --border-color: rgba(0, 0, 0, 0.05);
    
    /* Neumorphism Shadows (Light Theme) */
    --shadow-sm: 5px 5px 15px rgba(0,0,0,0.05), -5px -5px 15px rgba(255,255,255,0.8);
    --shadow-md: 10px 10px 30px rgba(0,0,0,0.08), -10px -10px 30px rgba(255,255,255,0.8);
    --shadow-lg: 15px 15px 40px rgba(0,0,0,0.1), -15px -15px 40px rgba(255,255,255,0.8);
    --shadow-glow: inset 10px 10px 20px rgba(0,0,0,0.05), inset -10px -10px 20px rgba(255,255,255,0.8);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s ease-in-out;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==========================================================================
   Global Reset & Base
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* Selection */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.text-gradient-2 {
    background: var(--accent-gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

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

a:hover {
    color: var(--accent-1);
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Components & Utility Classes
   ========================================================================== */
.glass-card {
    background: var(--bg-glass);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--bg-glass-hover);
    color: var(--accent-1);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: var(--accent-gradient);
    color: white;
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-glow);
    color: var(--accent-1);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
}
.skeleton-text:last-child { width: 80%; }
.skeleton-large { height: 3rem; width: 60%; margin-bottom: 1rem; }
.skeleton-box { width: 100%; height: 100%; border-radius: var(--radius-lg); }
.skeleton-avatar { width: 100%; height: 100%; border-radius: 50%; }

/* Removed .bg-blobs */

/* ==========================================================================
   Navigation
   ========================================================================== */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all var(--transition-normal);
    background: transparent;
    padding: 1.5rem 0;
}

.glass-nav.scrolled {
    background: rgba(33, 36, 40, 0.95);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-gradient);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

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

.btn-contact {
    padding: 0.5rem 1.2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
}

.btn-contact::after { display: none; }
.btn-contact:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.4rem 0.8rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    margin-left: 1rem;
}

.lang-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

/* Mobile Nav */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    z-index: 101;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger, .hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.hamburger { top: 50%; transform: translateY(-50%); }
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.mobile-menu-btn.active .hamburger { background: transparent; }
.mobile-menu-btn.active .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-menu-btn.active .hamburger::after { bottom: 0; transform: rotate(-45deg); }

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.mobile-nav-overlay.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-nav-overlay.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for nav */
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('https://images.unsplash.com/photo-1542831371-29b0f74f9713?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.80);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-greeting {
    font-family: var(--font-mono);
    color: var(--accent-3);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-name {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.typing-container {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 5rem; /* Prevent layout shift */
    line-height: 1.4;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent-1);
    animation: blink 1s step-end infinite;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-visuals {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    animation: float 6s infinite ease-in-out;
}

.shape-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    top: 10%;
    right: 20%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.05));
    border-color: rgba(99, 102, 241, 0.3);
}

.shape-square {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    bottom: 20%;
    left: 10%;
    transform: rotate(15deg);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(10, 10, 15, 0.05));
    border-color: rgba(6, 182, 212, 0.3);
    animation-delay: -2s;
    animation-duration: 8s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(139, 92, 246, 0.15);
    top: 40%;
    left: 40%;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.2));
    animation-delay: -4s;
    animation-duration: 7s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

.arrow-down {
    font-size: 1.2rem;
    color: var(--text-secondary);
    animation: float 2s infinite;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image-container {
    display: flex;
    justify-content: center;
}

.avatar-border {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    padding: 8px;
    background: var(--accent-gradient);
    position: relative;
    box-shadow: var(--shadow-glow);
}

.avatar-border::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--accent-gradient);
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.avatar-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.avatar-border:hover .avatar-wrapper img {
    transform: scale(1.05);
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-item:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--bg-glass);
    color: var(--text-primary);
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.filter-btn.active {
    background: rgba(99, 102, 241, 0.1);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-3);
}

.skill-info h3 {
    margin: 0 0 0.2rem 0;
    font-size: 1.2rem;
}

.skill-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.skill-bar-container {
    width: 100%;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.skill-bar-track {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    width: 0; /* Animated by JS */
    transition: width 1.5s cubic-bezier(0.1, 0.5, 0.1, 1);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    group: project;
}

.project-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-view {
    padding: 0.8rem 1.5rem;
    background: var(--accent-1);
    color: white;
    border-radius: var(--radius-full);
    transform: translateY(20px);
    transition: all var(--transition-normal);
    font-weight: 500;
}

.project-card:hover .btn-view {
    transform: translateY(0);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(4px);
    color: var(--accent-2);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.3);
    z-index: 2;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    transition: color var(--transition-fast);
}

.project-card:hover .project-content h3 {
    color: var(--accent-1);
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-link {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   Experience Timeline
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

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

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 4px solid var(--accent-1);
    z-index: 2;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-1);
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
}

.timeline-content {
    width: calc(50% - 40px);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content.glass-card {
    padding: 2rem;
}

.experience-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.timeline-item:nth-child(odd) .experience-header {
    flex-direction: row-reverse;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.role-title {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.company-name {
    color: var(--accent-3);
    font-weight: 500;
    font-size: 1rem;
}

.duration {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
}

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

.current-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonial-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(99, 102, 241, 0.2);
    margin-bottom: 1rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
    max-width: 800px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-1);
}

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

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background: var(--accent-1);
    transform: scale(1.3);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all var(--transition-bounce);
}

.social-link:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-info p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    background: rgba(10, 10, 15, 0.5);
    margin-top: 5rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 90;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 2rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    transform: scale(0.9) translateY(20px);
    transition: all var(--transition-bounce);
    background: var(--bg-secondary);
    padding: 0;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--accent-1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
}

.modal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.modal-details {
    padding: 2.5rem;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ==========================================================================
   Animations (Keyframes)
   ========================================================================== */
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(calc(var(--rotation, 0deg) + 5deg)); }
}

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

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left { transform: translateX(-50px); }
.slide-in-right { transform: translateX(50px); }
.slide-in-left.visible, .slide-in-right.visible { transform: translateX(0); }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-name { font-size: 3.5rem; }
    .about-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-content { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .nav-links, .btn-contact { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-visuals { height: 300px; order: -1; }
    .hero-tagline { margin: 0 auto 2.5rem auto; }
    .hero-cta { justify-content: center; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    .timeline::before { left: 30px; }
    .timeline-dot { left: 30px; }
    .timeline-content, .timeline-item:nth-child(odd) .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px !important;
        text-align: left;
    }
    .timeline-item:nth-child(odd) .experience-header { flex-direction: row; }
    
    .projects-grid { grid-template-columns: 1fr; }
    
    .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
    .hero-name { font-size: 2.5rem; }
    .typing-container { font-size: 1.2rem; }
    .hero-cta { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .filter-btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
    .modal-details { padding: 1.5rem; }
}

/* ==========================================================================
   Reeni White Sidebar Layout
   ========================================================================== */
.app-wrapper {
    width: 100%;
    min-height: 100vh;
}

.sidebar-nav {
    width: 280px;
    height: 100vh;
    background: var(--bg-sidebar);
    position: fixed;
    top: 0;
    left: 0;
    padding: 3rem 2rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
}

.sidebar-profile {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
}

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

.nav-links-vertical {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    flex-grow: 1;
}

.nav-links-vertical .nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.nav-links-vertical .nav-icon {
    font-size: 1.2rem;
}

.nav-links-vertical .nav-link:hover,
.nav-links-vertical .nav-link.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-1);
}

.sidebar-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    padding: 0;
    background: var(--bg-primary);
}

/* Adjust components for light theme */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-1);
    color: #fff;
}

/* Override sections to fit nicely without overlapping sidebar */
.section {
    padding: 100px 5%;
}
