body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  color: #222;
  margin: 0;
  padding: 0;
}

.resume-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.1);
}

header {
  text-align: center;
  margin-bottom: 10px;
}

header h1 {
  font-size: 36px;
  margin: 0;
  color: #000269;
}

header h2 {
  font-size: 20px;
  margin: 5px 0;
  font-weight: 500;
  color: #555;
}

.contact a {
  color: #9d17eb;
  text-decoration: none;
  margin: 0 8px;
}

h3 {
  color: #000269;
  border-bottom: 2px solid #9d17eb;
  padding-bottom: 5px;
  margin-top: 7px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 10px 0;
}

a {
  color: #9d17eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
section{
  margin-top:15px;
}
/* Education Table */
.education-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0px;
}

.education-table th, 
.education-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.education-table th {
  background: #000269;
  color: #fff;
}

.education-table tr:nth-child(even) {
  background: #f2f2f2;
}

/* Skills List */
.skills-list li {
  margin: 8px 0;
  font-size: 16px;
}
.skills-list strong {
  color: #9d17eb;
}

/* Education Table - Beautified */
.education-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 0px;
  margin-bottom:0px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.education-table th, 
.education-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 15px;
}

.education-table th {
  background: linear-gradient(to right, #9d17eb, #11005a);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.education-table tr {
  transition: background 0.3s ease;
}

.education-table tr:nth-child(even) {
  background: #f9f9ff;
}

.education-table tr:nth-child(odd) {
  background: #ffffff;
}

.education-table tr:hover {
  background: #f1e8ff;
}

.education-table td {
  color: #333;
}
/* Download Button */
.download-container {
  text-align: center;
  margin: 30px 0;
}

.download-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to right, #9d17eb, #11005a);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;  
}

.download-btn:hover {
  background: linear-gradient(to right, #11005a, #9d17eb);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
@media print {
  body * {
    visibility: hidden;
  }

  .resume-container, .resume-container * {
    visibility: visible;
  }

  .resume-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .download-container {
    display: none !important; /* completely hide download button in PDF */
  }
}
@media print {
  body {
    margin: 0;
    -webkit-print-color-adjust: exact; /* keep colors in print */
    print-color-adjust:exact;
  }

  .education-table {
    width: 100% !important;
    border-collapse: collapse;
    table-layout: fixed;   /* force equal column widths */
    word-wrap: break-word; /* wrap long text */
  }

  .education-table th,
  .education-table td {
    padding: 6px;
    font-size: 12px;
    text-align: left;
    word-break: break-word;
  }

  .resume-container {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px; /* add small side padding so nothing cuts off */
  }
}
