/* ============================================
   SRIDHAR M - PORTFOLIO STYLES
   Premium Dark Theme with Glassmorphism
   ============================================ */

/* ============== CSS VARIABLES ============== */
:root {
    /* Primary Palette */
    --primary: #6C63FF;
    --primary-light: #8B83FF;
    --primary-dark: #4A42D4;
    --primary-glow: rgba(108, 99, 255, 0.3);

    /* Accent */
    --accent: #00D9FF;
    --accent-light: #33E1FF;
    --accent-glow: rgba(0, 217, 255, 0.25);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #00D9FF 100%);
    --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #0d0d2b 50%, #111133 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-glow: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);

    /* Backgrounds */
    --bg-body: #0a0a1a;
    --bg-section: #0d0d2b;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --bg-input: rgba(255, 255, 255, 0.06);

    /* Text */
    --text-primary: #EAEAFF;
    --text-secondary: #9B9BC4;
    --text-muted: #6B6B8D;
    --text-accent: #6C63FF;

    /* Borders */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(108, 99, 255, 0.4);

    /* Shadows */
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 16px 48px rgba(108, 99, 255, 0.15);
    --shadow-glow: 0 0 30px rgba(108, 99, 255, 0.25);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============== RESET & BASE ============== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-body);
}

html::-webkit-scrollbar {
    width: 6px;
}
html::-webkit-scrollbar-track {
    background: var(--bg-body);
}
html::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ============== CUSTOM CURSOR ============== */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-outline {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(108, 99, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-dot.hover {
    width: 12px;
    height: 12px;
    background: var(--accent);
}
.cursor-outline.hover {
    width: 50px;
    height: 50px;
    border-color: rgba(0, 217, 255, 0.4);
}

/* ============== NAVIGATION ============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-smooth);
}
.navbar.scrolled {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 2px;
}
.logo-bracket {
    color: var(--primary);
    font-weight: 800;
}
.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-slash {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary-light) !important;
    background: rgba(108, 99, 255, 0.1);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}
.nav-link-icon {
    font-size: 0.8rem;
    opacity: 0.7;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============== HERO SECTION ============== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}
.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    right: -100px;
    animation: float-orb 8s ease-in-out infinite;
}
.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -50px;
    animation: float-orb 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: #FF6B9D;
    top: 50%;
    left: 50%;
    animation: float-orb 12s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}
.hero-greeting {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-name {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-role {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    min-height: 42px;
    font-family: var(--font-mono);
}
.hero-role::after {
    content: '|';
    animation: blink-cursor 0.7s step-end infinite;
    color: var(--accent);
}
@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 540px;
}
.hero-description strong {
    color: var(--text-primary);
}
.hero-description a {
    color: var(--accent);
    border-bottom: 1px dotted var(--accent);
}
.hero-description a:hover {
    color: var(--primary-light);
    border-color: var(--primary-light);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.4);
    color: #fff;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}
.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-2px);
    color: var(--primary-light);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass);
}

/* Hero Avatar */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-avatar-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}
.avatar-ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(108, 99, 255, 0.15);
    animation: rotate-ring 15s linear infinite;
}
.avatar-ring-2 {
    width: 85%;
    height: 85%;
    border-color: rgba(0, 217, 255, 0.12);
    animation: rotate-ring 20s linear infinite reverse;
}
.avatar-ring-3 {
    width: 70%;
    height: 70%;
    border-color: rgba(108, 99, 255, 0.1);
    animation: rotate-ring 25s linear infinite;
    border-style: dashed;
}

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

.hero-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 50px var(--primary-glow);
}
.avatar-initials {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    color: var(--primary-light);
    animation: float-icon 4s ease-in-out infinite;
    box-shadow: var(--shadow-card);
}
.fi-1 { top: 15%; left: 0; animation-delay: 0s; color: #FF6B6B; }
.fi-2 { top: 0; right: 15%; animation-delay: 0.5s; color: #4ADE80; }
.fi-3 { top: 50%; left: -8%; animation-delay: 1s; color: #F97316; }
.fi-4 { bottom: 0; left: 20%; animation-delay: 1.5s; color: #D6336C; }
.fi-5 { bottom: 15%; right: 0; animation-delay: 2s; color: #8B5CF6; }
.fi-6 { top: 50%; right: -5%; animation-delay: 2.5s; color: #00D9FF; }

@keyframes float-icon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
}
.hero-scroll-indicator a {
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}
.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}
.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}
@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ============== SECTION HEADERS ============== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* ============== ABOUT SECTION ============== */
.about-section {
    background: var(--bg-section);
}

.about-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.about-image-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.about-card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(108, 99, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.5;
}

.about-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 40px var(--primary-glow);
}
.about-avatar-inner {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
}

.about-card-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}
.about-card-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.about-card-company {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.about-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}
.about-text {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}
.about-text strong {
    color: var(--text-primary);
}

.about-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 28px 0 32px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}
.info-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.info-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.15);
    border-radius: 8px;
    color: var(--primary-light);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.info-value {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============== SKILLS SECTION ============== */
.skills-section {
    background: var(--bg-body);
}

.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    backdrop-filter: blur(10px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    font-size: 1.2rem;
    color: #fff;
}
.category-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.skill-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.skill-card:hover::before {
    transform: scaleX(1);
}
.skill-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.skill-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.12);
    border-radius: 10px;
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.skill-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.skill-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}
.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============== EXPERIENCE SECTION ============== */
.experience-section {
    background: var(--bg-section);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 60px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -48px;
    top: 24px;
}
.marker-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-section);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: var(--primary-light);
    position: relative;
    z-index: 2;
}
.marker-dot.current {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
}
.timeline-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateX(8px);
}

.timeline-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.timeline-badge.current {
    background: var(--gradient-primary);
    color: #fff;
}

.timeline-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.timeline-company,
.timeline-period {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.timeline-company i,
.timeline-period i {
    color: var(--primary-light);
    font-size: 0.8rem;
}

.timeline-body {
    margin-top: 20px;
}
.timeline-project {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(108, 99, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.timeline-project i {
    color: var(--primary-light);
}
.timeline-project a {
    color: var(--accent);
}
.timeline-project a:hover {
    color: var(--primary-light);
}

.timeline-responsibilities {
    list-style: none;
    margin-bottom: 20px;
}
.timeline-responsibilities li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.6;
}
.timeline-responsibilities li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    padding: 4px 12px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--primary-light);
    font-weight: 500;
}

/* ============== PROJECTS SECTION ============== */
.projects-section {
    background: var(--bg-body);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}
.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.project-preview {
    padding: 24px 24px 0;
}

.project-mockup {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: none;
}

.mockup-browser {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.browser-dots {
    display: flex;
    gap: 6px;
}
.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28CA41; }

.browser-url {
    flex: 1;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.mockup-content {
    padding: 16px;
    min-height: 180px;
}

/* Kalviyogi Mockup */
.kalviyogi-mock {
    background: linear-gradient(135deg, #1a1a3e 0%, #16213E 100%);
}
.mock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.mock-logo {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
}
.mock-menu-items {
    display: flex;
    gap: 8px;
}
.mock-menu-items span {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}
.mock-hero-area {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}
.mock-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mock-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.mock-line.w-60 { width: 60%; }
.mock-line.w-80 { width: 80%; background: rgba(108, 99, 255, 0.3); }
.mock-line.w-40 { width: 40%; }
.mock-btn {
    width: 50px;
    height: 14px;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin-top: 4px;
}
.mock-hero-img {
    width: 60px;
    height: 60px;
    background: rgba(108, 99, 255, 0.2);
    border-radius: 8px;
}
.mock-cards {
    display: flex;
    gap: 8px;
}
.mock-card {
    flex: 1;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* NEET Mockup */
.neet-mock {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}
.neet-logo {
    background: linear-gradient(135deg, #00D9FF, #4ADE80) !important;
}
.mock-dashboard {
    display: flex;
    gap: 10px;
}
.mock-sidebar {
    width: 50px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mock-side-item {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}
.mock-side-item:first-child {
    background: rgba(0, 217, 255, 0.3);
}
.mock-main {
    flex: 1;
}
.mock-stat-row {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.mock-stat {
    flex: 1;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.mock-chart {
    height: 50px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-info {
    padding: 24px;
}
.project-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.project-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.project-tech span {
    padding: 4px 10px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent);
    font-family: var(--font-mono);
}

.project-links {
    display: flex;
    gap: 12px;
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-sm);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* ============== EDUCATION SECTION ============== */
.education-section {
    background: var(--bg-section);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}
.edu-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.edu-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 14px;
    font-size: 1.3rem;
    color: #fff;
}

.edu-period {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.edu-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.edu-institution {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.edu-score {
    display: flex;
    align-items: center;
    gap: 10px;
}
.score-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}
.score-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.score-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-light);
    font-family: var(--font-mono);
}

.edu-highlights {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.edu-highlights span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.edu-highlights i {
    color: #4ADE80;
    font-size: 0.75rem;
}

/* ============== CONTACT SECTION ============== */
.contact-section {
    background: var(--bg-body);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-panel {
    padding: 8px 0;
}
.contact-info-panel h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.contact-info-panel > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}
.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.12);
    border-radius: 12px;
    color: var(--primary-light);
    font-size: 1rem;
    flex-shrink: 0;
}
.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.detail-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}
a.detail-value:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-secondary) !important;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}
.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff !important;
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* Contact Form */
.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    backdrop-filter: blur(10px);
}

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

.input-wrapper,
.textarea-wrapper {
    position: relative;
}
.input-wrapper i,
.textarea-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    pointer-events: none;
}
.textarea-wrapper i {
    top: 18px;
    transform: none;
}

.input-wrapper input,
.textarea-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}
.textarea-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}
.input-wrapper input:focus,
.textarea-wrapper textarea:focus {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}
.input-wrapper input:focus + i,
.textarea-wrapper textarea:focus + i,
.input-wrapper input:focus ~ i,
.textarea-wrapper textarea:focus ~ i {
    color: var(--primary-light);
}
/* Fix: icon is BEFORE input in DOM, so we use the focus-within approach */
.input-wrapper:focus-within i,
.textarea-wrapper:focus-within i {
    color: var(--primary-light);
}

.input-wrapper input::placeholder,
.textarea-wrapper textarea::placeholder {
    color: var(--text-muted);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
    position: relative;
}
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
.btn-submit.loading .btn-loader {
    display: block;
}
.btn-submit.loading span,
.btn-submit.loading i {
    display: none;
}

.form-response {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}
.form-response.success {
    display: block;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ADE80;
}
.form-response.error {
    display: block;
    background: rgba(255, 95, 87, 0.1);
    border: 1px solid rgba(255, 95, 87, 0.3);
    color: #FF5F57;
}

/* ============== FOOTER ============== */
.footer {
    background: var(--bg-section);
    padding-top: 0;
    position: relative;
}

.footer-wave {
    color: var(--bg-section);
    line-height: 0;
    margin-top: -2px;
}
.footer-wave svg {
    width: 100%;
    height: 60px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0 24px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}
.footer-links a:hover {
    color: var(--primary-light) !important;
}

.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-secondary) !important;
    font-size: 1rem;
    transition: var(--transition-smooth);
}
.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff !important;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============== BACK TO TOP ============== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glow);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.4);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-left {
        order: 1;
    }
    .hero-right {
        order: 0;
    }
    .hero-badge {
        justify-content: center;
    }
    .hero-title {
        align-items: center;
    }
    .hero-description {
        max-width: 100%;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-avatar-wrapper {
        width: 260px;
        height: 260px;
    }
    .hero-avatar {
        width: 140px;
        height: 140px;
    }
    .avatar-initials {
        font-size: 2.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-left {
        display: flex;
        justify-content: center;
    }
    .about-image-card {
        max-width: 320px;
    }
    .about-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 26, 0.96);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-glass);
        z-index: 1000;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-link {
        padding: 14px 20px;
        font-size: 1rem;
        width: 100%;
        justify-content: flex-start;
    }
    .nav-toggle {
        display: flex;
    }

    .hero-name {
        font-size: 2.5rem;
    }
    .hero-role {
        font-size: 1.2rem;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    .stat-divider {
        display: none;
    }

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

    .about-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 40px;
    }
    .timeline::before {
        left: 15px;
    }
    .timeline-marker {
        left: -33px;
    }
    .marker-dot {
        width: 20px;
        height: 20px;
        font-size: 0.45rem;
    }
    .timeline-card {
        padding: 24px;
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    .floating-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-avatar-wrapper {
        width: 200px;
        height: 200px;
    }
    .hero-avatar {
        width: 110px;
        height: 110px;
    }
    .avatar-initials {
        font-size: 2.2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
}

/* ============== PARTICLE STYLES ============== */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(108, 99, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}
