* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 70px; /* Add space for fixed navbar */
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 105, 180, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: #ff69b4;
    text-decoration: none;
    position: relative;
}

.nav-logo span {
    background: linear-gradient(45deg, #ff69b4, #ff1493, #da70d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #cccccc;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

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

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #ff69b4;
    background: rgba(255, 105, 180, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
}

.nav-link.active {
    color: #ff69b4;
    background: rgba(255, 105, 180, 0.15);
    border: 1px solid rgba(255, 105, 180, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ff69b4;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200px;
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.05));
    border-radius: 50%;
    animation: wave 15s ease-in-out infinite;
}

.wave-1 {
    top: 10%;
    left: -50%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.wave-2 {
    top: 60%;
    left: -50%;
    animation-delay: -7s;
    animation-duration: 18s;
}

.wave-3 {
    bottom: 10%;
    right: -50%;
    animation-delay: -14s;
    animation-duration: 22s;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(-50px) translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    33% {
        transform: translateX(50px) translateY(-30px) rotate(120deg);
        opacity: 0.3;
    }
    66% {
        transform: translateX(-30px) translateY(20px) rotate(240deg);
        opacity: 0.2;
    }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ff69b4, transparent);
    border-radius: 50%;
    animation: float-particle 8s linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1.5s ease-out;
}

.name-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff69b4, #ff1493, #da70d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite, typewriter 2s steps(13) 1s both;
    letter-spacing: 2px;
    position: relative;
}

.name-title::after {
    color: #ff69b4;
    margin-left: 2px;
}

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

@keyframes typewriter {
    0% { width: 0; }
    100% { width: 100%; }
}

.title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #cccccc;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    animation: slideInFromRight 1s ease-out 0.5s both;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1s both;
}

.contact-item {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    color: #ff69b4;
    font-size: 1rem;
    border: 2px solid transparent;
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

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

.contact-item:hover {
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.2), rgba(255, 20, 147, 0.2));
    border-color: #ff69b4;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.3);
}

/* Section Styles */
section {
    margin: 8rem 0;
    position: relative;
    padding: 4rem 0;
}

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

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ff69b4;
    text-align: center;
    position: relative;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    animation: expandLine 0.8s ease-out forwards;
}

@keyframes expandLine {
    to { width: 80px; }
}

/* About Section */
.about-text {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out;
}

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

.skill-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 105, 180, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 105, 180, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.skill-item:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.skill-item:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: #ff69b4;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.3);
}

.skill-item span {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #ff69b4, #ff1493);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
    animation: slideInTimeline 0.8s ease-out forwards;
    opacity: 0;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 4rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    border: 4px solid #0a0a0a;
    border-radius: 50%;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
    right: auto;
}

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

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

.timeline-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 105, 180, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 105, 180, 0.1), transparent);
    transition: left 0.8s;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content:hover {
    border-color: #ff69b4;
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.2);
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-family: 'Orbitron', monospace;
    color: #ff69b4;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.company {
    font-family: 'Rajdhani', sans-serif;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.duration {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    margin-left: 0;
}

.timeline-content li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content li::before {
    content: '▶';
    color: #ff69b4;
    position: absolute;
    left: 0;
    animation: bounce 2s ease-in-out infinite;
}

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

/* Education Section */
.education-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 105, 180, 0.3);
    transition: all 0.4s ease;
    animation: slideInUp 0.8s ease-out;
}

.education-item:hover {
    border-color: #ff69b4;
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
    transform: translateY(-10px);
}

.education-content h3 {
    font-family: 'Orbitron', monospace;
    color: #ff69b4;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.university {
    font-family: 'Rajdhani', sans-serif;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.gpa {
    color: #cccccc;
    font-size: 0.9rem;
}

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

.project-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 105, 180, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.8s ease-out forwards;
    opacity: 0;
    transform: scale(0.9);
}

.project-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.1), transparent);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.project-item:hover::before {
    transform: scale(1);
}

.project-item:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: #ff69b4;
    box-shadow: 0 25px 50px rgba(255, 105, 180, 0.3);
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.project-content h3 {
    font-family: 'Orbitron', monospace;
    color: #ff69b4;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.project-content p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.project-tech {
    font-family: 'Rajdhani', sans-serif;
    color: #ff69b4;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(255, 105, 180, 0.1);
        border-top: 1px solid rgba(255, 105, 180, 0.2);
        gap: 0;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
        width: 80%;
        margin: 0 auto;
    }

    .hamburger {
        display: flex;
    }

    .name-title {
        font-size: 2.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 5rem;
        padding-right: 1rem;
    }
    
    .timeline-item:nth-child(odd) {
        text-align: left;
        padding-right: 1rem;
        padding-left: 5rem;
    }
    
    .timeline-item::after {
        left: 20px;
        right: auto;
    }
    
    .education-item {
        flex-direction: column;
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .name-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}