/* ============================================================
   DIGITAL RESUME – DEEPAK BARAVKAR
   Dark Luxurious Theme with Glass Morphism & Colored Icons
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --bg-primary: #06060b;
    --bg-secondary: #0c0c14;
    --bg-card: rgba(18, 18, 30, 0.65);
    --bg-glass: rgba(22, 22, 38, 0.55);
    --text-primary: #e8e6f0;
    --text-secondary: #9a97ad;
    --text-muted: #6b6880;
    --accent: #7c6df0;
    --accent-dark: #5a4dbf;
    --accent-light: #a78bfa;
    --accent-glow: rgba(124, 109, 240, 0.25);
    --gradient-accent: linear-gradient(135deg, #7c6df0 0%, #a78bfa 50%, #c084fc 100%);
    --gradient-card: linear-gradient(145deg, rgba(26, 26, 46, 0.7), rgba(14, 14, 25, 0.9));
    --border-color: rgba(124, 109, 240, 0.12);
    --border-hover: rgba(124, 109, 240, 0.35);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(124, 109, 240, 0.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-code: 'Fira Code', monospace;
    --nav-height: 70px;
    --section-padding: 100px 0;
    --container-max: 1200px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    cursor: none;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: none; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; cursor: none; }

/* Container */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 6px; height: 6px; background: var(--accent-light); border-radius: 50%;
    position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none;
    transform: translate(-50%, -50%); transition: width .2s, height .2s, background .2s;
}
.cursor-ring {
    width: 36px; height: 36px; border: 1.5px solid var(--accent);
    border-radius: 50%; position: fixed; top: 0; left: 0; z-index: 99998;
    pointer-events: none; transform: translate(-50%, -50%);
    transition: width .25s, height .25s, border-color .25s, background .25s;
}
.cursor-ring.hover { width: 55px; height: 55px; border-color: var(--accent-light); background: rgba(124,109,240,.08); }

/* ===== PRELOADER ===== */
.preloader {
    position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
    background: var(--bg-primary);
    transition: opacity .6s, visibility .6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-text { display: flex; gap: 6px; margin-bottom: 24px; justify-content: center; }
.preloader-text span {
    font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--accent-light);
    display: inline-block; animation: preloaderBounce .6s ease infinite alternate;
}
.preloader-text span:nth-child(2) { animation-delay: .1s; }
.preloader-text span:nth-child(3) { animation-delay: .2s; }
.preloader-text span:nth-child(4) { animation-delay: .3s; }
.preloader-text span:nth-child(5) { animation-delay: .4s; }
.preloader-text span:nth-child(6) { animation-delay: .5s; }
@keyframes preloaderBounce { to { transform: translateY(-12px); color: #c084fc; } }

.preloader-bar { width: 200px; height: 3px; background: rgba(124,109,240,.15); border-radius: 4px; overflow: hidden; margin: 0 auto; }
.preloader-bar-inner { height: 100%; width: 0; background: var(--gradient-accent); border-radius: 4px; animation: preloaderFill 1.6s ease forwards; }
@keyframes preloaderFill { to { width: 100%; } }

/* ===== FLOATING BACKGROUND ORBS ===== */
.bg-orb {
    position: fixed; border-radius: 50%; filter: blur(100px); opacity: .18; pointer-events: none; z-index: 0;
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #7c6df0, transparent); top: -10%; left: -8%; animation: floatOrb1 20s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #c084fc, transparent); bottom: 10%; right: -5%; animation: floatOrb2 25s ease-in-out infinite; }
.orb-3 { width: 350px; height: 350px; background: radial-gradient(circle, #6366f1, transparent); top: 50%; left: 40%; animation: floatOrb3 18s ease-in-out infinite; }
@keyframes floatOrb1 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(80px, 60px); } }
@keyframes floatOrb2 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-60px, -80px); } }
@keyframes floatOrb3 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(50px, -50px); } }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); z-index: 1000;
    transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.navbar.scrolled {
    background: rgba(6, 6, 11, 0.85); backdrop-filter: blur(20px) saturate(1.8);
    box-shadow: 0 2px 30px rgba(0,0,0,.35); border-bottom: 1px solid var(--border-color);
}
.nav-container {
    max-width: var(--container-max); margin: 0 auto; padding: 0 24px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.logo-text { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; color: var(--text-primary); }
.logo-dot { color: var(--accent-light); font-size: 2rem; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
    padding: 8px 16px; font-size: 0.88rem; font-weight: 500; color: var(--text-secondary);
    border-radius: var(--radius-sm); transition: color .3s, background .3s;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--accent-light); }
.nav-link::after {
    content: ''; position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px;
    background: var(--accent); border-radius: 2px; transform: translateX(-50%); transition: width .3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.btn-nav {
    background: var(--accent) !important; color: #fff !important; border-radius: var(--radius-sm) !important;
    padding: 8px 20px !important; font-weight: 600 !important; transition: transform .3s, box-shadow .3s !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); border-radius: 2px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== SECTIONS COMMON ===== */
.section { padding: var(--section-padding); position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px;
    background: rgba(124,109,240,.08); border: 1px solid rgba(124,109,240,.15);
    border-radius: 50px; font-size: 0.82rem; font-weight: 600; color: var(--accent-light);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.section-tag i { font-size: 0.75rem; }
.section-title {
    font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; color: var(--text-primary); line-height: 1.2;
}
.title-underline { display: flex; justify-content: center; margin-top: 16px; }
.title-underline span { width: 60px; height: 3px; background: var(--gradient-accent); border-radius: 4px; }
.section-subtitle { color: var(--text-secondary); font-size: 0.95rem; margin-top: 12px; }

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: border-color .35s, box-shadow .35s, transform .35s;
}
.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px;
    font-size: 0.92rem; font-weight: 600; border-radius: var(--radius-md);
    transition: transform .3s, box-shadow .3s, background .3s;
    position: relative; overflow: hidden;
}
.btn::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,.1) 0%, transparent 50%);
    opacity: 0; transition: opacity .3s;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
    background: var(--gradient-accent); color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(124,109,240,.35); }
.btn-outline {
    border: 1.5px solid var(--accent); color: var(--accent-light);
    background: transparent;
}
.btn-outline:hover { background: rgba(124,109,240,.08); transform: translateY(-3px); }
.btn-ghost {
    color: var(--text-secondary); background: transparent; padding: 14px 22px;
    border: 1px solid var(--border-color);
}
.btn-ghost:hover { color: var(--accent-light); border-color: var(--accent); background: rgba(124,109,240,.06); transform: translateY(-3px); }
.btn-ghost i { font-size: 1rem; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center;
    justify-content: center; position: relative; padding: calc(var(--nav-height) + 40px) 24px 40px;
    overflow: hidden;
}
.hero-grid-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(124,109,240,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,109,240,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask: radial-gradient(ellipse at center, black 30%, transparent 75%);
    mask: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-particles { position: absolute; inset: 0; z-index: 0; }
.hero-content {
    max-width: var(--container-max); width: 100%; display: flex;
    align-items: center; justify-content: space-between; gap: 60px;
    position: relative; z-index: 2; margin: 0 auto;
}
.hero-left { flex: 1; max-width: 600px; }
.hero-right { flex-shrink: 0; }
.hero-greeting {
    font-size: 1.1rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
}
.wave { display: inline-block; animation: wave 2.5s infinite; transform-origin: 70% 70%; font-size: 1.5rem; }
@keyframes wave {
    0%   { transform: rotate(0deg); }
    10%  { transform: rotate(14deg); }
    20%  { transform: rotate(-8deg); }
    30%  { transform: rotate(14deg); }
    40%  { transform: rotate(-4deg); }
    50%  { transform: rotate(10deg); }
    60%  { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}
.hero-name {
    font-family: var(--font-heading); font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800; line-height: 1.1; margin-bottom: 12px;
}
.name-line { display: block; }
.name-line.accent {
    background: var(--gradient-accent); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-title-wrapper {
    display: flex; align-items: center; gap: 10px; font-size: 1.35rem;
    font-weight: 600; margin-bottom: 20px; min-height: 36px;
}
.hero-title-static { color: var(--text-secondary); }
.hero-title-dynamic { color: var(--accent-light); font-family: var(--font-code); }
.typing-cursor { color: var(--accent); animation: blink 1s infinite; font-weight: 300; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-description {
    font-size: 1.02rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 30px; max-width: 520px;
}
.hero-description strong { color: var(--text-primary); font-weight: 600; }
.hero-cta { display: flex; gap: 10px; flex-wrap: nowrap; margin-bottom: 30px; }
.hero-cta .btn { padding: 12px 20px; font-size: 0.88rem; white-space: nowrap; }
.hero-social { display: flex; gap: 16px; }
.hero-social-link {
    width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-color); color: var(--text-secondary); font-size: 1.05rem;
    transition: color .3s, border-color .3s, background .3s, transform .3s;
}
.hero-social-link:hover {
    color: var(--accent-light); border-color: var(--accent);
    background: rgba(124,109,240,.08); transform: translateY(-3px);
}

/* Hero Photo */
.hero-photo-wrapper { position: relative; width: 320px; height: 320px; }
.hero-photo {
    width: 260px; height: 260px; border-radius: 50%; overflow: hidden;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 2; border: 3px solid var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.photo-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    border-radius: 50%; border: 1px solid;
}
.ring-1 { width: 290px; height: 290px; border-color: rgba(124,109,240,.2); animation: ringPulse 4s ease-in-out infinite; }
.ring-2 { width: 320px; height: 320px; border-color: rgba(124,109,240,.12); animation: ringPulse 4s ease-in-out infinite 1.3s; }
.ring-3 { width: 350px; height: 350px; border-color: rgba(124,109,240,.06); animation: ringPulse 4s ease-in-out infinite 2.6s; }
@keyframes ringPulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 50% { transform: translate(-50%, -50%) scale(1.06); opacity: .5; } }

/* Floating Badges */
.floating-badge {
    position: absolute; width: 48px; height: 48px; border-radius: 50%;
    background: var(--bg-glass); backdrop-filter: blur(10px);
    border: 1px solid var(--border-color); display: flex; align-items: center;
    justify-content: center; font-size: 1.4rem; z-index: 3;
    box-shadow: var(--shadow-sm);
}
.badge-1 { top: 5%; left: 10%; animation: floatBadge 6s ease-in-out infinite; }
.badge-2 { top: 0%; right: 12%; animation: floatBadge 7s ease-in-out infinite .8s; }
.badge-3 { top: 40%; left: -8%; animation: floatBadge 5s ease-in-out infinite 1.5s; }
.badge-4 { top: 40%; right: -8%; animation: floatBadge 6.5s ease-in-out infinite 2s; }
.badge-5 { bottom: 5%; left: 8%; animation: floatBadge 5.5s ease-in-out infinite 0.5s; }
.badge-6 { bottom: 0%; right: 10%; animation: floatBadge 7.5s ease-in-out infinite 1s; }
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Hero Stats Bar */
.hero-stats-bar {
    display: flex; align-items: center; justify-content: center; gap: 0;
    margin-top: 50px; position: relative; z-index: 2;
    background: var(--bg-glass); backdrop-filter: blur(16px);
    border: 1px solid var(--border-color); border-radius: var(--radius-xl);
    padding: 20px 40px;
}
.stat-item { text-align: center; padding: 0 32px; }
.stat-number {
    font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800;
    background: var(--gradient-accent); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-suffix {
    font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800;
    background: var(--gradient-accent); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border-color); }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: 2px;
    animation: scrollBounce 2s infinite;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent); }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* ===== ABOUT ===== */
.about-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
.about-lead { font-size: 1.12rem; color: var(--text-primary); line-height: 1.9; margin-bottom: 18px; }
.about-text p { color: var(--text-secondary); line-height: 1.85; margin-bottom: 16px; }
.about-text strong { color: var(--text-primary); font-weight: 600; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.highlight-item {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    background: rgba(124,109,240,.05); border: 1px solid rgba(124,109,240,.1);
    border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--text-secondary);
}
.highlight-item i { color: var(--accent-light); font-size: .9rem; }

/* Info Card */
.info-card { padding: 28px; }
.info-card-title {
    font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
    margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
    color: var(--text-primary);
}
.info-card-title i { color: var(--accent); }
.info-grid { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; align-items: center; gap: 14px; }
.info-icon {
    width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center;
    justify-content: center; font-size: 0.9rem; flex-shrink: 0;
    background: rgba(var(--ic-rgb, 124,109,240), .1);
    color: var(--ic, var(--accent));
}
.info-icon[style] { color: var(--ic); background: color-mix(in srgb, var(--ic) 12%, transparent); }
.info-label { display: block; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.info-value { font-size: 0.9rem; font-weight: 500; color: var(--text-primary); }
.info-value a { color: var(--accent-light); transition: color .3s; }
.info-value a:hover { color: var(--accent); }

/* ===== EXPERIENCE / TIMELINE ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(124,109,240,.1)); border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
    position: absolute; left: -40px; top: 24px; width: 38px;
    display: flex; align-items: center; justify-content: center;
}
.marker-dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--bg-secondary); border: 3px solid var(--accent);
    position: relative;
}
.marker-dot.pulse::after {
    content: ''; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid var(--accent); animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

.timeline-content { padding: 28px; }
.timeline-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    border-radius: 50px; margin-bottom: 14px;
}
.timeline-badge.current { background: rgba(124,109,240,.12); color: var(--accent-light); }
.timeline-badge i { font-size: 6px; }
.timeline-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.timeline-company {
    display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
    font-size: 0.88rem; color: var(--text-secondary);
}
.company-badge {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 4px 14px; background: var(--gradient-accent); color: #fff;
    font-size: 0.75rem; font-weight: 700; border-radius: 6px; letter-spacing: .5px;
}
.timeline-date { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.timeline-date i { color: var(--accent); font-size: .75rem; }
.timeline-details { padding-left: 18px; margin-bottom: 16px; }
.timeline-details li {
    position: relative; font-size: 0.9rem; line-height: 1.75; color: var(--text-secondary);
    padding-left: 14px; margin-bottom: 6px;
}
.timeline-details li::before {
    content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px;
    border-radius: 50%; background: var(--accent);
}
.timeline-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px;
    font-size: 0.78rem; font-weight: 500; background: rgba(124,109,240,.07);
    border: 1px solid rgba(124,109,240,.12); border-radius: 50px; color: var(--text-secondary);
    transition: background .3s, color .3s, border-color .3s;
}
.skill-chip:hover { background: rgba(124,109,240,.15); color: var(--accent-light); border-color: rgba(124,109,240,.3); }
.skill-chip i { font-size: 0.85rem; }

/* ===== SKILLS ===== */
.skills-filter {
    display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 20px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
    border: 1px solid var(--border-color); border-radius: 50px;
    transition: all .3s; background: transparent;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-light); }
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.skills-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px;
}
.skill-card {
    padding: 24px 18px; text-align: center; background: var(--bg-glass);
    backdrop-filter: blur(10px); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); transition: all .4s;
}
.skill-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow-glow); }
.skill-card.hidden { display: none; }
.skill-icon {
    width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 14px; font-size: 1.6rem;
    background: color-mix(in srgb, var(--icon-color, var(--accent)) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--icon-color, var(--accent)) 20%, transparent);
    transition: transform .3s;
}
.skill-card:hover .skill-icon { transform: scale(1.1); }
.skill-card h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); }
.skill-bar {
    height: 4px; background: rgba(255,255,255,.06); border-radius: 4px;
    overflow: hidden; margin-bottom: 8px;
}
.skill-fill {
    height: 100%; width: 0; border-radius: 4px;
    background: linear-gradient(90deg, var(--bar-color, var(--accent)), color-mix(in srgb, var(--bar-color, var(--accent)) 60%, #fff));
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.skill-level { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ===== EDUCATION ===== */
.education-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.edu-card {
    padding: 28px; text-align: center; position: relative; overflow: hidden;
    transition: transform .4s, border-color .4s, box-shadow .4s;
}
.edu-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--edu-accent, var(--accent)), color-mix(in srgb, var(--edu-accent, var(--accent)) 50%, #fff));
}
.edu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.edu-year {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem; color: var(--text-muted); font-weight: 500;
    margin-bottom: 14px; padding: 4px 12px;
    background: rgba(124,109,240,.06); border-radius: 50px;
}
.edu-year i { font-size: .7rem; color: var(--accent); }
.edu-icon {
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 14px; font-size: 1.2rem;
    background: rgba(124,109,240,.08); color: var(--edu-accent, var(--accent));
}
.edu-institution { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.edu-degree { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 18px; }

/* Score Circle */
.edu-score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.score-circle { width: 70px; height: 70px; position: relative; }
.score-circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-bg { fill: none; stroke: rgba(124,109,240,.1); stroke-width: 2.5; }
.score-fill { fill: none; stroke: var(--edu-accent, var(--accent)); stroke-width: 2.5; stroke-linecap: round; transition: stroke-dasharray 1.5s ease; }
.score-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 0.85rem; font-weight: 700; font-family: var(--font-code); color: var(--text-primary);
}
.score-label { font-size: 0.72rem; color: var(--text-muted); }

/* ===== PUBLICATIONS ===== */
.publication-card {
    padding: 36px; display: flex; gap: 30px; align-items: flex-start;
    max-width: 800px; margin: 0 auto;
}
.pub-icon-wrapper {
    width: 70px; height: 70px; border-radius: 18px; display: flex; align-items: center;
    justify-content: center; font-size: 1.8rem; flex-shrink: 0;
    background: rgba(124,109,240,.1); color: var(--accent-light);
    border: 1px solid rgba(124,109,240,.15);
}
.pub-content { flex: 1; }
.pub-badge {
    display: inline-block; padding: 4px 14px; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px; border-radius: 50px;
    background: rgba(124,109,240,.1); color: var(--accent-light); margin-bottom: 12px;
}
.pub-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.pub-details { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; }
.pub-details strong { color: var(--text-primary); }
.pub-meta {
    display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 20px; font-size: 0.82rem; color: var(--text-muted);
}
.pub-meta span { display: flex; align-items: center; gap: 6px; }
.pub-meta i { color: var(--accent); font-size: .75rem; }
.pub-btn { width: fit-content; }

/* ===== PROJECTS ===== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.project-card {
    padding: 28px; position: relative; overflow: hidden;
    transition: transform .4s, box-shadow .4s;
}
.project-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--proj-color, var(--accent)), transparent);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.project-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.project-icon {
    width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center;
    justify-content: center; font-size: 1.3rem;
    background: color-mix(in srgb, var(--proj-color, var(--accent)) 12%, transparent);
    color: var(--proj-color, var(--accent));
    border: 1px solid color-mix(in srgb, var(--proj-color, var(--accent)) 20%, transparent);
}
.project-links { display: flex; align-items: center; gap: 10px; }
.project-tag {
    padding: 4px 12px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; border-radius: 50px;
    background: rgba(124,109,240,.08); color: var(--accent-light);
    border: 1px solid rgba(124,109,240,.12);
}
.project-tag.live { background: rgba(46,204,113,.1); color: #2ecc71; border-color: rgba(46,204,113,.15); }
.project-link-icon {
    width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; border: 1px solid var(--border-color); color: var(--text-secondary);
    font-size: 0.82rem; transition: all .3s;
}
.project-link-icon:hover { border-color: var(--accent); color: var(--accent-light); background: rgba(124,109,240,.06); }
.project-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.project-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; }
.project-meta i { color: var(--accent); font-size: .75rem; }
.project-mentor { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.project-mentor i { color: var(--accent); font-size: .75rem; }
.project-description { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.project-description strong { color: var(--text-primary); }
.project-tech { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tech span {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 12px; font-size: 0.76rem; font-weight: 500;
    background: rgba(124,109,240,.06); border: 1px solid rgba(124,109,240,.08);
    border-radius: 50px; color: var(--text-muted); transition: all .3s;
}
.project-tech span:hover { background: rgba(124,109,240,.12); color: var(--text-secondary); }
.project-tech span i { font-size: .82rem; }

/* ===== CONTACT ===== */
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-lead { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
    display: flex; align-items: center; gap: 16px; padding: 18px 22px;
    transition: transform .3s, border-color .3s;
}
.contact-card:hover { transform: translateX(6px); border-color: var(--border-hover); }
.contact-card-icon {
    width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-size: 1.1rem; flex-shrink: 0;
    background: color-mix(in srgb, var(--c-color, var(--accent)) 10%, transparent);
    color: var(--c-color, var(--accent));
    border: 1px solid color-mix(in srgb, var(--c-color, var(--accent)) 18%, transparent);
}
.contact-card h4 { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.contact-card p { font-size: 0.82rem; color: var(--text-secondary); }

/* Contact Form */
.contact-form { padding: 32px; }
.form-title {
    font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 24px;
    color: var(--text-primary);
}
.form-group { position: relative; margin-bottom: 24px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 0; font-size: 0.95rem; background: transparent;
    border: none; border-bottom: 1px solid var(--border-color); color: var(--text-primary);
    outline: none; transition: border-color .3s;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group label {
    position: absolute; top: 14px; left: 0; font-size: 0.9rem; color: var(--text-muted);
    pointer-events: none; transition: all .3s;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px; font-size: 0.72rem; color: var(--accent-light); letter-spacing: .5px;
}
.form-line {
    position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--gradient-accent); transition: width .4s;
}
.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line { width: 100%; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ===== FOOTER ===== */
.footer {
    position: relative; z-index: 1; background: var(--bg-secondary); padding: 0;
    border-top: 1px solid var(--border-color);
}
.footer-wave {
    position: relative; top: -1px; width: 100%; color: var(--bg-secondary);
    margin-top: -1px;
}
.footer-wave svg { display: block; width: 100%; height: 60px; }
.footer-content { text-align: center; padding: 30px 0 40px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text { font-size: 1.5rem; }
.footer-logo p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.footer-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 20px; }
.social-link {
    width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; border: 1px solid var(--border-color); color: var(--text-secondary);
    font-size: 1rem; transition: all .3s;
}
.social-link:hover {
    color: var(--accent-light); border-color: var(--accent);
    background: rgba(124,109,240,.08); transform: translateY(-3px);
}
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 46px; height: 46px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; font-size: 1rem; z-index: 999;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all .4s; box-shadow: 0 4px 20px var(--accent-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(124,109,240,.4); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0; transition: opacity .7s ease, transform .7s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
    opacity: 1; transform: translate(0);
}

/* ===== HERO PARTICLE ===== */
.particle {
    position: absolute; width: 3px; height: 3px; border-radius: 50%;
    background: var(--accent); opacity: .3; pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column-reverse; text-align: center; gap: 30px; }
    .hero-left { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero-description { max-width: 100%; }
    .hero-cta { justify-content: center; flex-wrap: wrap; }
    .hero-cta .btn { padding: 12px 18px; font-size: 0.85rem; }
    .hero-social { justify-content: center; }
    .hero-photo-wrapper { width: 280px; height: 280px; }
    .hero-photo { width: 220px; height: 220px; }
    .ring-1 { width: 250px; height: 250px; }
    .ring-2 { width: 280px; height: 280px; }
    .ring-3 { width: 310px; height: 310px; }
    .hero-greeting { margin-top: 10px; }
    .about-content { grid-template-columns: 1fr; }
    .contact-content { grid-template-columns: 1fr; }
    .publication-card { flex-direction: column; align-items: center; text-align: center; }
    .pub-meta { justify-content: center; }
}

@media (max-width: 768px) {
    :root { --section-padding: 70px 0; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(6,6,11,.96); backdrop-filter: blur(30px);
        flex-direction: column; align-items: flex-start; padding: 90px 30px 30px;
        gap: 8px; transition: right .4s cubic-bezier(.77,0,.18,1);
        border-left: 1px solid var(--border-color);
    }
    .nav-links.active { right: 0; }
    .nav-toggle { display: flex; }
    .nav-link { padding: 12px 16px; width: 100%; font-size: 1rem; }
    .btn-nav { width: 100% !important; text-align: center; justify-content: center; }
    .hero-name { font-size: clamp(2rem, 8vw, 3.2rem); }
    .hero-title-wrapper { font-size: 1.1rem; }
    .hero-stats-bar { flex-wrap: wrap; gap: 20px; padding: 24px 20px; }
    .stat-divider { display: none; }
    .stat-item { padding: 0 16px; }
    .floating-badge { display: none; }
    .skills-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .projects-grid { grid-template-columns: 1fr; }
    .education-grid { grid-template-columns: 1fr 1fr; }
    .about-highlights { grid-template-columns: 1fr; }
    .hero-cta .btn { padding: 10px 16px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
    .hero-stats-bar { flex-direction: column; gap: 16px; }
    .education-grid { grid-template-columns: 1fr; }
    .hero-photo-wrapper { width: 240px; height: 240px; }
    .hero-photo { width: 190px; height: 190px; }
    .ring-1 { width: 220px; height: 220px; }
    .ring-2 { width: 240px; height: 240px; }
    .ring-3 { width: 260px; height: 260px; }
    .cursor-dot, .cursor-ring { display: none; }
    body { cursor: auto; }
    a, button, input, textarea { cursor: auto; }
}

/* ===== HIDDEN ATS RESUME (screen) ===== */
.ats-resume {
    display: none;
}

/* ===== ATS RESUME PRINT/PDF STYLES ===== */
@media print {
    /* Hide everything except the ATS resume */
    body > *:not(#atsResume) { display: none !important; }
    .preloader, .cursor-dot, .cursor-ring, .bg-orb, .back-to-top,
    .navbar, .hero, .section, .footer { display: none !important; }

    body {
        background: #fff !important; color: #1a1a1a !important;
        font-family: 'Calibri', 'Arial', 'Helvetica Neue', sans-serif !important;
        font-size: 10.5pt !important; line-height: 1.5 !important;
        margin: 0 !important; padding: 0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        cursor: auto;
    }

    .ats-resume {
        display: block !important; position: static !important;
        width: 100% !important; background: #fff !important;
    }
    .ats-page {
        max-width: 100% !important; margin: 0 !important;
        padding: 0.35in 0.55in 0.35in 0.55in !important;
        box-shadow: none !important; border: none !important;
    }

    /* Header - centered with accent color name */
    .ats-header {
        text-align: center; margin-bottom: 6pt;
        padding-bottom: 8pt;
        border-bottom: 2.5pt solid #2c3e7a !important;
    }
    .ats-header h1 {
        font-size: 22pt !important; font-weight: 700 !important;
        color: #1a2456 !important; margin: 0 0 4pt 0 !important;
        font-family: 'Calibri', 'Arial', sans-serif !important;
        letter-spacing: 2.5pt; text-transform: uppercase;
    }
    .ats-title {
        font-size: 10.5pt !important; color: #2c3e7a !important;
        margin: 0 0 5pt 0 !important; font-weight: 600;
        letter-spacing: 0.5pt;
    }
    .ats-contact {
        font-size: 9.5pt !important; color: #333 !important; margin: 0 !important;
        line-height: 1.6 !important;
    }

    /* Section headings with accent color bar */
    .ats-section { margin-bottom: 8pt; }
    .ats-section h2 {
        font-size: 11.5pt !important; font-weight: 700 !important;
        color: #1a2456 !important; text-transform: uppercase !important;
        letter-spacing: 1.5pt !important; margin: 6pt 0 2pt 0 !important;
        font-family: 'Calibri', 'Arial', sans-serif !important;
        padding-bottom: 1pt !important;
    }
    .ats-divider {
        border: none !important;
        border-bottom: 1.5pt solid #2c3e7a !important;
        margin-bottom: 6pt !important;
    }
    .ats-section > p {
        font-size: 10.5pt !important; color: #222 !important;
        margin: 0 0 4pt 0 !important; line-height: 1.55 !important;
    }
    .ats-section ul {
        margin: 2pt 0 4pt 16pt !important; padding: 0 !important;
    }
    .ats-section li {
        font-size: 10.5pt !important; color: #222 !important;
        margin-bottom: 1.5pt !important; line-height: 1.5 !important;
    }

    /* Skills table with left accent border */
    .ats-skills-table {
        width: 100% !important; border-collapse: collapse !important;
        margin: 2pt 0 !important;
    }
    .ats-skills-table tr {
        border-bottom: 0.5pt solid #e0e0e0 !important;
    }
    .ats-skills-table tr:last-child { border-bottom: none !important; }
    .ats-skills-table td {
        font-size: 10.5pt !important; padding: 3pt 8pt 3pt 0 !important;
        vertical-align: top !important; color: #222 !important;
        border: none !important;
    }
    .ats-skill-cat {
        font-weight: 700 !important; white-space: nowrap !important;
        width: 105pt !important; color: #1a2456 !important;
    }

    /* Job entries */
    .ats-job { margin-bottom: 7pt; }
    .ats-job-header {
        display: flex !important; justify-content: space-between !important;
        align-items: baseline !important;
    }
    .ats-job-header div {
        font-size: 10.5pt !important; color: #000 !important;
    }
    .ats-job-header div:last-child {
        color: #444 !important; font-size: 10pt !important;
    }
    .ats-job-sub {
        display: flex !important; justify-content: space-between !important;
        font-size: 10pt !important; color: #555 !important;
        font-style: italic !important; margin-bottom: 2pt !important;
    }

    /* Project descriptions */
    .ats-proj-desc {
        font-size: 10pt !important; color: #333 !important;
        margin: 2pt 0 2pt 0 !important; line-height: 1.5 !important;
    }
    .ats-proj-tech {
        font-size: 10pt !important; color: #333 !important;
        margin: 0 0 5pt 0 !important;
    }

    /* Page break control */
    .ats-section { page-break-inside: avoid; }
    .ats-job { page-break-inside: avoid; }
    h2 { page-break-after: avoid !important; }
}
