* {
    box-sizing: border-box;
}

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

header {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}
.heading {
    color: #1e9a0b; 
    font-weight: bold;
}



.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo .code-symbol {
    font-size: 2rem; 
    margin-right: 10px;
    color: green; /* Change the color of the code symbol to green */
}


header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6347; /* Change color on hover */
}

.home-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    margin: 20px;
    background: #fff; 
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.home-content {
    display: flex; 
    align-items: center; 
}

.profile-pic {
    width: 200px; 
    height: 200px; 
    border-radius: 50%;
    margin-right: 20px; 
    border: 5px solid #f4f4f4; 
}

.text-content {
    flex: 1; 
}



#projects {
    padding: 20px;
    background-color: #f9f9f9; /* Light background for contrast */
}

.project {
    margin-bottom: 20px; 
    padding: 15px;
    border: 1px solid #ccc; 
    border-radius: 5px; 
    background-color: #fff; 
}

.project-content {
    display: flex; /* Flexbox for layout */
    align-items: center; /* Center items vertically */
}

.project-image {
    max-width: 150px; 
    height: auto; 
    border-radius: 5px; 
    margin-right: 15px; 
}

.project-description {
    flex: 1; /* Allow the description to take the remaining space */
}

.project h3 {
    margin: 0; /* Remove default margin */
}

.project p {
    margin: 5px 0; 
}


.contact-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #ff6347; /* Button color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.contact-button:hover {
    background: #e5533d; /* Darker shade on hover */
}

section {
    padding: 20px;
    margin: 20px;
    background: #fff; /* White background for other sections */
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none; /* Hide sections initially */
}

/* Show section when targeted */
section:target {
    display: block; 
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    resize: vertical; /* Allow vertical resizing */
}

button[type="submit"] {
    background: #ff6347; /* Button color */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #e5533d; /* Darker shade on hover */
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #333;
    color: #fff;
}

.download-cv {
    background: red;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
}

.download-cv a {
    color: white;
    text-decoration: none;
}

.social-media {
    margin: 10px 0;
}

.social-media a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #ff6347; /* Change color on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-section {
        flex-direction: column; 
        text-align: center;
    }

    .profile-pic {
        margin: 0 0 20px 0; /* Adjust margin for mobile */
    }
}