body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f6f8;
  color: #222;
}
nav {
  background: #232526;
  color: #fff;
  padding: 12px;
}
nav a {
  color: #fff;
  margin: 0 8px;
  text-decoration: none;
}
nav a:hover {
  color: #ffd700;
}
main {
  padding: 24px 12px;
}
h1 {
  color: #232526;
}
footer {
  background: #232526;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  bottom: 0;
}

/* Resume page styles */
.resume-title {
  font-size: 2em;
  color: #232526;
  margin-bottom: 18px;
}
.section-title {
  font-size: 1.3em;
  color: #1a3557;
  margin-top: 32px;
  margin-bottom: 10px;
  font-weight: bold;
}
.timeline {
  border-left: 2px solid #1a3557;
  margin-left: 18px;
  padding-left: 18px;
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #1a3557;
  border-radius: 50%;
}
.timeline-date {
  display: inline-block;
  background: #1a3557;
  color: #fff;
  font-size: 0.95em;
  padding: 2px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.timeline-title {
  font-weight: bold;
  margin-bottom: 4px;
}
.timeline-sub {
  font-style: italic;
  color: #444;
  margin-bottom: 4px;
}
.timeline-desc {
  margin-bottom: 0;
}
.personal-details {
  margin-bottom: 18px;
}
.personal-details strong {
  font-size: 1.1em;
  color: #1a3557;
}
.personal-details ul {
  margin: 8px 0 0 0;
  padding: 0 0 0 18px;
}
.personal-details li {
  margin-bottom: 4px;
}

/* Projects page styles */
.projects-title {
  font-size: 2em;
  color: #232526;
  margin-bottom: 18px;
}
.projects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.project-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 18px 22px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
}
.project-title {
  font-size: 1.15em;
  color: #1a3557;
  margin-bottom: 8px;
  font-weight: bold;
}
.project-desc {
  font-size: 1em;
  color: #444;
  margin-bottom: 0;
}

/* Contact page styles */
.contact-container {
  display: flex;
  gap: 32px;
  background: #f4f6f8;
  padding: 32px 0;
  justify-content: center;
  align-items: flex-start;
}
.contact-info,
.contact-form {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 28px 32px;
  min-width: 280px;
  max-width: 340px;
}
.contact-info h2 {
  color: #1a3557;
  font-size: 1.3em;
  margin-bottom: 10px;
}
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.contact-info .icon {
  font-size: 1.3em;
  margin-right: 12px;
  color: #1a3557;
}
.contact-info .label {
  font-weight: bold;
  margin-right: 6px;
}
.contact-form h2 {
  color: #1a3557;
  font-size: 1.1em;
  margin-bottom: 12px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1em;
  background: #f9f9f9;
}
.contact-form textarea {
  min-height: 80px;
  resize: vertical;
}
.contact-form button {
  background: #2196f3;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 0;
  width: 100%;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover {
  background: #1769aa;
}
.profile-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-top: 18px;
}
@media (max-width: 800px) {
  .contact-container {
    flex-direction: column;
    gap: 18px;
    padding: 18px 0;
    align-items: stretch;
  }
  .contact-info,
  .contact-form {
    max-width: 100%;
    min-width: unset;
    padding: 18px 12px;
  }
}
