/* Reset and General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #f4f4f9;
  line-height: 1.6;
  text-align: center;
}

/* Header Section */
.main-header {
  background: #f4f4f9;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.main-header .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #005b99;
  margin-bottom: 5px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #005b99;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007acc;
}

/* Profile Section */
.profile {
  background: #ffffff;
  padding: 60px 0;
  border-bottom: 1px solid #ddd;
}

.profile-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: left;
}

.profile-photo {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-info h2 {
  font-size: 2em;
  color: #005b99;
  margin-bottom: 10px;
}

.profile-info p {
  font-size: 1em;
  color: #666;
  margin: 5px 0;
}

.profile-info a {
  color: #007acc;
  text-decoration: none;
}

.profile-info a:hover {
  text-decoration: underline;
}

/* Section Titles */
.section {
  padding: 40px 0;
  text-align: center;
}

.section h2 {
  font-size: 1.8em;
  color: #005b99;
  display: inline-block; /* Centers the title as a block */
  /*border-left: 4px solid #005b99;*/
  padding-left: 10px; /* Space between the blue line and text */
}

/* Timeline */
.timeline {
  margin-top: 20px;
}

.timeline-item {
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 2px solid #005b99;
  text-align: left;
  margin-left: 30%;
  margin-right: 20%;
}

.timeline-item h3 {
  font-size: 1.4em;
  color: #005b99;
  margin-bottom: 5px;
}

.timeline-item p {
  color: #666;
}

.timeline-item em {
  display: block;
  color: #999;
  font-size: 0.9em;
  margin-bottom: 5px;
}

/* Footer Section */
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.footer p {
  margin: 10px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .main-header .container,
  .profile-grid {
    flex-direction: column;
    text-align: center;
  }

  .profile-photo {
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
  }

  .timeline-item {
    margin-left: 10%;
    margin-right: 10%;
  }
}
