/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #ffffff;
    color: #2d2d2d;
    line-height: 1.6;
}

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

/* Profile Header */
.profile-container {
    position: relative;
    height: 60vh;
    background: linear-gradient(45deg, #2d2d2d, #404040);
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}

.profile-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 0.3rem;
    color: white;
}

.avatar {
    width: 120px;
    height: 120px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid white;
    background-image: url('assests/me.jpg');
    background-size: cover;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
}

.subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

/* Projects Section */
.projects-section {
    margin-top: -5rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2d2d2d;
    text-align: center;
}

.project-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: #2d2d2d;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.project-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.tech-pill {
    background: #f0f0f0;
    color: #666;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Buttons & Links */
.resume-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.resume-btn:hover {
    background: white;
    color: #2d2d2d;
}

.github-link {
    display: inline-flex;
    align-items: center;
    color: #2d2d2d;
    text-decoration: none;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.github-link:hover {
    color: #666;
}

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

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

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
    animation-fill-mode: backwards;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0;
    color: #666;
}

.footer-text .heart {
    color: #ff4d4d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 2rem;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}

/* Bio Section */
.bio-section {
    background: #fafafa;
    border-radius: 12px;
    padding: 2rem;
    margin: 4rem 0 2rem; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.container {
    padding-top: 2rem; 
}


.projects-section {
    margin-top: 3rem; 
}

.experience-list {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.experience-list h3 {
    margin-bottom: 1rem;
    color: #2d2d2d;
}

.experience-list ul {
    list-style-type: none;
}

.experience-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

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

/* Ensure button visibility */
.resume-btn {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.social-link:hover {
    background: white;
    color: #2d2d2d;
    transform: translateY(-2px);
}

/* Adjust footer for new content */
.footer {
    margin-top: 4rem;
}
