@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

/* Modern Resume Design */
#resume-container {
  font-family: "Ubuntu", "Poppins", sans-serif;
  width: 900px;
  margin: 10px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: #333;
}

/* Header Section */
.resume-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #3a6ea5;
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.resume-header .profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #3a6ea5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Center align the resume header */
.resume-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 3px solid #000000;
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.resume-header img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #3a6ea5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resume-header h1 {
  margin: 0;
  font-size: 32px;
  color: #1a3a5f;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.resume-header p {
  margin: 6px 0;
  font-size: 17px;
  color: #5a6a7a;
  line-height: 1.4;
  display: inline;
  margin-right: 10px;
}

/* Section Headers */
.resume-section {
  margin-bottom: 30px;
}

.resume-section h2 {
  font-size: 22px;
  color: #1a3a5f;
  border-bottom: 2px solid #3a6ea5;
  padding-bottom: 8px;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Experience & Education */
.resume-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eaeaea;
}

.resume-item:last-child {
  border-bottom: none;
}

.resume-item h3 {
  font-size: 19px;
  margin: 0 0 5px 0;
  color: #2a4a6f;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.resume-item span {
  font-size: 15px;
  color: #5a6a7a;
  font-weight: 400;
}

.resume-item p {
  margin: 8px 0;
  line-height: 1.5;
  color: #444;
}

.resume-item p strong {
  font-weight: 600;
  color: #2a4a6f;
}

/* Project Links */
.project-link {
  font-size: 15px;
  color: #3a6ea5;
  text-decoration: none;
  font-weight: 500;
  margin-left: 10px;
}

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

/* Achievements & Skills */
.resume-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.resume-list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.resume-list li:before {
  content: "•";
  color: #3a6ea5;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.resume-list li strong {
  font-weight: 600;
  color: #2a4a6f;
}

/* Skill Tags */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  background-color: #eef2f7;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  color: #2a4a6f;
  border: 1px solid #d9e2ec;
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background-color: #3a6ea5;
  color: white;
  border-color: #3a6ea5;
}

/* Contact Information */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #5a6a7a;
}

/* Responsive Design */
@media print {
  #resume-container {
    box-shadow: none;
    margin: 0;
    padding: 20px;
  }

  .resume-header {
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  #resume-container {
    padding: 25px;
  }

  .resume-header {
    flex-direction: column-reverse;
    text-align: center;
  }

  .resume-header .profile-image {
    margin-bottom: 15px;
  }
}
