/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
}

/* Project list */
.project-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.project-list li {
    background: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.project-list a {
    color: #007acc;
    text-decoration: none;
}

.project-list a:hover {
    text-decoration: underline;
}

.project-description {
    margin-top: 10px;
}

/* Navbar styles */
.navbar ul {
    list-style: none;
    display: flex;             /* makes the list horizontal */
    justify-content: center;   /* centers the links */
    padding: 0;
    margin: 20px 0;
    background-color: #001726;
    border-radius: 8px;
}

.navbar li {
    margin: 0 15px;            /* spacing between links */
}

.navbar a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: #005fa3;
    border-radius: 5px;
}

/* ---------------- Blog styles ---------------- */
.project-list img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.project-list h2 {
    margin: 10px 0;
    font-size: 1.3rem;
    color: #222;
}

.category-tag {
    display: inline-block;
    margin: 5px 0;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    background: #007acc;
    color: #fff;
    border-radius: 5px;
}

/* GENERAL RESETS (optional but helps) */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(to right, #c1e3fa, #96d2fb);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* SKILLS SECTION */
.skills {
    background-color: #ffffff;
    padding: 3rem 2rem;
    margin-top: 2rem;
    border-top: 1px solid #ddd;
}

.skills h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #007acc;
}

.skills ul {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.skills li {
    background-color: #f0f4f8;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: #333;
}

.skills li:hover {
    background-color: #e0ecf7;
    transition: 0.3s ease;
}
.skills li {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
code {
  background-color: #f4f4f4;
  color: #1d6ce3;
  font-family: "Fira Code", "Consolas", monospace;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.95em;
  border: 1px solid #e0e0e0;

}
