/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007bff; /* A clean blue for links/buttons */
    --secondary-color: #f4f4f9; /* Light grey for section backgrounds */
    --text-color: #333;
    --dark-color: #222;
    --font-family: 'Arial', sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    overflow: hidden;
}

section {
    padding: 60px 0;
}

section:nth-child(even) {
    background: var(--secondary-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Header & Nav */
header {
    background: var(--dark-color);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
}

header nav a {
    color: #fff;
    padding: 5px 15px;
    margin-left: 10px;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--primary-color);
}

/* Hero/About Section */
.hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(to right, #eef 0%, #fff 100%);
}

.hero-content {
    max-width: 700px;
    margin: auto;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
    font-weight: bold;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.secondary-btn {
    background: #6c757d; /* Grey button */
}
.secondary-btn:hover {
    background: #5a6268;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.project-link {
    display: inline-block;
    margin-right: 15px;
    margin-top: 15px;
    font-weight: 600;
}
.project-link i {
    margin-right: 5px;
}

/* Skills Section */
.skills {
    text-align: center;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill-list span {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.skill-list span i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Footer/Contact Section */
footer {
    background: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

footer h2 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-links a {
    color: #fff;
    font-size: 2rem;
    margin: 0 15px;
    transition: color 0.3s;
}

.contact-links a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #aaa;
}
.copyright i {
    color: red;
    margin: 0 3px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    header .container {
        flex-direction: column;
        text-align: center;
    }
    header nav {
        margin-top: 10px;
    }
    header nav a {
        margin: 0 5px;
    }
}