/* ==========================================================================
   ARIHANT JAIN PORTFOLIO — 2026 ULTRA-FUTURISTIC AI & MOBILE ARCHITECT
   DESIGN SYSTEM & CSS STYLESHEET (NO ORANGE — COBALT & CYBER MINT PALETTE)
   THEME PALETTES: COBALT ACCENT (#2E5FFF) + SEA GLASS MINT (#00F2FE / #4FD1C5) + ICY LAVENDER (#8B5CF6)
   FONTS: POPPINS (CORE), OUTFIT (DISPLAY), ORBITRON (CYBER AI), PLAYFAIR (SERIF)
   ENHANCED WITH 60FPS GPU-ACCELERATED @KEYFRAMES & ULTRA-SMOOTH TRANSITIONS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800;900&family=Outfit:wght@300;400;600;700;800;900&family=Playfair+Display:ital,wght@0,600;1,400&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', 'Poppins', sans-serif;
    --font-cyber: 'Orbitron', 'Outfit', sans-serif;
    --font-editorial: 'Playfair Display', Georgia, serif;
    
    /* Optimized Cubic-Bezier Transitions */
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-elastic: all 0.75s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Futuristic Glows & Shadows */
    --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.35);
    --shadow-card: 0 20px 45px rgba(0, 0, 0, 0.35);
    --shadow-accent: 0 10px 30px rgba(46, 95, 255, 0.35);
    --shadow-neon: 0 0 20px rgba(0, 242, 254, 0.6), 0 0 40px rgba(46, 95, 255, 0.4);
}

/* 🌙 2026 AI DARK THEME (COBALT & CYBER MINT) */
[data-theme="dark"] {
    --bg-color: #0b1020;
    --bg-alt: #070d1a;
    --card-bg: rgba(14, 27, 42, 0.75);
    --card-border: rgba(255, 255, 255, 0.09);
    --card-hover-border: rgba(0, 242, 254, 0.5);
    --text-color: #f2f4f8;
    --text-muted: #94a3b8;
    
    --primary: #2e5fff;
    --primary-hover: #4d77ff;
    --secondary: #00f2fe;
    --accent-cyan: #00f2fe;
    --accent-purple: #8b5cf6;
    --accent-emerald: #4fd1c5;
    
    --accent-gradient: linear-gradient(135deg, #2e5fff 0%, #00f2fe 50%, #8b5cf6 100%);
    --gradient-primary: linear-gradient(135deg, #2e5fff 0%, #00f2fe 100%);
    --holographic-gradient: linear-gradient(120deg, #2e5fff 0%, #00f2fe 35%, #8b5cf6 70%, #2e5fff 100%);
    --conic-glow: conic-gradient(from 0deg, #2e5fff, #00f2fe, #8b5cf6, #4fd1c5, #2e5fff);
    
    --nav-bg: rgba(11, 16, 32, 0.88);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-hover-border: rgba(0, 242, 254, 0.5);
    --chip-bg: rgba(255, 255, 255, 0.05);
}

/* ☀️ 2026 AI LIGHT THEME (PALE PERIWINKLE & DEEP COBALT) */
[data-theme="light"] {
    --bg-color: #f2f4f8;
    --bg-alt: #e9eef5;
    --card-bg: rgba(255, 255, 255, 0.88);
    --card-border: rgba(15, 23, 42, 0.08);
    --card-hover-border: rgba(46, 95, 255, 0.45);
    --text-color: #0b1020;
    --text-muted: #475569;
    
    --primary: #2e5fff;
    --primary-hover: #142a6e;
    --secondary: #0284c7;
    --accent-cyan: #0284c7;
    --accent-purple: #6366f1;
    --accent-emerald: #059669;
    
    --accent-gradient: linear-gradient(135deg, #2e5fff 0%, #0284c7 50%, #6366f1 100%);
    --gradient-primary: linear-gradient(135deg, #2e5fff 0%, #0284c7 100%);
    --holographic-gradient: linear-gradient(120deg, #2e5fff 0%, #0284c7 40%, #6366f1 75%, #2e5fff 100%);
    --conic-glow: conic-gradient(from 0deg, #2e5fff, #0284c7, #6366f1, #059669, #2e5fff);
    
    --nav-bg: rgba(242, 244, 248, 0.90);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-hover-border: rgba(46, 95, 255, 0.45);
    --chip-bg: rgba(15, 23, 42, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* ==========================================================================
   ✨ 1. CUSTOM ANIMATED FUTURISTIC SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent-purple));
    background-size: 100% 300%;
    animation: scrollbarFlow 6s linear infinite;
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
    box-shadow: var(--shadow-glow);
}

@keyframes scrollbarFlow {
    0% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

/* ==========================================================================
   🔮 2. GLASSMORPHISM & DYNAMIC BORDER ANIMATIONS
   ========================================================================== */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transform: skewX(-25deg);
    pointer-events: none;
}

.glass-card:hover::before {
    animation: glassShimmer 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes glassShimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ==========================================================================
   🤖 3. AI CYBER SPLASH SCREEN & INTRO ANIMATIONS
   ========================================================================== */
.splash-screen.editorial-splash {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3.5rem 6%;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

.ai-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(46, 95, 255, 0.07) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 242, 254, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    animation: gridScan 20s linear infinite;
}

@keyframes gridScan {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

.splash-screen.fade-out {
    opacity: 0;
    transform: translateY(-100%) scale(0.98);
    pointer-events: none;
}

.splash-content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    animation: splashFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splashFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.splash-header-tag {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-cyber);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    text-transform: uppercase;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.2rem;
}

.splash-tag-left i {
    color: var(--primary);
    margin-right: 6px;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.splash-giant-title-box {
    margin: auto 0;
}

.splash-giant-title {
    font-family: var(--font-display);
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    animation: titleFloat 4s ease-in-out infinite alternate;
}

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

.cyber-cyan-glow {
    font-family: var(--font-cyber) !important;
    color: var(--accent-cyan);
    text-shadow: 0 0 25px rgba(0, 242, 254, 0.5), 0 0 50px rgba(0, 242, 254, 0.25);
    animation: neonGlowPulse 2.5s infinite alternate;
}

@keyframes neonGlowPulse {
    0% {
        text-shadow: 0 0 15px rgba(0, 242, 254, 0.4), 0 0 30px rgba(46, 95, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 35px rgba(0, 242, 254, 0.8), 0 0 70px rgba(46, 95, 255, 0.6), 0 0 100px rgba(139, 92, 246, 0.4);
    }
}

.splash-footer-bar {
    display: grid;
    grid-template-columns: 1.2fr 2fr 0.8fr;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.splash-status-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.splash-dot-pulse.ai-cyan-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 14px var(--primary);
    animation: dotPulse 1.5s infinite ease-in-out alternate, dotColorShift 6s ease-in-out infinite;
}

@keyframes dotPulse {
    0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 8px var(--primary); }
    100% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 20px var(--secondary); }
}

@keyframes dotColorShift {
    0%, 100% { background: var(--primary); }
    50% { background: var(--secondary); }
}

.splash-loader-bar {
    width: 100%;
    height: 5px;
    background: var(--chip-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.splash-loader-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-gradient);
    background-size: 200% 100%;
    animation: loaderGradientShift 2s linear infinite;
    transition: width 0.1s linear;
}

@keyframes loaderGradientShift {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.splash-counter-box {
    text-align: right;
    font-family: var(--font-cyber);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-color);
}

.splash-counter-symbol {
    font-size: 1.5rem;
    color: var(--primary);
    animation: blinkCursor 0.6s infinite alternate;
}

/* ==========================================================================
   🌌 4. AI BACKGROUND CANVAS & AMBIENT ORB ANIMATIONS
   ========================================================================== */
.ai-background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    opacity: 0.55;
}

.hero-glow-orb {
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.28;
    will-change: transform;
}

.orb-sky {
    top: 10%;
    left: -10%;
    background: var(--primary);
    animation: orbFloatSky 12s ease-in-out infinite alternate;
}

.orb-amber {
    bottom: 5%;
    right: -5%;
    background: var(--accent-cyan);
    animation: orbFloatCyan 15s ease-in-out infinite alternate;
}

@keyframes orbFloatSky {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(120px, 80px) scale(1.18); }
    100% { transform: translate(40px, -60px) scale(0.9); }
}

@keyframes orbFloatCyan {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, -90px) scale(1.22); }
    100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* 💡 AMBIENT CURSOR GLOW SPOTLIGHT WITH BREATHING ANIMATION */
.cursor-glow {
    position: fixed;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.14) 0%, rgba(46, 95, 255, 0.07) 45%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    animation: spotlightBreathe 4s ease-in-out infinite alternate;
}

@keyframes spotlightBreathe {
    0% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* ==========================================================================
   📌 5. NAVBAR & ANIMATED NAVIGATION ITEMS
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 6%;
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.8rem 6%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--card-hover-border);
}

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

.profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.profile:hover {
    transform: scale(1.03);
}

.profile-avatar-wrapper {
    position: relative;
}

.profile-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 14px rgba(46, 95, 255, 0.45);
    transition: var(--transition-bounce);
}

.profile:hover .profile-img {
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
    transform: rotate(6deg);
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-emerald);
    border: 2px solid var(--bg-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: indicatorBeacon 2s infinite ease-in-out;
}

@keyframes indicatorBeacon {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name, .profile p {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.profile-status {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-list li:not(.resume-btn) a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-icon {
    font-size: 0.85rem;
    color: var(--primary);
    opacity: 0.85;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-list li:not(.resume-btn) a:hover .nav-icon {
    transform: translateY(-2px) rotate(15deg);
    color: var(--secondary);
}

.nav-list li:not(.resume-btn) a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px var(--secondary);
}

.nav-list li:not(.resume-btn) a:hover {
    color: var(--primary);
}

.nav-list li:not(.resume-btn) a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

.nav-list li a.active {
    color: var(--primary);
    font-weight: 700;
}

.resume-btn {
    background: var(--accent-gradient);
    background-size: 200% 200%;
    padding: 10px 24px;
    border-radius: 30px;
    margin-left: 1rem;
    box-shadow: 0 4px 18px rgba(46, 95, 255, 0.35);
    transition: var(--transition-bounce);
    animation: gradientShiftBtn 4s ease infinite;
}

.resume-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.55);
}

@keyframes gradientShiftBtn {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.resume-btn a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--chip-bg);
    border: 1px solid var(--glass-border);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-bounce);
}

.theme-toggle:hover {
    color: var(--secondary);
    border-color: var(--secondary);
    transform: rotate(180deg) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.mobile-menu {
    display: none;
    background: var(--chip-bg);
    border: 1px solid var(--glass-border);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.mobile-menu:hover {
    transform: scale(1.1);
    border-color: var(--primary);
}

/* ==========================================================================
   🚀 6. HERO SECTION & PORTRAIT LEVITATION ANIMATIONS
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 6% 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-banner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(14px);
    opacity: 0.18;
    transform: scale(1.08);
    pointer-events: none;
    animation: bannerPan 25s ease-in-out infinite alternate;
}

@keyframes bannerPan {
    0% { transform: scale(1.08) translate(0, 0); }
    100% { transform: scale(1.15) translate(-15px, -10px); }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, transparent 20%, var(--bg-color) 80%);
    pointer-events: none;
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 30px;
    background: var(--chip-bg);
    border: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-bounce);
    animation: badgeFloat 3s ease-in-out infinite alternate;
}

.ai-badge:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    transform: translateY(-3px);
}

@keyframes badgeFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.ai-sparkle {
    color: var(--primary);
    animation: sparkleSpin 3s infinite linear;
}

@keyframes sparkleSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.25); }
    100% { transform: rotate(360deg) scale(1); }
}

.ai-badge-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    animation: heroTitleEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroTitleEntrance {
    0% { opacity: 0; transform: translateY(30px) filter(blur(10px)); }
    100% { opacity: 1; transform: translateY(0) filter(blur(0)); }
}

.holographic-text {
    background: var(--holographic-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineGradient 6s linear infinite;
}

@keyframes shineGradient {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 630px;
}

.auto-typing {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    min-height: 2.4rem;
}

.typing-highlight {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(46, 95, 255, 0.4);
}

.typing-cursor {
    color: var(--primary);
    animation: blinkCursor 0.8s infinite;
}

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

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

/* Professional Organic Profile Presentation & Levitating Portrait */
.hero-profile-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.profile-glow-ring {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 95, 255, 0.3) 0%, rgba(0, 242, 254, 0.2) 50%, transparent 70%);
    filter: blur(28px);
    animation: pulseRing 6s ease-in-out infinite alternate;
}

.ring-amber {
    width: 420px;
    height: 420px;
    animation: pulseRing 8s ease-in-out infinite alternate-reverse;
}

@keyframes pulseRing {
    0% { transform: scale(0.88) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.05) rotate(90deg); opacity: 0.85; }
    100% { transform: scale(1.15) rotate(180deg); opacity: 0.95; }
}

.profile-portrait-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, rgba(46, 95, 255, 0.85), rgba(0, 242, 254, 0.85), rgba(139, 92, 246, 0.85));
    background-size: 200% 200%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
    z-index: 2;
    animation: avatarLevitate 5s ease-in-out infinite alternate, portraitGradient 8s ease infinite;
}

.profile-portrait-wrapper:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 85px rgba(0, 242, 254, 0.6);
}

@keyframes avatarLevitate {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-16px) rotate(1.5deg); }
}

@keyframes portraitGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.profile-portrait {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-color);
    transition: var(--transition-smooth);
}

.profile-chips-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

/* Floating 3D Tech Chips with Micro-Physics */
.floating-chip {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 10px 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-bounce);
    pointer-events: auto;
}

.floating-chip:hover {
    transform: translateY(-8px) scale(1.08) !important;
    border-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.4);
}

.chip-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    animation: chipIconSpin 8s ease-in-out infinite alternate;
}

@keyframes chipIconSpin {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.chip-text {
    display: flex;
    flex-direction: column;
}

.chip-text strong {
    font-size: 0.88rem;
    color: var(--text-color);
    line-height: 1.2;
}

.chip-text span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.chip-1 {
    top: 2%;
    left: -25px;
    animation: floatChip1 5s ease-in-out infinite alternate;
}

.chip-2 {
    bottom: 5%;
    left: -15px;
    animation: floatChip2 6s ease-in-out infinite alternate;
}

.chip-3 {
    top: 45%;
    right: -30px;
    animation: floatChip3 7s ease-in-out infinite alternate;
}

@keyframes floatChip1 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-16px) rotate(-3deg); }
}

@keyframes floatChip2 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(16px) rotate(3deg); }
}

@keyframes floatChip3 {
    0% { transform: translateX(0px) translateY(0px); }
    100% { transform: translateX(14px) translateY(-10px); }
}

/* ==========================================================================
   ⚡ 7. INFINITE MARQUEE TICKER WITH GLOW & DRIFT
   ========================================================================== */
.tech-marquee-wrapper {
    background: var(--bg-alt);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}

.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt), transparent);
}

.tech-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt), transparent);
}

.marquee-track {
    display: flex;
    gap: 3.5rem;
    white-space: nowrap;
    animation: marqueeRun 28s linear infinite;
    will-change: transform;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.marquee-track span:hover {
    color: var(--secondary);
    text-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
    transform: scale(1.05);
}

.marquee-track .divider {
    color: var(--primary);
    animation: dividerRotate 4s linear infinite;
}

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

@keyframes marqueeRun {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   🛠️ 8. SECTIONS, HEADERS & REVEAL ANIMATIONS
   ========================================================================== */
section {
    padding: 110px 6%;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.8rem;
    background: var(--chip-bg);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-bounce);
}

.section-header:hover .section-tag {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   🛠️ 9. SKILLS CARDS & 3D INTERACTION ANIMATIONS
   ========================================================================== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.8rem;
    max-width: 1280px;
    margin: 0 auto;
    perspective: 1000px;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: var(--conic-glow);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.skill-card:hover::after {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-12px) rotateX(6deg) rotateY(-4deg) scale(1.03);
    border-color: var(--card-hover-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 242, 254, 0.25);
}

.skill-icon-bg {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--chip-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    overflow: hidden;
    padding: 10px;
    transition: var(--transition-bounce);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.skill-card:hover .skill-icon-bg {
    transform: scale(1.15) rotate(12deg);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
    background: rgba(0, 242, 254, 0.1);
}

.skill-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.skill-card:hover .skill-img {
    transform: scale(1.08);
}

.skill-card p {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.skill-card p a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.skill-card p a:hover {
    color: var(--primary);
}

.skill-level {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   📺 10. PLACEMENT SERIES CARDS & MEDIA ANIMATIONS
   ========================================================================== */
.series-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
    max-width: 1320px;
    margin: 0 auto;
}

.series-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
    position: relative;
}

.series-card:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: var(--card-hover-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(46, 95, 255, 0.25);
}

.series-card-media {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.series-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.series-card:hover .series-card-img {
    transform: scale(1.12);
}

.series-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 16, 32, 0.85) 0%, transparent 65%);
    transition: opacity 0.4s ease;
}

.series-card:hover .series-card-overlay {
    opacity: 0.9;
}

.series-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(11, 16, 32, 0.85);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
}

.series-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(46, 95, 255, 0.95);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    padding-left: 4px;
    box-shadow: 0 10px 28px rgba(46, 95, 255, 0.45);
    transition: var(--transition-bounce);
    text-decoration: none;
    z-index: 5;
}

.series-play-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-bounce);
}

.series-card:hover .series-play-btn {
    transform: translate(-50%, -50%) scale(1.18);
    background: var(--primary);
    box-shadow: 0 14px 35px rgba(0, 242, 254, 0.65);
}

.series-card:hover .series-play-btn::before {
    opacity: 1;
    transform: scale(1.2);
    animation: rippleExpand 1.5s infinite ease-out;
}

@keyframes rippleExpand {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.series-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.series-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
}

.series-card:hover .series-card-title {
    color: var(--secondary);
}

.series-card-content p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 1.5rem; }

.series-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.youtube-btn {
    background: var(--accent-gradient) !important;
    background-size: 200% 200%;
    box-shadow: 0 8px 25px rgba(46, 95, 255, 0.35) !important;
    transition: var(--transition-bounce) !important;
}

.youtube-btn:hover {
    box-shadow: 0 12px 35px rgba(0, 242, 254, 0.55) !important;
    background-position: 100% 0 !important;
}

/* ==========================================================================
   💻 11. PROJECTS SECTION & HOVER ZOOM ANIMATIONS
   ========================================================================== */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
    max-width: 1320px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-card);
    position: relative;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: var(--card-hover-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 242, 254, 0.3);
}

.project-media {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
    transform: scale(1.12) rotate(1deg);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 16, 32, 0.85) 0%, transparent 65%);
    transition: opacity 0.4s ease;
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(11, 16, 32, 0.85);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition-fast);
}

.project-card:hover .project-badge {
    border-color: var(--secondary);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
}

.project-card:hover .project-title {
    color: var(--secondary);
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.96rem;
    margin-bottom: 1.5rem;
}

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

.tech-tag {
    background: var(--chip-bg);
    border: 1px solid var(--glass-border);
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition-fast);
}

.tech-tag:hover {
    background: rgba(46, 95, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.live-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--accent-gradient);
    background-size: 200% 200%;
    color: #ffffff !important;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition-bounce);
    width: 100%;
}

.live-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(46, 95, 255, 0.55);
    background-position: 100% 0;
}

.in-progress-btn {
    background: var(--chip-bg) !important;
    color: var(--text-muted) !important;
    border: 1px dashed var(--glass-border);
    cursor: not-allowed;
    pointer-events: none;
}

.in-progress {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   📰 12. BLOGS & DAILY NEWSLETTER ANIMATIONS
   ========================================================================== */
.blogs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.2rem;
    max-width: 1320px;
    margin: 0 auto 3.5rem;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--card-hover-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), 0 0 25px rgba(0, 242, 254, 0.2);
}

.blog-image-box {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img {
    transform: scale(1.12);
}

.blog-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(11, 16, 32, 0.8);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 10px;
}

.blog-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.blog-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
}

.blog-card:hover .blog-title {
    color: var(--secondary);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-link i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-link:hover {
    color: var(--secondary);
}

.blog-link:hover i {
    transform: translateX(8px);
}

/* Daily Newsletter Card with Floating Neon Icon */
.daily-newsletter-card {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 28px;
    padding: 3.2rem 2.2rem;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.daily-newsletter-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.4), 0 0 35px rgba(46, 95, 255, 0.25);
}

.newsletter-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin: 0 auto 1.2rem;
    box-shadow: 0 10px 25px rgba(46, 95, 255, 0.4);
    animation: newsletterFloat 4s ease-in-out infinite alternate;
}

@keyframes newsletterFloat {
    0% { transform: translateY(0) scale(1); box-shadow: 0 10px 25px rgba(46, 95, 255, 0.4); }
    100% { transform: translateY(-10px) scale(1.08); box-shadow: 0 18px 40px rgba(0, 242, 254, 0.6); }
}

.newsletter-content h3 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.newsletter-content p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 1.8rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    flex-grow: 1;
}

/* ==========================================================================
   🎓 13. EDUCATION SECTION & HORIZONTAL SLIDE ANIMATIONS
   ========================================================================== */
.education-container {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.education-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 2.2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.education-card:hover {
    transform: translateX(12px) scale(1.01);
    border-color: var(--card-hover-border);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 242, 254, 0.25);
}

.edu-logo-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--chip-bg);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    transition: var(--transition-bounce);
}

.education-card:hover .edu-logo-wrapper {
    transform: rotate(10deg) scale(1.1);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.education-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.education-details h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.education-details p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
}

.edu-timeline {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   📬 14. CONTACT SECTION & SOCIAL HOVER GLOWS
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    max-width: 1150px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    transition: var(--transition-fast);
}

.contact-item:hover {
    transform: translateX(6px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--chip-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 10px 25px rgba(46, 95, 255, 0.45);
}

.contact-item h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
}

.contact-info .social-links,
.contact-info .horizontal-socials {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 1.2rem !important;
    margin-top: 1rem;
    width: 100%;
}

.social-link {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--chip-bg);
    border: 1px solid var(--glass-border);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.25rem;
    transition: var(--transition-bounce);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-6px) scale(1.12);
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: #ffffff;
    border-color: #0077b5;
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.5);
}

.social-link.github:hover {
    background: #333333;
    color: #ffffff;
    border-color: #333333;
    box-shadow: 0 10px 25px rgba(51, 51, 51, 0.5);
}

.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.contact-form-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 1.6rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.form-control {
    width: 100%;
    padding: 1.1rem 1.3rem;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: var(--chip-bg);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 0.98rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3.5px rgba(46, 95, 255, 0.25), 0 0 15px rgba(0, 242, 254, 0.2);
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1.1rem;
    font-size: 0.95rem;
}

/* ==========================================================================
   🔘 15. BUTTON SYSTEM & RIPPLE SHIMMER ANIMATIONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-gradient {
    background: var(--accent-gradient);
    background-size: 200% 200%;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(46, 95, 255, 0.35);
    animation: gradientShiftBtn 6s ease infinite;
}

.btn-gradient:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 40px rgba(0, 242, 254, 0.6);
}

.btn-glass {
    background: var(--chip-bg);
    color: var(--text-color) !important;
    border: 1px solid var(--glass-border);
}

.btn-glass:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(46, 95, 255, 0.3);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.82rem;
}

.btn i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover i {
    transform: translateX(6px) rotate(-10deg);
}

/* ==========================================================================
   ⚓ 16. FOOTER ANIMATIONS
   ========================================================================== */
footer {
    background: var(--bg-alt);
    color: var(--text-color);
    padding: 4rem 6% 3rem;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-brand h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.88rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    width: 100%;
}

.copyright a {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition-fast);
}

.copyright a:hover {
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

/* ==========================================================================
   💬 17. DIALOG MODAL & POPUP ANIMATIONS
   ========================================================================== */
.my-dialog {
    border: none;
    border-radius: 24px;
    padding: 2.5rem;
    width: 90%;
    max-width: 440px;
    text-align: center;
    background: var(--card-bg);
    color: var(--text-color);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    backdrop-filter: blur(24px);
    animation: modalPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalPop {
    0% { transform: translate(-50%, -40%) scale(0.85); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.my-dialog.success { border: 1px solid var(--accent-emerald); }
.my-dialog.error { border: 1px solid #ef4444; }

.my-dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    animation: backdropFade 0.4s ease forwards;
}

@keyframes backdropFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.my-dialog button {
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    background: var(--accent-gradient);
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition-bounce);
}

.my-dialog button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.dialog-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.dialog-loading {
    width: 45px;
    height: 45px;
    border: 4px solid var(--glass-border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite, loaderColorSwap 4s ease infinite;
}

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

@keyframes loaderColorSwap {
    0%, 100% { border-top-color: var(--primary); }
    50% { border-top-color: var(--secondary); }
}

/* ==========================================================================
   📱 18. MOBILE RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .splash-giant-title {
        font-size: 3.6rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(25px);
        width: 100%;
        padding: 2rem;
        z-index: 1002;
        gap: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-list.nav-active {
        display: flex;
        animation: fadeIn 0.3s ease-in-out forwards;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .resume-btn {
        margin: 0.5rem 0 0;
        width: 100%;
    }

    .resume-btn a {
        justify-content: center;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .splash-footer-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .splash-counter-box {
        text-align: center;
    }

    .splash-giant-title {
        font-size: 2.5rem;
    }

    .hero-profile-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        width: 100%;
    }

    .profile-portrait-wrapper {
        width: 240px;
        height: 240px;
        margin: 0 auto;
        z-index: 5;
    }

    .profile-chips-wrapper {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 380px;
        margin-top: 1.8rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        pointer-events: auto;
    }

    .floating-chip {
        position: relative !important;
        inset: auto !important;
        transform: none !important;
        animation: none !important;
        width: 100% !important;
        justify-content: flex-start;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .education-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .profile-portrait-wrapper {
        width: 200px;
        height: 200px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}