/* General Styling */
body {
    background-color: #e6e6e6; /* Light gray background */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 50px; /* Offsets content to avoid overlap with fixed nav */
}

/* Navigation Bar Styling */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333; /* Dark gray background */
    color: white;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Keeps the nav above other elements */
}

/* Header Styling */
header {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Profile Container Styling */
.profile-container {
    display: flex;
    align-items: flex-start;
    background-color: white;
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 1000px;
    width: 100%;
    margin-top: 80px;
}

/* Profile Image Wrapper Styling */
.profile-image-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 50%; /* Ensures circular shape */
    overflow: hidden;
    flex-shrink: 0; /* Prevents the wrapper from shrinking */
    margin-right: 20px;
}

/* Profile Image Styling */
.profile-image {
    width: 100%; /* Fills the wrapper */
    height: 100%; /* Keeps the aspect ratio */
    object-fit: cover; /* Crops the image to fit the circular shape */
}

/* Profile Text Styling */
.profile-text h1 {
    margin: 0;
    font-size: 2em;
    color: #333;
}

.profile-text p {
    margin: 5px 0 0;
    font-size: 1.1em;
    color: #666;
}

/* Icon Links Styling */
.icon-links {
    margin-top: 10px; /* Space above the icons */
}

.icon-links a {
    margin-right: 10px; /* Space between icons */
    outline: none; /* Removes default outline from links */
}

.icon {
    width: 40px; /* Icon size */
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease; /* Smooth hover effect */
    outline: none; /* Removes outline on focus */
}

.icon:hover {
    transform: scale(1.1); /* Slightly enlarges the icon on hover */
}

.icon:focus {
    outline: none; /* Removes focus outline */
}

#projects {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.projects-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 20px; /* Space between boxes */
    margin-top: 20px;
}

.project-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.project-box:hover {
    transform: scale(1.02);
}

/* Project Image Styling */
.project-image {
    width: auto;
    height: auto;
    max-height: 400px; /* Limits the height to avoid oversized images */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Project Title Styling */
.project-box h3 {
    font-size: 1.25em;
    margin: 15px 0 10px;
    color: #333;
}

/* Project Description Styling */
.project-box p {
    color: #666;
    font-size: 1em;
    margin: 0 0 15px;
    text-align: left;
}

/* See More Button Styling */
.see-more-button {
    text-decoration: none;
    color: white;
    background-color: #2441ff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.see-more-button:hover {
    background-color: #1a34cc;
    transform: scale(1.05);
}

#projects h2 {
    font-size: 2.5em; /* Adjust the size as needed */
    color: #333; /* Optional: change the color */
}


