body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
}

header p {
    font-size: 1.2rem;
}

.contact-info {
    margin-top: 0.5rem;
}

.contact-info a {
    color: #cce6ff;
    text-decoration: none;
}

section {
    padding: 1.5rem 2rem;
    max-width: 900px;
    margin: auto;
    background: white;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #003366;
    border-bottom: 2px solid #003366;
    padding-bottom: 0.3rem;
}

ul {
    padding-left: 20px;
}
/* NAVIGATION BAR */
.navbar {
    background-color: #003366;
    padding: 0.75rem 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar ul {
    list-style: none;
    display: flex;
    /* key to horizontal layout */
    justify-content: center;
    /* centers the nav horizontally */
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 2rem;
    /* space between links */
}

.navbar li {
    display: inline-block;
    /* prevents weird stacking in older browsers */
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: #cce6ff;
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #003366;
    color: white;
    margin-top: 2rem;
}
/* About Page */
.about-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
}

.about-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-text {
    max-width: 600px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-text h2 {
    color: #003366;
    border-bottom: 2px solid #003366;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
}

nav a.active {
    text-decoration: underline;
    font-weight: bold;
}
.project {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.project-text {
  flex: 1;
}

//blog and portolio
.blog-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.blog-list a {
  text-decoration: none;
  color: #003366;
  font-weight: bold;
}

.blog-list a:hover {
  text-decoration: underline;
}

.article {
  max-width: 800px;
  margin: auto;
}

.article-img {
  width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

.caption {
  font-size: 0.9rem;
  color: #555;
}
