@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Barlow+Condensed:ital,wght@0,600;1,700&family=Rubik:wght@400;500;600;700&display=swap');

:root {
    --primary: #B9FD50;
    --secondary: #FF9142;
    --accent: #6366f1;
    --purple: #A855F7;
    --cyan: #06B6D4;
    --bg-dark: #0A0A0A;
    --bg-card: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #A8A8A8;
    --text-muted: #606060;
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glow: 0 0 20px rgba(185, 253, 80, 0.3);
}

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

body {
    font-family: 'Syne', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(185, 253, 80, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 145, 66, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    animation: backgroundShift 15s ease infinite;
    pointer-events: none;
    z-index: 0;
}

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

/* Floating particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(185, 253, 80, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 145, 66, 0.3), transparent),
        radial-gradient(2px 2px at 50% 50%, rgba(168, 85, 247, 0.3), transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(6, 182, 212, 0.3), transparent);
    background-size: 200% 200%;
    animation: particleFloat 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

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

.container {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header with glassmorphism design */
header {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-primary);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(185, 253, 80, 0.2);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(26, 26, 26, 0.85);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(185, 253, 80, 0.1);
    border-bottom: 1px solid rgba(185, 253, 80, 0.3);
}

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

header .logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--purple));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: gradientShift 5s ease infinite;
    cursor: pointer;
    transition: var(--transition);
}

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

header .logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(185, 253, 80, 0.5));
}

header .logo::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    right: -35px;
    top: 50%;
    transform: translateY(-50%);
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: translateY(-50%) scale(1);
        border-color: rgba(185, 253, 80, 0.3);
    }
    50% { 
        transform: translateY(-50%) scale(1.1);
        border-color: rgba(255, 145, 66, 0.5);
    }
}

header ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

header ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    opacity: 0.7;
    position: relative;
    padding: 0.5rem 0;
}

header ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

header ul li a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-2px);
}

header ul li a:hover::before {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

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

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section with modern design */
#hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    padding-top: 140px; /* Account for fixed header */
    padding-bottom: 60px;
}

/* Background effects */
#hero::before {
    content: '';
    position: absolute;
    width: 1065px;
    height: 392px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(185, 253, 80, 0.63);
    filter: blur(335px);
    z-index: 1;
}

#hero::after {
    content: '';
    position: absolute;
    width: 190px;
    height: 100px;
    right: 10%;
    top: 20%;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(36px);
    transform: rotate(-165deg);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    max-width: 100%;
    width: 100%;
}

.profile-image {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    margin-top: 2rem;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid transparent;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary), var(--purple), var(--cyan)) border-box;
    box-shadow: 
        0 8px 32px rgba(185, 253, 80, 0.3),
        0 0 0 8px rgba(185, 253, 80, 0.1),
        0 0 60px rgba(185, 253, 80, 0.2);
    object-fit: cover;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    animation: profileGlow 3s ease-in-out infinite;
}

@keyframes profileGlow {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(185, 253, 80, 0.3),
            0 0 0 8px rgba(185, 253, 80, 0.1),
            0 0 60px rgba(185, 253, 80, 0.2);
    }
    50% {
        box-shadow: 
            0 12px 40px rgba(255, 145, 66, 0.4),
            0 0 0 12px rgba(255, 145, 66, 0.15),
            0 0 80px rgba(255, 145, 66, 0.3);
    }
}

.profile-pic:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 
        0 16px 50px rgba(168, 85, 247, 0.5),
        0 0 0 16px rgba(168, 85, 247, 0.2),
        0 0 100px rgba(168, 85, 247, 0.4);
    animation: none;
}

/* Status indicator (online status dot) */
.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 3px solid var(--bg-dark);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(185, 253, 80, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(185, 253, 80, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(185, 253, 80, 0.8);
    }
}

#hero .hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, 
        var(--text-primary) 0%, 
        var(--primary) 25%, 
        var(--secondary) 50%, 
        var(--purple) 75%, 
        var(--cyan) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
    animation: textGradient 8s ease infinite;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(185, 253, 80, 0.3));
}

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

#hero .hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-summary {
    font-size: 1.1rem !important;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Modern button design with animations */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    background-size: 200% 200%;
    color: var(--bg-dark);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 145, 66, 0.4),
                0 0 30px rgba(185, 253, 80, 0.2);
    animation: buttonGlow 3s ease infinite;
}

@keyframes buttonGlow {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 0 8px 25px rgba(255, 145, 66, 0.4),
                    0 0 30px rgba(185, 253, 80, 0.2);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 8px 25px rgba(185, 253, 80, 0.5),
                    0 0 40px rgba(255, 145, 66, 0.3);
    }
}

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

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

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 145, 66, 0.6),
                0 0 60px rgba(185, 253, 80, 0.4),
                0 0 80px rgba(168, 85, 247, 0.3);
    animation: none;
    background: linear-gradient(135deg, var(--primary), var(--purple));
}

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

/* Section styling */
section {
    padding: 6rem 0;
    position: relative;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out;
}

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

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--purple));
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255, 145, 66, 0.5);
    animation: underlineExpand 0.8s ease-out 0.3s both;
}

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Project cards with modern design */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(185, 253, 80, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: rotate(0deg);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--purple));
    background-size: 200% 100%;
    animation: borderFlow 3s linear infinite;
}

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

.project-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 253, 80, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.project-card:hover::after {
    width: 500px;
    height: 500px;
}

.project-card:hover {
    transform: translateY(-12px) rotate(2deg);
    box-shadow: 0 25px 50px rgba(185, 253, 80, 0.2),
                0 0 60px rgba(255, 145, 66, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    background: rgba(26, 26, 26, 0.8);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.project-card:hover h3 {
    transform: translateX(5px);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.project-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.project-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(185, 253, 80, 0.1);
}

.project-card ul li:last-child {
    border-bottom: none;
}

/* Skills grid with modern design */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.skill-category {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(185, 253, 80, 0.2);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--purple), var(--cyan));
    background-size: 300% 100%;
    animation: skillBorder 4s linear infinite;
}

@keyframes skillBorder {
    0% { background-position: 0% 0%; }
    100% { background-position: 300% 0%; }
}

.skill-category::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(185, 253, 80, 0.1), transparent);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(185, 253, 80, 0.15),
                0 0 60px rgba(255, 145, 66, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    background: rgba(26, 26, 26, 0.8);
}

.skill-category:hover::after {
    transform: translate(-50px, 50px) scale(1.5);
    opacity: 0.5;
}

.skill-category h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(185, 253, 80, 0.1);
    color: var(--text-secondary);
}

.skill-category ul li:last-child {
    border-bottom: none;
}

/* Contact form with modern design */
#contact form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(185, 253, 80, 0.1);
}

#contact input, #contact textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid rgba(185, 253, 80, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

#contact input:focus, #contact textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(185, 253, 80, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

#contact input::placeholder, #contact textarea::placeholder {
    color: var(--text-muted);
}

#contact textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form status messages */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
    transition: var(--transition);
}

.form-status.success {
    background: rgba(185, 253, 80, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.form-status.error {
    background: rgba(255, 145, 66, 0.2);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

/* Footer with modern design */
footer {
    text-align: center;
    padding: 3rem 0;
    background: var(--bg-card);
    color: var(--text-primary);
    position: relative;
    border-top: 1px solid rgba(185, 253, 80, 0.1);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 3rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: var(--border-radius);
    margin: 2rem auto;
    max-width: 1000px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(185, 253, 80, 0.1);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-info p:hover {
    transform: translateY(-3px);
    background: rgba(185, 253, 80, 0.1);
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.8;
}

/* Timeline styling */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border: 1px solid rgba(185, 253, 80, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.timeline-item h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-item p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Experience Section */
#experience {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(26, 26, 26, 0.5) 100%);
}

.experience-summary {
    text-align: center !important;
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.total-experience {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(185, 253, 80, 0.15), rgba(255, 145, 66, 0.15));
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    border: 2px solid transparent;
    background-image: 
        linear-gradient(135deg, rgba(185, 253, 80, 0.15), rgba(255, 145, 66, 0.15)),
        linear-gradient(135deg, var(--primary), var(--secondary), var(--purple));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    text-align: center;
    box-shadow: 0 8px 32px rgba(185, 253, 80, 0.3),
                0 0 60px rgba(185, 253, 80, 0.2);
    animation: badgePulse 3s ease-in-out infinite;
    transition: var(--transition);
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(185, 253, 80, 0.3),
                    0 0 60px rgba(185, 253, 80, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 145, 66, 0.4),
                    0 0 80px rgba(255, 145, 66, 0.3);
        transform: scale(1.02);
    }
}

.total-experience:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(168, 85, 247, 0.5),
                0 0 100px rgba(168, 85, 247, 0.4);
}

.experience-item {
    position: relative;
    padding-left: 2rem;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

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

.experience-header h3 {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

.company {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.3rem 1rem;
    background: rgba(255, 145, 66, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 145, 66, 0.3);
}

.duration {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.experience-details {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.experience-details li {
    padding: 0.7rem 0 0.7rem 1.5rem;
    color: var(--text-secondary);
    position: relative;
    border-bottom: 1px solid rgba(185, 253, 80, 0.1);
}

.experience-details li:last-child {
    border-bottom: none;
}

.experience-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.experience-item:hover {
    transform: translateX(5px);
}

/* Certifications grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(185, 253, 80, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.cert-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.cert-card ul {
    list-style: none;
    padding: 0;
}

.cert-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(185, 253, 80, 0.1);
    color: var(--text-secondary);
}

.cert-card ul li:last-child {
    border-bottom: none;
}

/* Responsive design - Comprehensive breakpoints */

/* Large desktop screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    #hero .hero-text h1 {
        font-size: 4.5rem;
    }
    
    .profile-pic {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    header nav {
        padding: 0 1.5rem;
    }
}

@media (max-width: 992px) {
    /* Tablet adjustments */
    #hero {
        padding-top: 120px;
        padding-bottom: 50px;
    }
    
    .profile-image {
        margin-bottom: 1.8rem;
    }
    
    #hero .hero-text h1 {
        font-size: 3.2rem;
    }
    
    #hero .hero-text p {
        font-size: 1.25rem;
    }
    
    .hero-summary {
        font-size: 1rem !important;
        max-width: 85%;
    }
    
    .profile-pic {
        width: 170px;
        height: 170px;
    }
    
    section h2 {
        font-size: 2.2rem;
    }
    
    .project-grid,
    .skills-grid,
    .cert-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    header nav {
        padding: 0 1rem;
    }
    
    header ul {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-top: 1px solid rgba(185, 253, 80, 0.1);
    }
    
    header ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    header ul li a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        display: block;
        text-align: center;
    }
    
    /* Hero section adjustments */
    #hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: 100vh;
    }
    
    .profile-image {
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    #hero .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    #hero .hero-text p {
        font-size: 1.05rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    
    .hero-summary {
        font-size: 0.95rem !important;
        padding: 0 1rem;
        max-width: 90%;
    }
    
    .profile-pic {
        width: 140px;
        height: 140px;
        border: 3px solid var(--primary);
    }
    
    /* Section adjustments */
    section {
        padding: 4rem 0;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Grid adjustments */
    .project-grid,
    .skills-grid,
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card,
    .skill-category,
    .cert-card {
        padding: 1.5rem;
    }
    
    /* Contact form adjustments */
    #contact form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    /* Contact info adjustments */
    .contact-info {
        grid-template-columns: 1fr;
        padding: 2rem;
        margin: 2rem 1rem;
    }
    
    .contact-info p {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Experience section mobile */
    .total-experience {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .experience-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .company {
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
    }
    
    .experience-item {
        padding-left: 1.5rem;
    }
    
    .experience-details li {
        padding: 0.6rem 0 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.8rem;
    }
    
    header nav {
        padding: 0 0.8rem;
    }
    
    header .logo {
        font-size: 1.5rem;
    }
    
    header .logo::after {
        width: 24px;
        height: 24px;
        right: -30px;
    }
    
    /* Hero section for small mobile */
    #hero {
        padding-top: 110px;
        padding-bottom: 50px;
    }
    
    .profile-image {
        margin-top: 0;
        margin-bottom: 1.2rem;
    }
    
    #hero .hero-text h1 {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 0.7rem;
    }
    
    #hero .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    
    .hero-summary {
        font-size: 0.9rem !important;
        padding: 0 0.5rem;
        max-width: 95%;
        line-height: 1.6;
    }
    
    .profile-pic {
        width: 110px;
        height: 110px;
        border-width: 3px;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .project-card,
    .skill-category,
    .cert-card {
        padding: 1.2rem;
    }
    
    .project-card h3,
    .skill-category h3,
    .cert-card h3 {
        font-size: 1.3rem;
    }
    
    #contact form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin: 1.5rem 0.5rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
    
    .btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.85rem;
    }
    
    /* Experience section small mobile */
    .total-experience {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
    
    .company {
        font-size: 0.95rem;
    }
    
    .experience-item {
        padding-left: 1rem;
    }
    
    .experience-item::before {
        width: 3px;
    }
    
    .experience-details li {
        font-size: 0.9rem;
        padding: 0.5rem 0 0.5rem 1rem;
    }
    
    /* Background effects adjustment for mobile */
    #hero::before {
        width: 300px;
        height: 200px;
    }
    
    #hero::after {
        width: 100px;
        height: 50px;
        right: 5%;
        top: 15%;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    #hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .profile-image {
        margin-bottom: 1rem;
    }
    
    #hero .hero-text h1 {
        font-size: 1.75rem;
        margin-bottom: 0.6rem;
    }
    
    #hero .hero-text p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
        padding: 0 0.3rem;
    }
    
    .hero-summary {
        font-size: 0.85rem !important;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .profile-pic {
        width: 95px;
        height: 95px;
        border-width: 2px;
    }
    
    section h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    #hero {
        padding-top: 90px;
        padding-bottom: 30px;
        min-height: 100vh;
    }
    
    .profile-image {
        margin-top: 0;
        margin-bottom: 0.8rem;
    }
    
    .profile-pic {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }
    
    #hero .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }
    
    #hero .hero-text p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-summary {
        font-size: 0.75rem !important;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }
    
    .btn {
        padding: 0.5rem 1.3rem;
        font-size: 0.75rem;
    }
}