/* =====================================================
   RESUME PAGE STYLES
===================================================== */

.resume-section {
  padding-top: 150px;
  width: 92%;
  max-width: 1300px;
  margin: auto;
  padding-bottom: 100px;
}

.resume-header {
  text-align: center;
  margin-bottom: 50px;
}

.resume-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -1px;
}

.resume-title span {
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.resume-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.resume-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =====================================================
   RESUME BENTO GRID
===================================================== */
.resume-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.resume-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.card-title i {
  font-size: 22px;
}

.card-title i.cyan { color: var(--primary-cyan); }
.card-title i.purple { color: var(--accent-purple); }
.card-title i.emerald { color: var(--accent-emerald); }
.card-title i.orange { color: #fb923c; }

.card-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.timeline-item {
  position: relative;
  padding-left: 16px;
  border-left: 2px solid rgba(56, 189, 248, 0.25);
}

.timeline-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.date-badge {
  font-size: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary-cyan);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.institution {
  color: var(--primary-cyan);
  font-weight: 600;
  font-size: 14px;
  margin-top: 2px;
}

.meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 2px;
}

.desc {
  color: var(--text-sub);
  font-size: 13px;
  margin-top: 6px;
}

.sgpa-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--primary-cyan);
  color: var(--primary-cyan);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.bullet-list {
  padding-left: 18px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.6;
}

.bullet-list li {
  margin-bottom: 8px;
}

.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }

/* =====================================================
   PDF VIEWER
===================================================== */
.resume-viewer-container {
  margin-top: 40px;
}

.viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.viewer-tabs {
  display: flex;
  gap: 10px;
}

.pdf-tab-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdf-tab-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary-cyan);
  border-color: rgba(56, 189, 248, 0.3);
}

.pdf-tab-btn.active {
  background: var(--primary-cyan);
  color: #000;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.view-link {
  color: var(--primary-cyan);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.view-link:hover {
  color: #0284c7;
}

.resume-viewer {
  padding: 12px;
  border-radius: 20px;
  overflow: hidden;
}

.resume-viewer iframe {
  width: 100%;
  height: 800px;
  border: none;
  border-radius: 14px;
  background: var(--bg-dark);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .resume-title {
    font-size: 36px;
  }

  .resume-viewer iframe {
    height: 500px;
  }
}