/* Modern Pastel Portfolio - Based on Resume */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Pastel Color Palette */
    --soft-pink: #FFD6E8;
    --mint-green: #C8F4D9;
    --lavender: #E6D9F5;
    --peach: #FFE5D4;
    --light-beige: #F5F1E8;
    --white: #FFFFFF;
    --text-dark: #4A4A4A;
    --text-light: #6B6B6B;
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, var(--soft-pink) 0%, var(--lavender) 100%);
    --gradient-2: linear-gradient(135deg, var(--mint-green) 0%, var(--peach) 100%);
    --gradient-3: linear-gradient(135deg, var(--lavender) 0%, var(--mint-green) 100%);
    --gradient-4: linear-gradient(135deg, var(--peach) 0%, var(--soft-pink) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--light-beige);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Landing Section */
.landing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.landing::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--mint-green);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.landing::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--peach);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

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

.landing-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.landing h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.landing .role {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.2s ease;
}

.landing .tagline {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1.4s ease;
}

.resume-download {
    margin: 2rem 0;
    animation: fadeInUp 1.5s ease;
}

.resume-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-1);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 3px solid var(--white);
}

.resume-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: var(--gradient-2);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
    animation: fadeInUp 1.6s ease;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

/* Section Styling */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--white);
    border-radius: 30px;
    padding: 4rem;
    margin: 2rem auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.coursework {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.coursework-item {
    background: var(--gradient-2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.coursework-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Projects Section */
.projects {
    background: var(--light-beige);
}

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

.project-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

.project-card:nth-child(2)::before {
    background: var(--gradient-2);
}

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

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-card .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-tag {
    background: var(--lavender);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.project-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: var(--gradient-1);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Skills Section */
.skills {
    background: var(--white);
    border-radius: 30px;
    padding: 4rem;
    margin: 2rem auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background: var(--gradient-3);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Timeline Section */
.timeline {
    background: var(--light-beige);
    padding: 5rem 2rem;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    width: calc(50% - 40px);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--soft-pink);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--lavender);
    top: 20px;
}

.timeline-item:nth-child(2) .timeline-marker {
    background: var(--mint-green);
}

.timeline-item:nth-child(3) .timeline-marker {
    background: var(--peach);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content .date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

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

.timeline-content li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    background: var(--gradient-4);
    border-radius: 30px;
    padding: 4rem;
    margin: 2rem auto;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.contact-item {
    background: var(--white);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-item span {
    font-size: 1.2rem;
}

/* Certifications Section */
.certifications {
    background: var(--white);
    border-radius: 30px;
    padding: 4rem;
    margin: 2rem auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

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

.cert-item {
    background: var(--gradient-2);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    cursor: pointer;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.cert-icon {
    font-size: 2rem;
}

.cert-item p {
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .landing h1 {
        font-size: 2.5rem;
    }
    
    .landing .role {
        font-size: 1.3rem;
    }
    
    .landing .tagline {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about, .skills, .certifications, .contact {
        padding: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    nav .logo {
        font-size: 1.2rem;
    }
    
    nav ul {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .landing h1 {
        font-size: 2rem;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .resume-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}