:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    text-align: center;
    padding: 20px;
}

.navbar {
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
}

.navbar ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 2rem;
}

.navbar a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--primary-color);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--light-bg);
    gap: 4rem;
}

.profile-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}

social-links a:hover {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--secondary-color);
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
}

.projects-container {
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.project-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.project-tags span {
    background: var(--light-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.875rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-links .btn {
    font-size: 0.875rem;
}

.active {
    color: var(--primary-color) !important;
    font-weight: bold;
}

.home-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s, background-color 0.3s;
}

.home-btn:hover {
    transform: translateY(-3px);
    background-color: var(--secondary-color);
}

.home-btn i {
    font-size: 1.5rem;
}

.contact-section {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
    text-align: center;
}

.contact-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 5px;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateX(10px);
    background-color: var(--light-bg);
}

contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: var(--primary-color);
}
