/* ========================================
   ROOT VARIABLES & DESIGN TOKENS
   ======================================== */
:root {
    /* Modern Professional Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --accent-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --hero-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --glass-gradient: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    
    /* Professional Colors */
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --primary-light: #818cf8;
    --secondary-color: #4facfe;
    --accent-color: #fa709a;
    --success-color: #10b981;
    --info-color: #3b82f6;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Enhanced Neutral Colors */
    --dark-color: #1e293b;
    --darker-color: #0f172a;
    --light-color: #f8fafc;
    --lighter-color: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;
    
    /* Advanced Shadow System */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 15px 35px rgba(0,0,0,0.12);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.4);
    --shadow-glow-lg: 0 0 60px rgba(102, 126, 234, 0.3);
    
    /* Modern Border Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-3xl: 32px;
    --radius-full: 9999px;
    
    /* Spacing System */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

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

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

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
.title, .subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.title.is-1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.title.is-2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.title.is-3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.title.is-4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.subtitle.is-3 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    opacity: 0.95;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--border-color);
    border-radius: var(--radius-full);
}

/* ========================================
   PROGRESS BAR
   ======================================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(15, 23, 42, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    box-shadow: var(--shadow-xl);
}

.navbar-brand .navbar-item {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    background: linear-gradient(135deg, #667eea 0%, #a855f7 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-normal);
}

.navbar-brand .navbar-item:hover {
    transform: scale(1.02);
}

.navbar-menu {
    background: transparent !important;
}

.navbar-item {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    position: relative;
    border-radius: var(--radius-sm);
    margin: 0 var(--space-1);
    padding: 0.5rem 1rem !important;
}

.navbar-item:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-normal);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.navbar-item:hover::after {
    width: 70%;
}

.navbar-burger {
    color: white !important;
    height: 3.5rem;
    width: 3.5rem;
}

.navbar-burger span {
    background-color: white !important;
    height: 2px;
    transition: var(--transition-normal);
}

/* ========================================
   ACTIVE NAVBAR ITEM
   ======================================== */
.navbar-item.is-active {
    color: white !important;
    background: rgba(102, 126, 234, 0.2) !important;
}

.navbar-item.is-active::after {
    width: 70%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-gradient {
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
    animation: heroBackground 20s ease-in-out infinite;
}

@keyframes heroBackground {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 13s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 15s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 11s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.5s; animation-duration: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 4.5s; animation-duration: 12s; }

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-3xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.hero-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Profile Image */
.profile-container {
    position: relative;
    display: inline-block;
}

.profile-container::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(102, 126, 234, 0.3),
        rgba(168, 85, 247, 0.3),
        rgba(240, 147, 251, 0.3),
        rgba(102, 126, 234, 0.3)
    );
    animation: rotate-glow 8s linear infinite;
    filter: blur(20px);
}

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

.profile-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-lg);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Typing Effect */
.typing-text {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid var(--primary-light);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-light) }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scroll-mouse 2s infinite;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.button {
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.button:hover::before {
    left: 100%;
}

.button.is-primary {
    background: var(--primary-gradient) !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    padding: 1.25rem 2rem;
}

.button.is-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.button.is-primary:active {
    transform: translateY(-1px);
}

.button.is-white.is-outlined {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    backdrop-filter: blur(10px);
    padding: 1.25rem 2rem;
}

.button.is-white.is-outlined:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-3px);
}

.button.is-link {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.button.is-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.button.is-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.button.is-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
}

.button.is-rounded {
    padding: 0.75rem 1.5rem;
}

.button.is-large {
    font-size: 1.1rem;
    padding: 1.5rem 2.5rem;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 6rem 1.5rem;
    position: relative;
}

.section.has-background-light {
    background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
}

/* ========================================
   CARDS
   ======================================== */
.card-hover {
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface);
    position: relative;
}

.card-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
    transform-origin: left;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.card-hover:hover::after {
    transform: scaleX(1);
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: none;
}

.card-header-title {
    font-weight: 600;
    font-size: 1rem;
    padding: 0;
}

.card-content {
    padding: 1.5rem;
}

/* Card Header Colors */
.card-header.has-background-primary {
    background: var(--primary-gradient) !important;
}

.card-header.has-background-info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

.card-header.has-background-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.card-header.has-background-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

.card-header.has-background-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
}

/* Publication Cards */
.publication-card {
    background: linear-gradient(145deg, #ffffff 0%, var(--surface-alt) 100%);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.publication-card:hover {
    background: linear-gradient(145deg, var(--surface-alt) 0%, #ffffff 100%);
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -42px;
    top: 35px;
    width: 18px;
    height: 18px;
    background: var(--surface);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 5px var(--surface), var(--shadow-md);
    transition: var(--transition-normal);
}

.timeline-item:hover::before {
    background: var(--primary-color);
    box-shadow: 0 0 0 5px var(--surface), 0 0 20px rgba(102, 126, 234, 0.4);
}

/* ========================================
   SKILL TAGS
   ======================================== */
.skill-tag {
    margin: var(--space-1);
    font-weight: 600;
    font-size: 0.85rem !important;
    transition: var(--transition-normal);
    border: none;
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem !important;
    box-shadow: var(--shadow-sm);
    cursor: default;
}

.skill-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.skill-tag.is-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: white !important;
}

.skill-tag.is-info {
    background: linear-gradient(135deg, var(--info-color), #1d4ed8) !important;
    color: white !important;
}

.skill-tag.is-success {
    background: linear-gradient(135deg, var(--success-color), #059669) !important;
    color: white !important;
}

.skill-tag.is-warning {
    background: linear-gradient(135deg, var(--warning-color), #d97706) !important;
    color: white !important;
}

.skill-tag.is-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626) !important;
    color: white !important;
}

/* ========================================
   BOX COMPONENTS
   ======================================== */
.box {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
    transform-origin: left;
}

.box:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.box:hover::before {
    transform: scaleX(1);
}

/* Skills Box */
.skills-box {
    text-align: center;
    padding: var(--space-8);
}

.skills-box .icon.is-large {
    margin-bottom: var(--space-5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: var(--surface-alt);
    transition: var(--transition-normal);
}

.skills-box:hover .icon.is-large {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Icon Colors */
.has-text-primary { color: var(--primary-color) !important; }
.has-text-info { color: var(--info-color) !important; }
.has-text-success { color: var(--success-color) !important; }
.has-text-warning { color: var(--warning-color) !important; }
.has-text-danger { color: var(--danger-color) !important; }

/* Icon Gradient */
.icon-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   CONTACT INFO
   ======================================== */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    background: transparent;
}

.contact-info-item:hover {
    background: var(--surface-alt);
    transform: translateX(5px);
}

.contact-info-item .icon {
    margin-right: 1rem;
    width: 24px;
    display: flex;
    justify-content: center;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-enhanced {
    background: linear-gradient(180deg, var(--dark-color) 0%, var(--darker-color) 100%);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-info {
    flex: 1;
    min-width: 280px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-normal);
    font-weight: 500;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::after {
    width: 100%;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    border-color: var(--primary-color);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease forwards;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        background: rgba(15, 23, 42, 0.98) !important;
        padding: 1rem;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    
    .navbar-item {
        padding: 0.75rem 1rem !important;
        border-radius: var(--radius-md);
    }
    
    .navbar-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    .hero.is-fullheight {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .profile-image {
        width: 220px;
        height: 220px;
    }
    
    .hero-text {
        padding: var(--space-6);
    }
    
    .timeline {
        padding-left: 35px;
    }
    
    .timeline::before {
        left: 12px;
    }
    
    .timeline-item::before {
        left: -35px;
        width: 14px;
        height: 14px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title::after,
    .section-title::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .skill-tag {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    .hero-body {
        padding: 3rem 1.5rem;
    }
    
    .columns.is-vcentered {
        flex-direction: column-reverse;
    }
    
    .column.is-5.has-text-centered {
        margin-bottom: 2rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .title.is-1 {
        font-size: 2rem;
    }
    
    .subtitle.is-3 {
        font-size: 1rem;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .profile-container::before {
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
    }
    
    .button.is-large {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .buttons .button {
        width: 100%;
        margin: 0.5rem 0 !important;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .timeline-item {
        padding: 1.25rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--primary-gradient);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Focus States */
.button:focus,
.navbar-item:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.4) !important;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--surface-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar,
    .progress-bar,
    .back-to-top,
    .scroll-indicator,
    .hero-particles {
        display: none !important;
    }
    
    .hero-gradient {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }
    
    .hero-text {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .section {
        padding: 2rem 0 !important;
    }
    
    .card-hover,
    .box {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .particle {
        animation: none !important;
    }
    
    .profile-container::before {
        animation: none !important;
    }
}
