@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --primary-color: #007BFF;
    --secondary-color: #F8F9FA;
    --text-color: #333;
    --light-text-color: #FFF;
    --border-color: #E9ECEF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: #FFF;
}

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

header {
    background-color: #FFF;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

header nav {
    display: flex;
    justify-content: center;
    gap: 30px;
}

header nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1em;
    transition: color 0.3s, transform 0.3s;
    display: inline-block; /* Added for transform to work */
}

header nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

main > section {
    padding: 60px 0;
}

.hero {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--primary-color);
}

.profile-name {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.profile-title {
    font-size: 1.5em;
    font-weight: 400;
    color: #666;
}

.about-me {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
}

.about-me h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

.about-me p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.btn-pdf {
    display: inline-block;
    background-color: var(--light-text-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.btn-pdf:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.skills h3, .projects h3, .setup h3, .contact h3 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}

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

.skill-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.skill-card i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.skill-card h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.projects {
    background-color: var(--secondary-color);
}

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

.repo-card {
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.repo-card h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.repo-card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.repo-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    align-self: flex-start;
}

.setup-columns {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.column {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 45%;
}

.column h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.column ul {
    list-style: none;
}

.column ul li {
    margin-bottom: 10px;
}

.contact {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-links a {
    color: var(--text-color);
    font-size: 2.5em;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.1) translateY(-2px);
}

footer {
    background-color: var(--text-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .profile-name {
        font-size: 2em;
    }
    .profile-title {
        font-size: 1.2em;
    }
    .setup-columns {
        flex-direction: column;
    }
    .column {
        width: 100%;
    }
}
