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

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

nav {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #fdb515;
}

.container {
    width: 80%;
    margin: 20px auto;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

section {
    margin-bottom: 40px;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 20px; /* space between image and text */
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* makes it a circle */
    object-fit: cover;  /* crops image neatly */
    border: 3px solid #333;
}

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

.project {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.project img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.project h2 {
    margin: 10px 0;
}

.project p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.project a {
    display: inline-block;
    text-decoration: none;
    background: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.project a:hover {
    background: #fdb515;
    color: #333;
}
.contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
}

.contact-item {
    font-size: 1.2rem;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.contact-item i {
    font-size: 1.5rem;
    color: #fdb515; /* accent color */
}

.contact-item:hover {
    color: #fdb515;
}
