/* ==========================================================================
   AQUIF AKIL JIGRU - PRINT & PDF STYLESHEET
   Engineered for clean A4 1-page export with selectable text and zero overflow
   ========================================================================== */

@page {
  size: A4 portrait;
  margin: 0; /* Full bleed handled by container padding */
}

@media print {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: #FFFFFF !important;
    color: #1A1D20 !important;
    font-size: 8.8pt !important;
    line-height: 1.35 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .site-header,
  .site-footer,
  .modal-backdrop,
  .theme-switch-btn,
  .mobile-nav-toggle,
  .back-to-top-btn,
  .no-print,
  #hero-spatial-canvas,
  .spatial-hud-overlay {
    display: none !important;
  }

  .page-sheet {
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 210mm !important;
    height: 297mm !important;
    max-height: 297mm !important;
    overflow: hidden !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
  }
}

/* Standalone Print Template Styles (resume-print.html) */
.cv-print-container {
  width: 210mm;
  height: 297mm;
  max-height: 297mm;
  margin: 0 auto;
  background: #FFFFFF;
  color: #1E2229;
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 66mm 144mm;
  overflow: hidden;
}

/* LEFT SIDEBAR (Dark Obsidian Style matching website brand) */
.cv-sidebar {
  background: #0B0C12;
  color: #CBD5E1;
  padding: 10mm 6mm 10mm 7mm;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  border-right: 2px solid #FF3344;
}

.cv-sidebar-header {
  margin-bottom: 7mm;
}

.cv-sidebar-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 21pt;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.05em;
  margin: 0 0 3px 0;
}

.cv-sidebar-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10pt;
  font-weight: 700;
  color: #FF3344;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.cv-side-section {
  margin-bottom: 5mm;
}

.cv-side-section:last-child {
  margin-bottom: 0;
}

.cv-side-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9.5pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FF3344;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 2px;
  margin: 0 0 3.5mm 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cv-side-item {
  margin-bottom: 2.5mm;
  font-size: 7.6pt;
  line-height: 1.35;
}

.cv-side-item .label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 7.8pt;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.cv-side-item .val {
  color: #F1F5F9;
  font-weight: 500;
  word-break: break-word;
}

.cv-side-item a {
  color: #F1F5F9;
  text-decoration: none;
}

/* Software Skills Pills */
.cv-side-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5px;
}

.cv-side-skill-badge {
  background: #181A24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 1.5px 5px;
  font-size: 7.2pt;
  font-weight: 600;
  color: #E2E8F0;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.03em;
}

/* Core Expertise List */
.cv-side-expertise {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cv-side-expertise li {
  margin-bottom: 2.5mm;
  font-size: 7.2pt;
  line-height: 1.35;
}

.cv-side-expertise strong {
  color: #FFFFFF;
  font-family: 'Rajdhani', sans-serif;
  font-size: 8pt;
  letter-spacing: 0.04em;
  display: block;
  text-transform: uppercase;
}

.cv-side-expertise span {
  color: #94A3B8;
  display: block;
}

/* RIGHT MAIN COLUMN */
.cv-main-content {
  background: #FFFFFF;
  padding: 10mm 9mm 10mm 9mm;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.cv-main-section {
  margin-bottom: 4.5mm;
}

.cv-main-section:last-child {
  margin-bottom: 0;
}

.cv-main-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0B0C12;
  border-bottom: 1.5px solid #0B0C12;
  padding-bottom: 1.5px;
  margin: 0 0 3mm 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cv-main-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 10px;
  background: #FF3344;
  border-radius: 1px;
}

.cv-main-summary {
  font-size: 7.9pt;
  line-height: 1.45;
  color: #334155;
  text-align: justify;
  margin: 0;
}

/* Job items */
.cv-job {
  margin-bottom: 3.2mm;
  page-break-inside: avoid;
  break-inside: avoid;
}

.cv-job:last-child {
  margin-bottom: 0;
}

.cv-job-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  line-height: 1.15;
}

.cv-job-role {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9.6pt;
  font-weight: 700;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cv-job-date {
  font-family: 'Rajdhani', sans-serif;
  font-size: 8.2pt;
  font-weight: 600;
  color: #64748B;
}

.cv-job-company-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 8pt;
  font-weight: 600;
  color: #FF3344;
  margin-bottom: 1.5mm;
}

.cv-job-location {
  color: #64748B;
  font-weight: 500;
  font-size: 7.6pt;
}

.cv-job-bullets {
  margin: 0;
  padding-left: 12px;
  font-size: 7.6pt;
  line-height: 1.38;
  color: #334155;
}

.cv-job-bullets li {
  margin-bottom: 1px;
}

/* Education items */
.cv-edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6mm;
}

.cv-edu-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 2.5mm 3.5mm;
}

.cv-edu-degree {
  font-family: 'Rajdhani', sans-serif;
  font-size: 8.8pt;
  font-weight: 700;
  color: #0F172A;
  text-transform: uppercase;
}

.cv-edu-inst {
  font-size: 7.5pt;
  color: #64748B;
}

