/* ==========================================================================
   THEME VARIABLES (Orange Terminal & Premium Dark Dashboard)
   ========================================================================== */
:root {
  --bg-primary: #030712;         /* Pitch-black system terminal background */
  --bg-secondary: #0b0f19;       /* Deep obsidian diagnostic card panels */
  
  --accent-primary: #ff6a00;     /* 80% Tech Accent: Glowing Vivid Orange */
  --accent-secondary: #00f2fe;   /* 20% Secondary Accent: Sodales Cyan Glow */
  
  --text-primary: #ffffff;       /* Main headers & titles (White) */
  --text-secondary: #ffffff;     /* Set back to full high-contrast white */
  --text-muted: #64748b;         /* Secondary metadata (Muted gray) */
  
  --border-color: #1e293b;       /* Dark structural partition borders */
  --font-mono: "Fira Code", "Courier New", Courier, monospace;
}

/* ==========================================================================
   RESET & SYSTEM BASICS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-primary);
  color: var(--bg-primary);
  padding: 8px 16px;
  font-weight: 700;
  z-index: 100;
  transition: top 0.2s;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* High-visibility focus state */
a:focus-visible {
  outline: 3px solid var(--accent-secondary);
  outline-offset: 2px;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.resume-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* ==========================================================================
   HEADER SECTION: Glassmorphism with Glowing Amber Underlay
   ========================================================================== */
.profile-header {
  background: radial-gradient(circle at 10% 20%, rgba(11, 15, 25, 0.98) 0%, rgba(3, 7, 18, 0.99) 90%);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

/* Gradient left neon accent line */
.profile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.profile-name {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(to right, #ffffff, var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-headline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.profile-headline .divider {
  color: var(--accent-primary);
  margin: 0 0.5rem;
}

.profile-location {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1.5rem 0;
}

.contact-info {
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.contact-info p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

.contact-info strong {
  color: var(--accent-primary); /* Bold labels emphasized in orange */
}

.contact-info a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--accent-primary);
}

/* Header Action Buttons */
.social-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.social-links a:hover,
.social-links a:focus {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(255, 106, 0, 0.4);
}

/* ==========================================================================
   DASHBOARD GRID & PANELS
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 992px) {
  .dashboard-grid {
    /* ADUSTMENT: Sidebar is narrowed to 2.7fr, content is widened to 7.3fr */
    grid-template-columns: 2.7fr 7.3fr; 
    gap: 1rem; /* Gap remains tight and half as small as original (2rem) */
  }
}

.dashboard-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  transition: border-color 0.3s ease;
}

.dashboard-card:hover {
  border-color: rgba(255, 106, 0, 0.3);
}

.card-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-primary); /* Section headers unified in vibrant orange */
  margin-top: 0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.card-title::before {
  content: '>';
  font-family: var(--font-mono);
  color: var(--accent-secondary);
  margin-right: 0.5rem;
  font-weight: 800;
}

/* ==========================================================================
   LEFT COLUMN (Sidebar Components)
   ========================================================================== */
/* Skills Badge Grid */
.skills-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills-grid li {
  background-color: rgba(255, 106, 0, 0.05);
  color: #ffffff;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-mono);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.skills-grid li:hover {
  border-color: var(--accent-primary);
  background-color: rgba(255, 106, 0, 0.15);
}

/* Certifications Panel */
.certs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.certs-list li {
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--accent-primary);
}

.certs-list strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

.certs-list .subtext {
  display: block;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Education Cards */
.education-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.education-list li {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.education-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.education-list h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--accent-primary); /* Highlighted in Orange */
}

.education-list .degree {
  font-size: 1rem;
  color: #ffffff;
  margin: 0.25rem 0;
}

.education-list .dates {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--accent-secondary);
  margin: 0;
}

.gpa-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  background-color: rgba(255, 106, 0, 0.15);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* ==========================================================================
   RIGHT MAIN SYSTEM COLUMN
   ========================================================================== */
.summary-card {
  border-top: 4px solid var(--accent-primary);
}

.lead-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-secondary); /* Restored to full high-contrast white */
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.subsection-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--accent-primary);
  padding-left: 0.5rem;
}

/* Project Deployments Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.project-box {
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.project-box:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.project-counter {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-primary); /* Counters highlighted in orange */
  margin-bottom: 0.5rem;
}

.project-box p {
  font-size: 1rem;
  color: var(--text-secondary); /* Restored to full high-contrast white */
  margin: 0 0 1.25rem 0;
}

.project-link {
  font-size: 0.95rem;
  color: var(--accent-secondary);
  text-decoration: underline;
  font-weight: 700;
}

.project-link:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   CHRONOLOGICAL CAREER TIMELINE
   ========================================================================== */
.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Neon Node Indicator */
.timeline-dot {
  position: absolute;
  left: calc(-1.5rem - 6px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.timeline-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .timeline-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.timeline-number {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.job-title {
  font-size: 1.4rem;
  margin: 0;
  color: #ffffff;
  font-weight: 700;
}

.company-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-primary); /* Positions highlighted in orange */
  margin: 0.2rem 0 0 0;
}

.job-date {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-secondary);
  font-weight: 600;
}

.job-intro {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* TARGETED DIM BULLETS ONLY: Specifically isolates only list item text into your slate-blue color */
.job-bullets {
  padding-left: 1.25rem;
  margin: 0;
  font-size: 1.05rem;
  color: #94a3b8; /* Set specifically to Slate-Blue color shown in your image */
}

.job-bullets li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER (System Signature)
   ========================================================================== */
.resume-footer {
  text-align: center;
  padding: 3rem 0;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
}