/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    /* Gen-Z / 21st Century Color Palette - Vibrant & Modern */
    --primary-color: #a855f7;
    --primary-dark: #9333ea;
    --primary-light: #c084fc;
    --secondary-color: #ec4899;
    --accent-color: #06b6d4;
    --accent-gold: #fbbf24;
    --neon-pink: #f72585;
    --neon-purple: #b5179e;
    --neon-cyan: #06ffa5;
    --neon-blue: #4361ee;
    --neon-yellow: #ffbe0b;
    --pastel-pink: #ff9ff3;
    --pastel-purple: #c77dff;
    --pastel-blue: #90e0ef;
    --pastel-green: #80ffdb;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.4);
    --shadow-glow-pink: 0 0 30px rgba(247, 37, 133, 0.4);
    --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.4);
    
    /* Gen-Z Gradients - Vibrant & Bold */
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f72585 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #4361ee 100%);
    --gradient-gold: linear-gradient(135deg, #ffbe0b 0%, #fbbf24 100%);
    --gradient-hero: linear-gradient(135deg, #a855f7 0%, #ec4899 25%, #f72585 50%, #06b6d4 100%);
    --gradient-strong: linear-gradient(135deg, #a855f7 0%, #b5179e 25%, #ec4899 50%, #f72585 75%, #06b6d4 100%);
    --gradient-neon: linear-gradient(135deg, #f72585 0%, #b5179e 25%, #a855f7 50%, #4361ee 75%, #06b6d4 100%);
    --gradient-cert: linear-gradient(135deg, #ff9ff3 0%, #c77dff 50%, #90e0ef 100%);
    --gradient-skill: linear-gradient(135deg, #80ffdb 0%, #06b6d4 50%, #4361ee 100%);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-strong: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

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

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

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

/* ============================================
   Accessibility
   ============================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

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

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

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

.nav-logo a {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(247, 37, 133, 0.4));
}

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

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-neon);
    border-radius: 2px;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(247, 37, 133, 0.5);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0.08;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

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

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.profile-image-wrapper {
    margin: 0 auto 2rem;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    padding: 6px;
    background: var(--gradient-neon);
    position: relative;
    animation: float 3s ease-in-out infinite, rotate-border 8s linear infinite;
    box-shadow: var(--shadow-glow-pink), var(--shadow-xl);
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: var(--gradient-strong);
    z-index: -1;
    opacity: 0.5;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes rotate-border {
    0% { background: linear-gradient(135deg, #f72585 0%, #b5179e 25%, #a855f7 50%, #4361ee 75%, #06b6d4 100%); }
    25% { background: linear-gradient(225deg, #f72585 0%, #b5179e 25%, #a855f7 50%, #4361ee 75%, #06b6d4 100%); }
    50% { background: linear-gradient(315deg, #f72585 0%, #b5179e 25%, #a855f7 50%, #4361ee 75%, #06b6d4 100%); }
    75% { background: linear-gradient(45deg, #f72585 0%, #b5179e 25%, #a855f7 50%, #4361ee 75%, #06b6d4 100%); }
    100% { background: linear-gradient(135deg, #f72585 0%, #b5179e 25%, #a855f7 50%, #4361ee 75%, #06b6d4 100%); }
}

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

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

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
}

.hero-title {
    margin-bottom: 1rem;
}

.greeting {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    filter: drop-shadow(0 0 20px rgba(247, 37, 133, 0.4));
    animation: text-shimmer 3s ease-in-out infinite;
}

@keyframes text-shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    padding: 0.875rem 1.75rem;
    background: var(--bg-secondary);
    border-radius: 50px;
    transition: var(--transition-strong);
    font-weight: 600;
    border: 2px solid transparent;
}

.hero-contact a:hover {
    background: var(--gradient-neon);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-xl), var(--shadow-glow-pink);
    border-color: rgba(247, 37, 133, 0.3);
}

.hero-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-primary);
    transition: var(--transition-strong);
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--gradient-neon);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl), var(--shadow-glow-pink);
    border-color: rgba(247, 37, 133, 0.3);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-neon);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-strong);
    box-shadow: var(--shadow-lg), var(--shadow-glow-pink);
    position: relative;
    overflow: hidden;
}

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

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

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(247, 37, 133, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator a {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-neon);
    color: white;
    border-radius: 20px;
    font-size: 2rem;
    box-shadow: var(--shadow-xl), var(--shadow-glow-pink);
    position: relative;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   About Section
   ============================================ */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.strength-card {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-strong);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-strong);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.strength-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.2);
}

.strength-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
}

.strength-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* ============================================
   Education Section
   ============================================ */
.education-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-neon);
    box-shadow: 0 0 15px rgba(247, 37, 133, 0.4);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--gradient-neon);
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: var(--shadow-lg), var(--shadow-glow-pink);
    animation: marker-pulse 2s ease-in-out infinite;
}

@keyframes marker-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-strong);
    border-left: 4px solid transparent;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--gradient-neon);
    border-radius: 20px 0 0 20px;
    transform: scaleY(0);
    transition: transform 0.3s;
    box-shadow: 0 0 10px rgba(247, 37, 133, 0.3);
}

.timeline-content:hover::before {
    transform: scaleY(1);
}

.timeline-content:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-pink);
}

.grade {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.grade i {
    color: var(--accent-gold);
    font-size: 1.25rem;
}

.grade strong {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.institution {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.institution-alt {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.duration, .location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

.badge-pursuing {
    background: var(--accent-color);
    color: white;
}

.badge-completed {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   Experience Section
   ============================================ */
.experience-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-neon);
    box-shadow: 0 0 15px rgba(247, 37, 133, 0.4);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-title-group h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.company {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.experience-badge {
    padding: 0.5rem 1rem;
    background: var(--gradient-neon);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md), 0 0 15px rgba(247, 37, 133, 0.4);
}

.experience-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.experience-list {
    list-style: none;
}

.experience-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.experience-list i {
    color: var(--accent-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

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

.project-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-strong);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-strong);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.2);
}

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

.project-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.project-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-description {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

.tech-tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
    border: 2px solid rgba(247, 37, 133, 0.3);
    transition: var(--transition-strong);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s;
    z-index: 0;
}

.tech-tag > * {
    position: relative;
    z-index: 1;
}

.tech-tag:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.4);
    border-color: transparent;
}

.tech-tag:hover::before {
    left: 0;
}

/* ============================================
   Skills Section
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-strong);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    background-clip: padding-box;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-skill);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.skill-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-skill);
    border-radius: 24px 0 0 24px;
    transform: scaleY(0);
    transition: transform 0.3s;
    z-index: 1;
}

.skill-category:hover::before {
    opacity: 0.05;
}

.skill-category:hover::after {
    transform: scaleY(1);
}

.skill-category > * {
    position: relative;
    z-index: 2;
}

.skill-category:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-cyan);
    border-color: rgba(6, 182, 212, 0.3);
    background: linear-gradient(white, white) padding-box,
                var(--gradient-skill) border-box;
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.skill-category h3 i {
    background: var(--gradient-skill);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.75rem;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.4));
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-item {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid rgba(168, 85, 247, 0.2);
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-skill);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 12px;
}

.skill-item:hover {
    color: #ffffff !important;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    border-color: transparent;
    z-index: 2;
}

.skill-item:hover::before {
    opacity: 1;
    z-index: -1;
}

/* ============================================
   Certifications Section
   ============================================ */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.certification-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-strong);
    border: 3px solid transparent;
    position: relative;
    overflow: visible;
    background-clip: padding-box;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cert);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.certification-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-cert);
    transform: scaleX(0);
    transition: transform 0.3s;
    z-index: 1;
}

.certification-card > * {
    position: relative;
    z-index: 2;
}

.certification-card:hover::before {
    opacity: 0.08;
}

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

.certification-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: var(--shadow-2xl), var(--shadow-glow-pink);
    background: linear-gradient(white, white) padding-box,
                var(--gradient-cert) border-box;
}

.certification-card.featured-cert {
    background: linear-gradient(135deg, rgba(255, 159, 243, 0.1) 0%, rgba(199, 125, 255, 0.1) 50%, rgba(144, 224, 239, 0.1) 100%);
    border: 3px solid;
    border-image: var(--gradient-cert) 1;
    box-shadow: var(--shadow-xl), 0 0 25px rgba(247, 37, 133, 0.3);
    animation: featured-glow 3s ease-in-out infinite;
}

@keyframes featured-glow {
    0%, 100% { box-shadow: var(--shadow-xl), 0 0 25px rgba(247, 37, 133, 0.3); }
    50% { box-shadow: var(--shadow-xl), 0 0 35px rgba(247, 37, 133, 0.5); }
}

.certification-card.featured-cert::after {
    background: var(--gradient-neon);
    height: 6px;
}

.certification-card.featured-cert:hover {
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(247, 37, 133, 0.6);
    transform: translateY(-15px) scale(1.08);
}

.cert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-neon);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg), 0 0 15px rgba(247, 37, 133, 0.5);
    z-index: 3;
    animation: badge-pulse 2s ease-in-out infinite;
}

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

.cert-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cert);
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg), 0 0 20px rgba(247, 37, 133, 0.3);
    transition: var(--transition-strong);
    position: relative;
}

.certification-card:hover .cert-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(247, 37, 133, 0.5);
}

.certification-card.featured-cert .cert-icon {
    background: var(--gradient-neon);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(247, 37, 133, 0.4);
    animation: icon-rotate 3s ease-in-out infinite;
}

@keyframes icon-rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

.certification-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.5;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 0.5rem;
}

.cert-org {
    background: var(--gradient-cert);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cert-duration {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.certification-card.featured-cert h3 {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Achievements Section
   ============================================ */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-strong);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.achievement-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.achievement-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: rgba(16, 185, 129, 0.3);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
}

.achievement-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.achievement-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Languages Section
   ============================================ */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.language-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.language-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.language-level {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.language-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.language-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info > p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

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

.contact-text a {
    color: var(--primary-color);
}

.contact-text a:hover {
    text-decoration: underline;
}

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

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-primary);
    transition: var(--transition);
}

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

/* ============================================
   Contact Form
   ============================================ */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.required {
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 1.125rem 2.5rem;
    background: var(--gradient-neon);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-strong);
    box-shadow: var(--shadow-lg), var(--shadow-glow-pink);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(247, 37, 133, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.back-to-top.visible {
    display: flex;
}

/* ============================================
   Loading & Performance
   ============================================ */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .back-to-top,
    .contact-form,
    .scroll-indicator {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}