body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    transition: background-color 0.3s, color 0.3s;
}

header {
    background: #e0497c;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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: #0a0909; /* Tomato color on hover */
}

button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px;
}

button:hover {
    background-color: #ff6347; /* Tomato color on hover */
}

.hero {
    align-items: center;
    justify-content: center;
    color: rgb(11, 10, 10);
    text-align: center;
}

.hero-content {
    padding: 20px
    border-radius: 10px;
}

.profile-img {
    width: 200px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 15px;
}

.profile-img:hover {
    transform: scale(1.1);
}

h2 {
    color: #d81f69;
}

ul {
    padding-left: 20px;
}

ul li {
    margin: 5px 0;
}
footer {
    text-align: center;
    padding: 10px 0;
    background: #e0497c;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: auto;
}

.grid {
    padding: 20px;
}

.skill {
    margin: 15px 0;
}

.progress {
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    background-color: #4caf50; /* Green */
    height: 20px;
    line-height: 20px;
    color: white;
    text-align: center;
    transition: width 0.5s ease-in-out;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed ```css
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}