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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

header {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #2c3e50;
    color: white;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.8;
}


section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}


#about .about-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tagline {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.human-elements {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2rem;
}

.passion, .coding-philosophy {
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
}

.passion i, .coding-philosophy i {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 1rem;
    display: block;
}

.passion h3, .coding-philosophy h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.passion ul, .coding-philosophy ul {
    padding-left: 1.5rem;
}

.passion li, .coding-philosophy li {
    margin: 0.8rem 0;
    color: #555;
}


.professional-summary {
    margin-top: 2rem;
}
.core-skills {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.core-skills h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.core-skills h3 i {
    font-size: 1.5rem;
    color: #3498db;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-badges span {
    background: #3498db;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: transform 0.2s;
}

.skill-badges span:hover {
    transform: translateY(-2px);
}

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

.project-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 1.5rem;
}
.project-card p {
    margin: 0.8rem 0;
    color: #666;
}
.project-card:hover {
    transform: translateY(-5px);
}

.project-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.github-link { background: #333; }
.render-link { background: #46E3B7; }  
.railway-link { background: #0A1D2C; }
.project-link:hover {
    opacity: 0.9;
}

.project-details {
    margin-top: 1.5rem;
    padding-left: 1.2rem;
}

.project-details li {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: #555;
}


#education .education-item {
    background: white;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#education .date {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}


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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}


@media (max-width: 768px) {
    .human-elements {
        grid-template-columns: 1fr;
    }
    
    .skill-badges {
        gap: 0.6rem;
    }
    
    .skill-badges span {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 1.1rem;
    }
    
    .passion, .coding-philosophy {
        padding: 1rem;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-link {
        justify-content: center;
    }
}