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

:root {
    /* Enhanced Professional Color Palette */
    --dark-purple: #0d0221;
    --medium-purple: #1a1534;
    --accent-purple: #7b2cbf;
    --light-purple: #9d4edd;
    --highlight-purple: #c77dff;
    --text-primary: #f0f0f5;
    --text-secondary: #b8b8c8;
    --text-muted: #7a7a8c;
    --bg-black: #000000;
    --bg-dark: #05010f;
    --card-bg: rgba(26, 21, 52, 0.5);
    --border-subtle: rgba(123, 44, 191, 0.2);
    --glow-purple: 0 0 40px rgba(123, 44, 191, 0.4);
    --glow-intense: 0 0 60px rgba(157, 78, 221, 0.6);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-black);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Particle System */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}

/* Morphing Gradient Orbs */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    animation: morph-float 30s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--light-purple) 0%, transparent 70%);
    top: 35%;
    right: -12%;
    animation-delay: -10s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--highlight-purple) 0%, transparent 70%);
    bottom: -15%;
    left: 35%;
    animation-delay: -20s;
}

@keyframes morph-float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50%;
    }
    25% {
        transform: translate(100px, -100px) scale(1.15) rotate(90deg);
        border-radius: 40% 60% 50% 70%;
    }
    50% {
        transform: translate(-80px, 80px) scale(0.9) rotate(180deg);
        border-radius: 60% 40% 70% 50%;
    }
    75% {
        transform: translate(80px, 100px) scale(1.1) rotate(270deg);
        border-radius: 50% 70% 40% 60%;
    }
}

/* Dynamic Background Grid */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        linear-gradient(rgba(123, 44, 191, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123, 44, 191, 0.03) 1px, transparent 1px),
        radial-gradient(ellipse at top center, var(--bg-dark) 0%, var(--bg-black) 100%);
    background-size: 100px 100px, 100px 100px, 100% 100%;
    animation: grid-shift 20s linear infinite;
}

@keyframes grid-shift {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 100px 100px, 100px 100px, 0 0; }
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 35%, rgba(123, 44, 191, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(157, 78, 221, 0.04) 0%, transparent 50%);
    animation: bg-pulse 15s ease-in-out infinite;
}

@keyframes bg-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Enhanced Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav .container {
    max-width: 1400px;
    margin: 1.5rem auto;
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 2, 33, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    margin-left: 5%;
    margin-right: 5%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

nav.scrolled .container {
    padding: 0.8rem 2.5rem;
    background: rgba(13, 2, 33, 0.9);
    border-color: rgba(123, 44, 191, 0.4);
    box-shadow: var(--glow-purple), 0 8px 32px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo::before {
    content: '';
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--accent-purple), var(--light-purple));
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-purple);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px var(--accent-purple);
    }
    50% { 
        transform: scale(1.4);
        box-shadow: 0 0 30px var(--light-purple);
    }
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.7rem 1.4rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.nav-links a:hover::before {
    width: 200%;
    height: 200%;
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-links a.active {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.2), rgba(157, 78, 221, 0.1));
    color: var(--highlight-purple);
    box-shadow: 0 0 20px rgba(123, 44, 191, 0.3);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    font-weight: 900;
    letter-spacing: -2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--light-purple), var(--highlight-purple));
    border-radius: 2px;
    animation: expand-gradient-line 1.2s ease-out 0.3s forwards;
    box-shadow: 0 0 20px var(--accent-purple);
}

@keyframes expand-gradient-line {
    to { 
        width: 60%;
        box-shadow: 0 0 30px var(--light-purple);
    }
}

/* Hero Section with Advanced Animations */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.1;
    animation: glitch-in 0.8s ease-out;
}

@keyframes glitch-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
        text-shadow: 0 0 0 transparent;
    }
    20% {
        opacity: 0.8;
        transform: translateY(-5px);
        text-shadow: -3px 0 0 var(--accent-purple), 3px 0 0 var(--light-purple);
    }
    40% {
        transform: translateY(2px);
        text-shadow: 2px 0 0 var(--accent-purple), -2px 0 0 var(--light-purple);
    }
    60% {
        transform: translateY(-1px);
        text-shadow: -1px 0 0 var(--accent-purple), 1px 0 0 var(--light-purple);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 0 transparent;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--accent-purple) 50%, var(--highlight-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fade-in-up 0.8s ease-out 0.2s backwards;
    font-weight: 500;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    line-height: 1.9;
    animation: fade-in-up 0.8s ease-out 0.3s backwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    animation: fade-in-up 0.8s ease-out 0.4s backwards;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-highlights {
    display: flex;
    gap: 2.5rem;
    margin-top: 4rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-in-up 0.8s ease-out 0.5s backwards;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.8rem 2.2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    backdrop-filter: blur(25px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 170px;
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 44, 191, 0.2), transparent);
    transition: left 0.6s ease;
}

.highlight-item:hover::before {
    left: 100%;
}

.highlight-item:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-intense);
}

.highlight-icon {
    font-size: 2.8rem;
    filter: grayscale(0.2);
    animation: icon-float 3s ease-in-out infinite;
}

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

.highlight-text {
    font-size: 0.98rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: center;
}

/* Enhanced CTA Buttons */
.cta-button {
    padding: 1.1rem 2.8rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--light-purple));
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(123, 44, 191, 0.3);
}

.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.6s ease;
}

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

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(157, 78, 221, 0.5);
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid var(--accent-purple);
    color: var(--text-primary);
    box-shadow: none;
}

.cta-button-secondary:hover {
    background: rgba(123, 44, 191, 0.1);
    border-color: var(--light-purple);
}

/* Skills Section - Professional Hexagon Grid */
#skills {
    padding-top: 10rem;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
}

.skills-section {
    margin-bottom: 5rem;
}

.skills-section h3 {
    font-size: 2rem;
    color: var(--light-purple);
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-left: 2rem;
}

.skills-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-purple);
}

.skills-hexagon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.skill-hexagon {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    backdrop-filter: blur(25px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

.skill-hexagon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-purple), var(--light-purple), var(--highlight-purple));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.skill-hexagon:hover::before {
    opacity: 1;
}

.skill-hexagon:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--glow-intense);
    border-color: transparent;
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: skill-icon-pulse 2s ease-in-out infinite;
}

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

.skill-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.skill-level {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-orbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.orb-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(123, 44, 191, 0.2);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.orb-indicator.filled {
    background: linear-gradient(135deg, var(--accent-purple), var(--light-purple));
    box-shadow: 0 0 15px var(--accent-purple);
    border-color: var(--light-purple);
}

/* Projects Showcase */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(25px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--light-purple), var(--highlight-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

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

.project-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-intense);
}

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

.project-icon {
    font-size: 2.5rem;
    padding: 0.8rem;
    background: rgba(123, 44, 191, 0.1);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.project-title-group h4 {
    font-size: 1.5rem;
    color: var(--light-purple);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.project-tech {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-features {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0;
}

.project-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
}

.project-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-size: 1.2rem;
    font-weight: bold;
    animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.about-text p {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.about-text p:hover {
    color: var(--text-primary);
    transform: translateX(10px);
}

.about-image svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(123, 44, 191, 0.4));
    animation: svg-float 6s ease-in-out infinite;
}

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

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-purple), var(--light-purple));
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: slide-in-left 0.8s ease-out forwards;
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 42px;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--accent-purple);
    border-radius: 50%;
    border: 3px solid var(--bg-black);
    box-shadow: 0 0 20px var(--accent-purple);
    animation: timeline-dot-pulse 2s ease-in-out infinite;
}

@keyframes timeline-dot-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px var(--accent-purple);
    }
    50% { 
        transform: scale(1.3);
        box-shadow: 0 0 30px var(--light-purple);
    }
}

.timeline-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(25px);
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateX(15px);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.timeline-date {
    color: var(--accent-purple);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    color: var(--light-purple);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-content h4 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Education Cards */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.education-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(25px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

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

.education-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-intense);
}

.education-card .degree {
    color: var(--light-purple);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.education-card .institution {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.education-card .date {
    color: var(--accent-purple);
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(123, 44, 191, 0.15);
    border-radius: 10px;
    font-size: 0.9rem;
}

.education-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.education-card ul {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-top: 1rem;
}

.education-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.3rem;
}

.education-card ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: bold;
}

/* CV Section */
.cv-container {
    max-width: 900px;
    margin: 0 auto;
}

.cv-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-subtle);
}

.cv-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 900;
    letter-spacing: -1px;
}

.cv-contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cv-contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cv-contact-info a:hover {
    color: var(--light-purple);
    transform: translateY(-2px);
}

.cv-section {
    margin-bottom: 4rem;
}

.cv-section h2 {
    font-size: 2rem;
    color: var(--light-purple);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
}

.cv-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--light-purple));
    border-radius: 2px;
}

.cv-summary {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
}

.cv-experience-item,
.cv-education-item {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(25px);
    transition: all 0.4s ease;
}

.cv-experience-item:hover,
.cv-education-item:hover {
    border-color: var(--accent-purple);
    transform: translateX(15px);
    box-shadow: var(--glow-purple);
}

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

.cv-item-title h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.cv-item-title p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
}

.cv-item-date {
    color: var(--accent-purple);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.cv-item-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.cv-item-description ul {
    margin-top: 0.8rem;
    padding-left: 1.5rem;
}

.cv-item-description li {
    margin-bottom: 0.6rem;
    position: relative;
}

.cv-item-description li::marker {
    color: var(--accent-purple);
}

/* Roadmap Section */
.roadmap {
    position: relative;
    padding: 2rem 0;
}

.roadmap-item {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border-left: 5px solid var(--accent-purple);
    margin-bottom: 2.5rem;
    backdrop-filter: blur(25px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border-subtle);
    border-left: 5px solid var(--accent-purple);
}

.roadmap-item:hover {
    transform: translateX(20px);
    border-left-color: var(--light-purple);
    box-shadow: var(--glow-intense);
}

.roadmap-item h3 {
    color: var(--light-purple);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.roadmap-item .timeline-badge {
    color: var(--accent-purple);
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(123, 44, 191, 0.15);
    border-radius: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roadmap-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Section */
#contact {
    text-align: center;
}

#contact p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(25px);
    position: relative;
    font-weight: 700;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.contact-link:hover::before {
    width: 400%;
    height: 400%;
}

.contact-link:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--glow-intense);
    border-color: var(--accent-purple);
}

.contact-link span {
    font-size: 1.5rem;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 80px;
    }
    
    .timeline-item::after {
        left: 22px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    nav .container {
        padding: 1rem 1.5rem;
        margin: 1rem 3%;
    }
    
    .nav-links {
        gap: 0.3rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
    
    section {
        padding: 6rem 5%;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-highlights {
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .highlight-item {
        min-width: 150px;
        padding: 1.5rem 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .skills-hexagon-grid,
    .projects-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .cv-header h1 {
        font-size: 2.5rem;
    }
    
    .cv-contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cv-item-header {
        flex-direction: column;
    }
    
    .project-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
}
