/* Reset margins */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* NAVBAR */
nav {
  background: #2c3e50; /* dark blue-gray bar */
  padding: 20px 20px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  transition: 0.2s;
}

nav ul li a.active,
nav ul li a:hover {
  background: #34495e;
  border-radius: 4px;
  color: #fff;
}

/* SPLIT LAYOUT */
main.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 40px;
}

.intro-text {
  flex: 1;
  padding-right: 40px;
  text-align: left;
}

.intro-text h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.intro-text p {
  font-size: 1.1rem;
  color: #555;
}

/* IMAGE SIDE */
.intro-image {
  display: flex;
  flex-direction: column; /* stack items vertically */
  align-items: center;    /* center them horizontally */
}

.profile-pic {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.full-name {
  font-size: 1.5em;   /* larger than normal text */
  font-weight: bold;
  margin: 10px 0;     /* space between image and contacts */
  text-align: center; /* keeps it aligned under the photo */
}


.contact-links {
  font-size: 1em; 
  margin-top: 10px;
  text-align: center;
}

.contact-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #333; /* neutral text color */
  font-weight: bold;
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: #0077b5; /* LinkedIn blue for hover */
}

main {
  max-width: 900px;   /* keep text in a readable width */
  margin: 40px auto;  /* center content with space from top/bottom */
  padding: 0 20px;    /* add space so text isn’t flush with edges */
}


main h1 {
  margin-bottom: 40px;
  font-size: 2rem;
  color: #2c3e50;
}

main ul {
  padding-left: 20px; /* indent bullets a little */
}

main li {
  margin-bottom: 15px; /* spacing between projects */
}


/* projects page */

.project {
  background: #fff;
  padding: 20px 25px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.project h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #2c3e50;
}

.project .meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 15px;
}

.project p {
  margin-bottom: 15px;
  text-align: justify;
}

.project a {
  color: #2980b9;
  text-decoration: none;
}

.project a:hover {
  text-decoration: underline;
}