body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(224,247,250,1) 50%, rgba(0,0,0,0.5) 100%); /* Circular spotlight effect */
}

header {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background */
    padding: 50px 0;
    display: flex;
    justify-content: center;
}

.hero {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-picture {
    width: 300px; /* Double the size */
    height: 300px; /* Double the size */
    border-radius: 50%;
    object-fit: cover;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center the content horizontally */
    text-align: center; /* Center the text */
}

.content h1 {
    margin: 0;
    font-size: 2.5em;
}

.bio {
    font-size: 1.2em;
    margin: 10px 0 20px;
}

.buttons {
    display: flex;
    gap: 20px; /* Increase the gap to fit the labels */
    margin-top: 10px; /* Adjust the position of the buttons */
    flex-wrap: wrap; /* Allow buttons to wrap if needed */
    justify-content: center; /* Center the buttons */
}

.btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75px;
    height: 75px;
    background-color: #0066cc;
    color: white;
    font-size: 32px;
    text-decoration: none;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.btn-label {
    margin-top: 5px;
    font-size: 0.9em;
    color: #333;
}

.btn:hover {
    background-color: #ff6600; /* More distinctive hover color */
}

#projects {
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background */
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-tile {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s; /* Add transition for the hover effect */
}

.project-tile:hover {
    transform: scale(1.05); /* Grow the tile on hover */
}

.project-tile h3 {
    margin: 10px 0;
}

.project-tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.project-link {
    display: block;
    background-color: #0066cc;
    color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border-radius: 0 0 5px 5px;
    transition: background-color 0.3s;
}

.project-link:hover {
    background-color: #ff6600; /* More distinctive hover color */
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0; /* Reduce the padding to make the footer smaller */
    position: relative; /* Change to relative so it doesn't cover content */
    width: 100%;
    bottom: 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        align-items: center;
    }

    .buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
    }

    .buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}
