/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #e6f1ff;
    background-color: transparent;
}

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

/* Particles Container Styles */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0a192f 0%, #0d1b2a 100%);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    position: relative;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.logo-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

.logo:hover .logo-underline {
    width: 100%;
}

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

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #64ffda;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.95);
        padding: 1rem;
        gap: 1rem;
        text-align: center;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background-color: transparent !important;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #64ffda;
}

/* Home Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
}

.home-content {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.greeting {
    color: #64ffda;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.name {
    font-size: 4.5rem;
    font-weight: bold;
    color: #e6f1ff;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.2s;
}

.title {
    font-size: 2.5rem;
    color: #8892b0;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.4s;
}

.tagline {
    font-size: 1.2rem;
    color: #8892b0;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.6s;
}

.role-text {
    min-height: 30px;
    margin-bottom: 2rem;
    color: #64ffda;
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.8s;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 1s;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #64ffda;
    color: #0a192f;
}

.primary-btn:hover {
    background: #a8ffe3;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 2px solid #64ffda;
    color: #64ffda;
}

.secondary-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 1.2s;
}

.tech-item {
    font-size: 2.5rem;
    color: #8892b0;
    transition: all 0.3s ease;
    position: relative;
}

.tech-item:hover {
    color: #64ffda;
    transform: translateY(-5px);
}

.tech-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.tech-item:hover::after {
    opacity: 1;
    bottom: -40px;
}

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

/* Skills Section */
#skills {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, #1a1f25 0%, #17212b 100%);
}

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

.skill-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.skill-box h3 {
    color: #007bff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.skill-item i {
    font-size: 2.5rem;
    color: #007bff;
    transition: color 0.3s ease;
}

.skill-item:hover i {
    color: #0056b3;
}

.skill-item span {
    font-size: 0.9rem;
    color: #e6f1ff;
}

/* Glowing effect for skill boxes */
.skill-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(45deg, #007bff, #00ff88);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.skill-box:hover::before {
    opacity: 0.1;
}

/* Projects Section Styles */
#projects {
    background: linear-gradient(135deg, #1a1f25 0%, #17212b 100%);
    padding: 80px 0;
    position: relative;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #2a3a4a 0%, #1a2530 100%);
}

.project-image img {
    width: 100%;
    height: auto;
    max-height: 500px; /* Adjust this value as needed */
    object-fit: cover;
    display: block;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: #a0aec0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.project-tech span {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.github-btn, .status-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.github-btn {
    background: #24292e;
    color: #fff;
    text-decoration: none;
}

.github-btn:hover {
    transform: translateY(-2px);
    background: #2f363d;
}

.status-btn {
    font-weight: 500;
}

.status-btn.completed {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
}

.status-btn.in-progress {
    background: rgba(66, 153, 225, 0.1);
    color: #4299e1;
}

/* Achievements Section Styles */
#achievements {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1f25 0%, #17212b 100%);
}

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

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.1);
}

.achievement-icon {
    font-size: 2.5rem;
    color: #64ffda;
    display: flex;
    align-items: flex-start;
    padding-top: 0.5rem;
}

.achievement-content {
    flex: 1;
}

.achievement-content h3 {
    color: #e6f1ff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.achievement-place {
    color: #8892b0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.achievement-project {
    color: #64ffda;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.achievement-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Animation for achievement cards */
.achievement-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.achievement-card:nth-child(2) {
    animation-delay: 0.2s;
}

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

/* Experience Timeline Styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #64ffda;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.2);
}

.timeline-date {
    position: absolute;
    top: 20px;
    right: -140px;
    color: #64ffda;
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-item.right .timeline-date {
    right: auto;
    left: -140px;
}

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    right: -60px;
    top: 20px;
    background: rgba(100, 255, 218, 0.1);
    border: 2px solid #64ffda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64ffda;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.timeline-item.right .timeline-icon {
    right: auto;
    left: -60px;
}

.timeline-content h3 {
    color: #64ffda;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #8892b0;
    line-height: 1.6;
}

/* Contact Form */
#contact form {
    max-width: 600px;
    margin: 0 auto;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    color: #e6f1ff;
}

#contact textarea {
    height: 150px;
    resize: vertical;
}

#contact button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#contact button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #007bff;
}

/* About Section Styles */
#about {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text {
    color: #8892b0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #64ffda;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #8892b0;
    font-size: 0.9rem;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 500px; /* Adjust this value as needed */
    object-fit: cover;
    display: block;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.about-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom right,
        rgba(100, 255, 218, 0.1),
        rgba(10, 25, 47, 0.7)
    );
    pointer-events: none;
}

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

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    section {
        padding: 60px 0;
    }

    #home h2 {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-items {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .project-card {
        max-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-stats {
        justify-content: center;
    }
}

/* Experience Timeline Styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #64ffda;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.2);
}

.timeline-date {
    position: absolute;
    top: 20px;
    right: -140px;
    color: #64ffda;
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-item.right .timeline-date {
    right: auto;
    left: -140px;
}

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    right: -60px;
    top: 20px;
    background: rgba(100, 255, 218, 0.1);
    border: 2px solid #64ffda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64ffda;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.timeline-item.right .timeline-icon {
    right: auto;
    left: -60px;
}

.timeline-content h3 {
    color: #64ffda;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #8892b0;
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-date {
        right: auto;
        left: -140px;
    }
    
    .timeline-icon {
        left: 11px;
        right: auto;
    }
}

.particles-section {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

#skills, #projects {
    position: relative;
    overflow: hidden;
}

#skills .container, #projects .container {
    position: relative;
    z-index: 1;
}

/* Three.js Hero Background */
#three-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Modern Hero Section */
.modern-hero {
    position: relative;
    z-index: 1;
    background: rgba(20, 30, 48, 0.6);
    border-radius: 32px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3rem 2rem;
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.modern-hero .intro-text h1.name {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #64ffda 0%, #00c3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.modern-hero .intro-text .title {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.modern-hero .intro-text .tagline {
    font-size: 1.2rem;
    color: #b2fefa;
    margin-bottom: 1.5rem;
}

.modern-hero .cta-buttons .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    margin-right: 1rem;
    box-shadow: 0 4px 16px rgba(100,255,218,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.modern-hero .cta-buttons .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 32px rgba(100,255,218,0.25);
}

@media (max-width: 900px) {
    .modern-hero {
        padding: 2rem 1rem;
        margin-top: 4rem;
    }
    .modern-hero .intro-text h1.name {
        font-size: 2.2rem;
    }
    .modern-hero .intro-text .title {
        font-size: 1.2rem;
    }
}

/* Hero Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease 0.2s forwards;
}
@keyframes fadeIn {
    to { opacity: 1; }
}

.animate-gradient-text {
    background: linear-gradient(90deg, #64ffda 0%, #00c3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: gradientMove 2.5s linear infinite alternate;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards;
}
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-bounce-in {
    opacity: 0;
    transform: scale(0.8);
    animation: bounceIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1s forwards;
}
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-float-icons .tech-item {
    animation: floatIcon 3s ease-in-out infinite alternate;
}
@keyframes floatIcon {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px) scale(1.08); }
}

/* Typewriter effect for role-text */
.animate-typewriter .txt-rotate {
    border-right: 2px solid #64ffda;
    white-space: nowrap;
    overflow: hidden;
    animation: blink-caret 0.75s step-end infinite;
}
@keyframes blink-caret {
    0%, 100% { border-color: transparent; }
    50% { border-color: #64ffda; }
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-down-indicator span {
    display: block;
    width: 32px;
    height: 32px;
    border: 2px solid #64ffda;
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
}
.scroll-down-indicator span::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 8px;
    width: 6px;
    height: 12px;
    border-radius: 3px;
    background: #64ffda;
    transform: translateX(-50%);
    animation: scrollDown 1.2s infinite;
}
@keyframes scrollDown {
    0% { top: 8px; opacity: 1; }
    80% { top: 18px; opacity: 0.5; }
    100% { top: 8px; opacity: 1; }
}

/* Modern About Section */
.modern-about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: rgba(20, 30, 48, 0.6);
    border-radius: 32px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3rem 2rem;
    margin-top: 2rem;
    position: relative;
}

.about-title {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 2rem;
    text-align: center;
}

.about-text {
    flex: 1 1 60%;
    font-size: 1.1rem;
    color: #e6f1ff;
    z-index: 2;
}

.about-text .highlight {
    color: #64ffda;
    font-weight: 600;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(100,255,218,0.12);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(100,255,218,0.08);
    padding: 1.2rem 2.2rem;
    text-align: center;
    min-width: 120px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 8px 32px rgba(100,255,218,0.18);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #64ffda;
    display: block;
    margin-bottom: 0.3rem;
}
.stat-label {
    font-size: 1rem;
    color: #b2fefa;
}

.about-image-wrapper {
    position: relative;
    flex: 1 1 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-blob {
    position: absolute;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 60% 40%, #64ffda 0%, #00c3ff 100%);
    filter: blur(40px) opacity(0.7);
    z-index: 1;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    animation: blobMove 6s ease-in-out infinite alternate;
}
@keyframes blobMove {
    0% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-48%, -52%) scale(1.18); }
}

.about-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #64ffda44;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
}
.about-image:hover {
    transform: scale(1.06) rotate(-2deg);
}

@media (max-width: 900px) {
    .modern-about {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 2rem;
    }
    .about-image {
        width: 140px;
        height: 140px;
    }
    .about-blob {
        width: 140px;
        height: 140px;
    }
}

/* Animations for About Section */
.animate-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideLeft 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}
@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* About Section Background Gradient and Blobs */
#about {
    position: relative;
    background: linear-gradient(135deg, #0a192f 0%, #0d1b2a 60%, #00c3ff 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.about-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px) opacity(0.5);
    z-index: 0;
    animation: aboutBlobMove 8s ease-in-out infinite alternate;
}
.about-bg-blob.one {
    width: 420px; height: 420px;
    background: radial-gradient(circle at 60% 40%, #64ffda 0%, #00c3ff 100%);
    top: -120px; left: -160px; animation-delay: 0s;
}
.about-bg-blob.two {
    width: 320px; height: 320px;
    background: radial-gradient(circle at 40% 60%, #ff61a6 0%, #ffc300 100%);
    bottom: -100px; right: -140px; animation-delay: 2s;
}
@keyframes aboutBlobMove {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.18) translateY(40px); }
}
.about-crazy-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  background: rgba(20, 30, 48, 0.7);
  border-radius: 40px;
  box-shadow: 0 12px 48px 0 rgba(100,255,218,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3.5rem 2.5rem;
  margin: 4rem auto;
  position: relative;
  z-index: 2;
  max-width: 1100px;
}
.about-image-3d {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  z-index: 2;
}
.about-image-glow {
  position: absolute;
  width: 220px; height: 220px;
  background: radial-gradient(circle at 60% 40%, #64ffda 0%, #00c3ff 100%);
  filter: blur(60px) opacity(0.7);
  z-index: 1;
  border-radius: 50%;
  left: 0; top: 0;
  animation: aboutGlowMove 5s ease-in-out infinite alternate;
}
@keyframes aboutGlowMove {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.08) translateY(18px); }
}
.about-image {
  width: 180px; height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #64ffda88;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  background: #fff;
}
.about-image-3d:hover .about-image {
  transform: scale(1.08) rotateY(12deg) rotateX(6deg);
}
.about-crazy-content {
  flex: 1 1 60%;
  z-index: 2;
}
.about-title {
  font-size: 2.7rem;
  color: #64ffda;
  margin-bottom: 1.2rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.about-crazy-text {
  font-size: 1.25rem;
  color: #e6f1ff;
  margin-bottom: 2.2rem;
  line-height: 1.7;
  font-weight: 500;
}
.about-emoji {
  font-size: 1.3em;
  vertical-align: middle;
  margin-right: 0.2em;
}
.about-gradient {
  background: linear-gradient(90deg, #64ffda 0%, #ff61a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 700;
}
.highlight {
  color: #64ffda;
  font-weight: 700;
}
.about-crazy-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 1.5rem;
}
.stat-card {
  background: rgba(100,255,218,0.12);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(100,255,218,0.08);
  padding: 1.2rem 2.2rem;
  text-align: center;
  min-width: 120px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
  transform: translateY(-6px) scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(100,255,218,0.18);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #64ffda;
  display: block;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 1rem;
  color: #b2fefa;
}
@media (max-width: 900px) {
  .about-crazy-card { flex-direction: column; padding: 2rem 1rem; gap: 2rem; }
  .about-image-3d, .about-image-glow { width: 140px; height: 140px; }
  .about-image { width: 120px; height: 120px; }
  .about-bg-blob.one { width: 180px; height: 180px; top: -40px; left: -60px; }
  .about-bg-blob.two { width: 120px; height: 120px; bottom: -30px; right: -50px; }
  .about-crazy-stats { gap: 1rem; }
}

/* Legendary Skills Section */
#skills {
    position: relative;
    background: linear-gradient(135deg, #0a192f 0%, #0d1b2a 60%, #64ffda 100%);
    overflow: hidden;
}

.skills-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px) opacity(0.5);
    z-index: 0;
    animation: skillsBlobMove 10s ease-in-out infinite alternate;
}
.skills-bg-blob.one {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 60% 40%, #64ffda 0%, #00c3ff 100%);
    top: -70px;
    left: -100px;
    animation-delay: 0s;
}
.skills-bg-blob.two {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 40% 60%, #ff61a6 0%, #ffc300 100%);
    bottom: -50px;
    right: -80px;
    animation-delay: 2s;
}
@keyframes skillsBlobMove {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.12) translateY(30px); }
}

.skills-title {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 2rem;
    text-align: center;
}

.legendary-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    z-index: 2;
    position: relative;
}

.skill-card {
    background: rgba(20, 30, 48, 0.7);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(100,255,218,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.skill-card:hover {
    transform: translateY(-8px) scale(1.04) rotate(-1deg);
    box-shadow: 0 16px 48px 0 rgba(100,255,218,0.18);
    border: 2px solid #64ffda;
}

.skill-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #64ffda;
    filter: drop-shadow(0 0 8px #64ffda88);
    transition: color 0.3s, filter 0.3s;
}
.skill-card:hover .skill-icon {
    color: #00c3ff;
    filter: drop-shadow(0 0 16px #00c3ffcc);
}

.skill-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e6f1ff;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.skill-bar {
    width: 100%;
    height: 12px;
    background: rgba(100,255,218,0.10);
    border-radius: 8px;
    overflow: hidden;
    margin-top: auto;
    box-shadow: 0 2px 8px rgba(100,255,218,0.08);
}
.skill-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #64ffda 0%, #00c3ff 100%);
    border-radius: 8px;
    box-shadow: 0 0 12px #64ffda88;
    transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Circular Skill Meters */
.skill-meter {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circular-meter {
    position: absolute;
    top: 0; left: 0;
    width: 80px;
    height: 80px;
    z-index: 1;
}
.meter-bg {
    fill: none;
    stroke: #233554;
    stroke-width: 8;
}
.meter-fg {
    fill: none;
    stroke: url(#meter-gradient);
    stroke-width: 8;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 0 8px #64ffda88);
}

/* 3D Tilt Effect */
.skill-card[data-tilt] {
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.2s;
}

/* Ensure particles canvas is behind cards */
#skills-particles-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.legendary-skills {
    z-index: 2;
    position: relative;
}

/* Adjust skill-icon for meter overlay */
.skill-meter .skill-icon {
    position: relative;
    z-index: 2;
    font-size: 2.2rem;
    margin-bottom: 0;
    margin-top: 0.2rem;
}

@media (max-width: 900px) {
    .skill-meter {
        width: 56px;
        height: 56px;
    }
    .circular-meter {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 900px) {
    .legendary-skills {
        gap: 1.2rem;
    }
    .skill-card {
        padding: 1.2rem 0.8rem 1rem 0.8rem;
    }
    .skills-bg-blob.one {
        width: 140px;
        height: 140px;
        top: -30px;
        left: -40px;
    }
    .skills-bg-blob.two {
        width: 90px;
        height: 90px;
        bottom: -20px;
        right: -30px;
    }
}

/* Legendary Projects Section */
#projects {
    position: relative;
    background: linear-gradient(135deg, #0a192f 0%, #0d1b2a 60%, #ff61a6 100%);
    overflow: hidden;
}

.projects-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px) opacity(0.5);
    z-index: 0;
    animation: projectsBlobMove 10s ease-in-out infinite alternate;
}
.projects-bg-blob.one {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 60% 40%, #64ffda 0%, #00c3ff 100%);
    top: -70px;
    left: -100px;
    animation-delay: 0s;
}
.projects-bg-blob.two {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 40% 60%, #ff61a6 0%, #ffc300 100%);
    bottom: -50px;
    right: -80px;
    animation-delay: 2s;
}
@keyframes projectsBlobMove {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.12) translateY(30px); }
}

.projects-title {
    font-size: 2.5rem;
    color: #ff61a6;
    margin-bottom: 2rem;
    text-align: center;
}

.legendary-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    z-index: 2;
    position: relative;
}

.project-card {
    background: rgba(20, 30, 48, 0.7);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(255,97,166,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.04) rotate(-1deg);
    box-shadow: 0 16px 48px 0 rgba(255,97,166,0.18);
    border: 2px solid #ff61a6;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    margin-bottom: 1.2rem;
}
.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.project-card:hover .project-image {
    transform: scale(1.08) rotate(-2deg);
}
.project-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #0a192f99 0%, #ff61a699 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: opacity 0.3s;
    border-radius: 18px 18px 0 0;
    z-index: 2;
    padding-bottom: 1.2rem;
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-links {
    display: flex;
    gap: 1.2rem;
}
.github-btn {
    background: #fff;
    color: #23272f;
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px #ff61a644;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.github-btn:hover {
    background: #ff61a6;
    color: #fff;
}
.status-btn {
    background: #64ffda;
    color: #23272f;
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px #64ffda44;
}
.status-btn.completed {
    background: #64ffda;
    color: #23272f;
}

.project-content {
    padding: 0 1.5rem;
    text-align: center;
}
.project-content h3 {
    font-size: 1.4rem;
    color: #ff61a6;
    margin-bottom: 0.5rem;
}
.project-content p {
    color: #e6f1ff;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.project-tech {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
}
.project-tech span {
    background: rgba(255,97,166,0.12);
    color: #ff61a6;
    border-radius: 12px;
    padding: 0.2rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .legendary-projects {
        gap: 1.2rem;
    }
    .project-card {
        padding: 0 0 1rem 0;
    }
    .projects-bg-blob.one {
        width: 140px;
        height: 140px;
        top: -30px;
        left: -40px;
    }
    .projects-bg-blob.two {
        width: 90px;
        height: 90px;
        bottom: -20px;
        right: -30px;
    }
    .project-image-wrapper {
        height: 120px;
    }
}

/* Achievement Ribbon */
.achievement-ribbon {
  position: absolute;
  top: 18px;
  left: -18px;
  background: linear-gradient(90deg, #ff61a6 0%, #ffc300 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  border-radius: 18px 0 18px 0;
  box-shadow: 0 2px 8px #ff61a688;
  z-index: 4;
  letter-spacing: 1px;
  transform: rotate(-12deg);
  pointer-events: none;
}
.achievement-card {
  position: relative;
}

/* Achievement Icon Glow */
.achievement-glow {
  animation: achievementGlow 2.2s ease-in-out infinite alternate;
  box-shadow: 0 0 18px 0 #64ffda88, 0 0 32px 0 #ff61a688;
}
@keyframes achievementGlow {
  0% { box-shadow: 0 0 18px 0 #64ffda88, 0 0 32px 0 #ff61a688; }
  100% { box-shadow: 0 0 32px 0 #64ffda, 0 0 48px 0 #ff61a6; }
}

/* Timeline Glow Effect */
.timeline-glow::after {
  box-shadow: 0 0 32px 8px #64ffda88, 0 0 64px 16px #00c3ff44;
  background: linear-gradient(180deg, #64ffda 0%, #00c3ff 100%);
  opacity: 0.7;
}

/* Timeline Card Entrance Animation */
.timeline-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: timelineFadeIn 1.1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.timeline-animate:nth-child(1) { animation-delay: 0.1s; }
.timeline-animate:nth-child(2) { animation-delay: 0.3s; }
.timeline-animate:nth-child(3) { animation-delay: 0.5s; }
.timeline-animate:nth-child(4) { animation-delay: 0.7s; }
.timeline-animate:nth-child(5) { animation-delay: 0.9s; }
@keyframes timelineFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Timeline Icon Glow Animation */
.timeline-icon-animate {
  animation: timelineIconGlow 2.5s ease-in-out infinite alternate;
  box-shadow: 0 0 18px 0 #64ffda88, 0 0 32px 0 #00c3ff88;
}
@keyframes timelineIconGlow {
  0% { box-shadow: 0 0 18px 0 #64ffda88, 0 0 32px 0 #00c3ff88; }
  100% { box-shadow: 0 0 32px 0 #64ffda, 0 0 48px 0 #00c3ff; }
}

/* Timeline Spine (Animated Gradient Line) */
.timeline-spine {
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #64ffda 0%, #00c3ff 50%, #ff61a6 100%);
  border-radius: 8px;
  box-shadow: 0 0 32px 8px #64ffda44, 0 0 64px 16px #00c3ff22;
  z-index: 1;
  animation: spineGradientMove 6s ease-in-out infinite alternate;
}
@keyframes spineGradientMove {
  0% { filter: blur(0px) brightness(1); }
  100% { filter: blur(2px) brightness(1.15); }
}

.enhanced-timeline {
  position: relative;
}

/* Timeline Year Badge */
.timeline-year-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  background: linear-gradient(90deg, #64ffda 0%, #00c3ff 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.4rem 1.4rem;
  border-radius: 18px;
  box-shadow: 0 2px 12px #00c3ff44;
  z-index: 5;
  letter-spacing: 1px;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  opacity: 0.95;
  animation: badgePop 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes badgePop {
  0% { transform: translateX(-50%) scale(0.7); opacity: 0; }
  80% { transform: translateX(-50%) scale(1.1); opacity: 1; }
  100% { transform: translateX(-50%) scale(1); opacity: 0.95; }
}

/* Timeline Card 3D Tilt and Parallax */
.timeline-tilt {
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s;
  will-change: transform;
  perspective: 800px;
}
.timeline-tilt:hover {
  transform: scale(1.03) rotateY(6deg) rotateX(2deg) translateY(-6px);
  box-shadow: 0 16px 48px 0 #00c3ff33, 0 2px 24px #64ffda33;
  z-index: 10;
}

/* Responsive adjustments for timeline enhancements */
@media (max-width: 900px) {
  .timeline-spine {
    left: 8px;
    width: 4px;
  }
  .timeline-year-badge {
    left: 24px;
    transform: translateX(0) scale(1);
    font-size: 0.95rem;
    padding: 0.3rem 1rem;
  }
}

/* Parallax Blobs Background */
.parallax-blobs-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.parallax-blobs-bg svg {
  position: absolute;
  width: auto;
  height: auto;
  min-width: 400px;
  min-height: 300px;
}

/* Animated Starfield Canvas */
#starfield-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* Gradient Overlay with Noise Texture */
.gradient-noise-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(10,25,47,0.85) 0%, rgba(100,255,218,0.08) 60%, rgba(255,97,166,0.08) 100%);
  opacity: 0.95;
  mix-blend-mode: soft-light;
}
.gradient-noise-overlay::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.18;
  background-image: url('data:image/svg+xml;utf8,<svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="120" height="120" filter="url(%23noise)"/></svg>');
  pointer-events: none;
}

/* Contact Section Glass Card */
.contact-card-glass {
  background: rgba(20, 30, 48, 0.7);
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(100,255,218,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  margin: 2.5rem auto 0 auto;
  max-width: 480px;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid rgba(100,255,218,0.08);
  animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.contact-mail-icon {
  margin-bottom: 1.5rem;
  animation: floatMail 3.5s ease-in-out infinite alternate;
}
@keyframes floatMail {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px) scale(1.04); }
}

.contact-blob-bg {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}
.contact-confetti {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

#contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
#contact-form input,
#contact-form textarea {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(100,255,218,0.13);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: #e6f1ff;
  font-size: 1.08rem;
  font-family: inherit;
  transition: border 0.3s, box-shadow 0.3s;
  outline: none;
  box-shadow: 0 2px 12px 0 rgba(100,255,218,0.04);
}
#contact-form input:focus,
#contact-form textarea:focus {
  border: 2px solid #64ffda;
  box-shadow: 0 0 0 3px #64ffda33;
}
#contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
#contact-form button {
  background: linear-gradient(90deg, #64ffda 0%, #00c3ff 100%);
  color: #23272f;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 1rem 0;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 12px #64ffda33;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
#contact-form button:hover {
  background: linear-gradient(90deg, #00c3ff 0%, #64ffda 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 600px) {
  .contact-card-glass {
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    max-width: 98vw;
  }
}