:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1a1a1a;
    --neon-color: #00ff88;
    --neon-text-color: #4a90e2;
    --text-color: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-color: #4a90e2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Section */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 50px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(10px);
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 0 0 5px rgba(0, 255, 136, 0.2),
                0 0 0 10px rgba(0, 255, 136, 0.1),
                0 0 30px rgba(0, 255, 136, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--neon-color), var(--neon-text-color), var(--neon-color));
    background-size: 200% 200%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    animation: gradientRotate 8s ease infinite;
}

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

.profile-image:hover {
    transform: scale(1.03);
    box-shadow: 0 0 0 5px rgba(0, 255, 136, 0.3),
                0 0 0 10px rgba(0, 255, 136, 0.2),
                0 0 50px rgba(0, 255, 136, 0.5);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.profile-image:hover img {
    transform: scale(1.1) rotate(2deg);
}

.profile-info h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--neon-text-color),
                 0 0 20px var(--neon-text-color),
                 0 0 40px var(--neon-text-color);
    animation: neonPulse 1.5s ease-in-out infinite alternate;
}

.profile-info h2 {
    font-size: 2rem;
    color: var(--neon-color);
    margin-bottom: 20px;
    text-shadow: 0 0 5px var(--neon-color);
}

.profile-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-shadow: 0 0 2px var(--text-secondary);
}

/* Sections */
section {
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.03);
    margin: 30px 0;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

section h2 {
    color: var(--neon-text-color);
    text-shadow: 0 0 10px var(--neon-text-color);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.timeline-item:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
    border-color: var(--neon-color);
}

.timeline-item h3 {
    color: var(--neon-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-shadow: 0 0 5px var(--neon-color);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
    border-color: var(--neon-color);
}

.skill-item h3 {
    color: var(--neon-color);
    font-size: 1.3rem;
    text-shadow: 0 0 5px var(--neon-color);
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.contact-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(74, 144, 226, 0.1);
    border-color: var(--neon-color);
}

.contact-item i {
    font-size: 2rem;
    color: var(--neon-color);
    min-width: 40px;
    text-align: center;
    padding-top: 5px;
}

.contact-item h3 {
    color: var(--neon-text-color);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.contact-item a, .contact-item p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--neon-color);
    text-decoration: none;
}

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-color), transparent);
}

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

.footer-logo h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--neon-color), var(--neon-text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.footer-links h3, .footer-social h3 {
    color: var(--neon-text-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--neon-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--neon-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-color);
    padding-left: 8px;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--neon-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--neon-color);
}

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

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-image {
        width: 200px;
        height: 200px;
        margin-bottom: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 10px var(--neon-text-color),
                     0 0 20px var(--neon-text-color),
                     0 0 40px var(--neon-text-color);
    }
    to {
        text-shadow: 0 0 5px var(--neon-text-color),
                     0 0 10px var(--neon-text-color),
                     0 0 20px var(--neon-text-color);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
        padding: 20px 20px 20px;
    }

    .profile-image {
        width: 250px;
        height: 250px;
        margin-top: 20px;
        transform: none;
    }

    .profile-image img {
        object-position: top center;
    }

    .profile-info h1 {
        font-size: 2.5rem;
    }

    .profile-info h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 40px 20px;
    }
}
