body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #f5f5f5;
}

/* ✅ Print Button Styling */
.print-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 10px 40px 0 0;
}

.print-btn {
  background-color: #0056d2;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.print-btn:hover {
  background-color: #003c9e;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.print-btn i {
  font-size: 16px;
}

/* ✅ Hide button and show footer only during print */
@media print {
  .print-wrapper {
    display: none !important;
  }

  .footer-print {
    display: block !important;
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 20px;
  }
}

.resume {
  display: flex;
  max-width: 1000px;
  margin: 20px auto 40px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar {
  width: 30%;
  background: #002b5c;
  color: #fff;
  padding: 30px;
  text-align: center;
}

.sidebar h2 {
  color: #fff;
  border-bottom: 2px solid #aad4ff;
  padding-bottom: 5px;
  margin-top: 30px;
  font-size: 18px;
}

.sidebar p,
.sidebar li {
  color: #fff;
}

.sidebar i {
  margin-right: 8px;
  color: #aad4ff;
}

.profile-pic img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.skills ul,
.hard-skills ul,
.soft-skills ul,
.languages ul {
  list-style: none;
  padding: 0;
}

.skills li,
.hard-skills li,
.soft-skills li,
.languages li {
  margin-bottom: 8px;
}

.skill-box {
  background: #ffffff;
  color: #002b5c !important;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
  margin: 5px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.proficiency {
  font-size: 13px;
  color: #aad4ff;
  margin-left: 4px;
}

.main {
  width: 70%;
  padding: 40px;
  background: #fff;
  color: #000;
}

.header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  margin: 0;
  color: #0056d2;
}

.header h3 {
  font-weight: normal;
  margin: 5px 0 20px;
  color: #444;
}

section {
  margin-bottom: 30px;
}

section h2 {
  color: #0056d2;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-size: 20px;
}

.experience ul {
  margin: 0;
  padding-left: 20px;
}

.highlight {
  color: #007bff;
}

.job-block {
  margin-bottom: 20px;
}

.job-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.job-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.company {
  font-size: 14px;
  font-weight: 500;
  color: #007bff;
}

.years {
  font-size: 14px;
  color: #666;
}

@media screen and (max-width: 768px) {
  .resume {
    flex-direction: column;
  }

  .sidebar,
  .main {
    width: 100%;
    padding: 20px;
  }

  .sidebar {
    text-align: left;
  }

  .profile-pic img {
    margin: 0 auto;
  }
}