
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #0d1117; 
    color: #c9d1d9;            
    padding: 60px 0;
    line-height: 1.6;
}


.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}


.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #21262d; /* Sleek line separation */
}

.header-text h2 {
    color: #58a6ff; /* Vibrant Electric Blue Accent */
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.header-text h1 {
    color: #f0f6fc;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.email-link {
    color: #8b949e;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.email-link:hover {
    color: #58a6ff;
}

.profile-wrap {
    flex-shrink: 0;
}

.profile-pic {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #30363d;
}

.aboutme {
    margin: 50px 0;
}

.aboutme h2, .projects h2 {
    color: #f0f6fc;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.aboutme p {
    color: #8b949e;
    font-size: 1.1rem;
}

.projects {
    margin-top: 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 24px;
    margin-top: 20px;
}

.project-card {
    background-color: #161b22; /* Slightly lighter card element background */
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes the 'View Link' to the exact bottom */
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: #58a6ff;
}

.project-card h3 {
    color: #f0f6fc;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.project-card h3 span {
    color: #8b949e;
    font-size: 0.9rem;
    font-weight: 400;
}

.project-card p {
    color: #8b949e;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1; /* Ensures text area expands equally across uneven descriptions */
}

.project-card a {
    display: inline-block;
    color: #58a6ff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.project-card a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    body {
        padding: 30px 0;
    }
    .header-section {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
    }
    .header-text h1 {
        font-size: 2rem;
    }
}

.social-btn.email-btn{
    border-color:#8b949e;
    color:#f0f6fc;
}
.social-btn.email-btn:hover{
    background-color: #30363d;
    border-color:#c9d1d9;
}
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.social-btn {
    display: inline-block;
    background-color: #1f242c;
    border: 1px solid #30363d;
    color: #c9d1d9;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.social-btn:hover {
    background-color: #21262d;
    border-color: #8b949e;
    color: #f0f6fc;
}

/* Accent highlight for the Resume Button */
.social-btn.resume-btn {
    border-color: #58a6ff;
    color: #58a6ff;
}

.social-btn.resume-btn:hover {
    background-color: rgba(88, 166, 255, 0.1);
    color: #f0f6fc;
}
.achievement-badges {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background-color: #1f242c;
    border: 1px solid #30363d;
    color: #8b949e;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
}
.skills-section {
    margin: 40px 0;
}
.project-links {
    display: flex;
    gap: 20px;
}
.project-card img{
    max-width: 100%;
    height: 300px;
    border-radius: 8px;
    border: 1px solid #30363d;
}