/* Base Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

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

.subtitle {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: #ffcc00;
}

nav {
  margin-top: 0.5rem;
}

nav a {
  margin: 0 1rem;
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover,
nav a[aria-current="page"] {
  text-decoration: underline;
}

/* Main Content */
main {
  padding: 2rem;
}

/* Sections */
#about,
#contact {
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

#about h2,
#contact h2 {
  color: #004080;
  margin-bottom: 1rem;
}

#about p,
#contact p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Profile Image */
.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* CTA Button */
.download-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #004080;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.download-btn:hover {
  background-color: #003060;
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #eee;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive Design */
@media (max-width: 600px) {
  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  .profile-image {
    width: 100px;
    height: 100px;
  }

  #about,
  #contact {
    padding: 1rem;
  }
}

/* Certifications & Education */
#certifications,
#education {
  max-width: 700px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

#certifications h2,
#education h2 {
  color: #004080;
  margin-bottom: 1rem;
}

#certifications ul,
#education ul {
  list-style: none;
  padding: 0;
}

#certifications li,
#education li {
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* Typewriter Effect */
.center-typewriter-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.center-typewriter {
  font-style: italic;
  color: #444;
  white-space: pre;
  font-family: monospace;
  text-align: center;
  border-right: 2px solid #004080;
  padding-right: 4px;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Spacer */
.spacer {
  height: 1.5rem;
}