:root {
  /* 🎨 Control colors here */
  --bg-color: #001f3f;             /* Navy blue */
  --spotlight-color: 83,54,126;    /* Light purple (RGB) */
  --spotlight-opacity: 1.0;        /* Spotlight transparency */
  --spotlight-radius: 5%;          /* How far spotlight fades */

  /* Text colors */
  --text-color: #c3c3c3;           /* default body text */
  --text-muted: #999999;           /* subtle gray */
  --text-strong: #ffffff;          /* strong white for headings/highlights */

  /* Accent */
  --accent: #53367e;               /* purple accent */
}

/* Reset / base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { 
  height: 100%; 
  font-family: Arial, Helvetica, sans-serif; 
  color: var(--text-color); 
  overflow-x: hidden; 
  background: transparent;
}

/* BACKGROUND layer */
.hero-background {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at center, 
    rgba(var(--spotlight-color), var(--spotlight-opacity)) 0%, 
    var(--bg-color) var(--spotlight-radius)
  );
  z-index: 0;
  transition: background 0.12s linear;
}

/* SIDEBAR */
.hero-sidebar {
  position: sticky;
  top: 0;
  background: var(--bg-color);
  z-index: 10;
}

/* Brand/title */
.site-name {
  font-size: 1.6rem;
  color: var(--text-strong);
  font-weight: 600;
  margin-bottom: .15rem;
  padding-bottom: .25rem;
}
.site-sub { 
  font-size: .95rem; 
  color: var(--text-color); 
  font-weight: 500; 
  margin: 0; 
}

/* Nav links */
.nav-link-custom {
  display: block;
  padding: 8px 12px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 6px;
  transition: all .16s ease;
  font-weight: 600;
  text-align: left;
}
.nav-link-custom:hover { 
  background: rgba(255,255,255,0.03); 
  color: var(--text-strong); 
  transform: translateX(4px); 
}
.nav-link-custom.active { 
  background: var(--accent); 
  color: var(--text-strong); 
  transform: translateX(4px) scale(1.03); 
  box-shadow: 0 2px 8px rgba(0,0,0,.25); 
}
/* Navbar toggler (hamburger) */
.navbar-toggler {
  border: none;
  background: transparent;
}

.navbar-toggler-icon {
  background-image: none; /* Remove Bootstrap’s default icon */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
}

/* Custom hamburger icon (Bootstrap Icons) */
.navbar-toggler-icon-custom i {
  font-size: 1.8rem;
  color: var(--accent);   /* purple from your variables */
}

/* Remove default Bootstrap border */
.navbar-toggler {
  border: 2px solid var(--accent);
  border-radius: 6px; /* optional, smoother look */
}

/* When focused or active (clicked), keep purple instead of black/blue */
.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(83, 54, 126, 0.5); /* accent purple glow */
  border-color: var(--accent);
}



/* contact icons */
.contact-icons .button-icon { 
  color: var(--accent); 
  font-size: 1.45rem; 
  opacity: .95; 
}
.contact-icons .button-icon:hover { 
  color: #7fb2ff; 
  transform: translateY(-2px); 
}

/* MAIN content */
.main-content {
  z-index: 2;
  min-height: 100vh;
  padding-top: 1.25rem;
  padding-bottom: 3rem;
  background: transparent;
}

/* Desktop: make sidebar fixed */
@media (min-width: 768px) {
  .hero-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 33.3333%;
    padding: 1.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    background: transparent;
  }

  .main-content {
    margin-left: 33.3333%;
    padding-left: 2rem;
    padding-right: 3rem;
  }

  .navbar-toggler { display: none; }
}

/* Headings */
.section-heading {
  font-size: 1.5rem;
  color: var(--text-strong);
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: .6rem;
}

/* content width */
.max-width-prose { 
  max-width: 760px; 
  color: var(--text-color); 
  line-height: 1.6; 
  margin: 0 auto;
}

/* Section Titles */
.section-title { 
  text-align: center; 
  color: var(--text-strong); 
  margin-top: 1.25rem; 
  margin-bottom: .5rem; 
  font-weight: 700; 
}

/* 🔹 Unified Section List */
.section-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 820px;
}
.section-list li { 
  position: relative; 
  padding-left: 18px; 
  font-size: .95rem; 
  line-height: 1.5; 
  color: var(--text-color); 
}
.section-list li::before { 
  content: "•"; 
  position: absolute; 
  left: 0; 
  color: var(--accent); 
  font-weight: 700; 
}
@media(min-width:768px) {
  .section-list { grid-template-columns: 1fr 1fr; }
}

/* copied message bubble */
#copiedMessage {
  position: fixed;
  background: rgba(0,0,0,0.8);
  color: var(--text-strong);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: .92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}
#copiedMessage.show { opacity: 1; transform: translateY(-6px); }

/* small helpers */
.first-line-indent { 
  text-indent: 28px; 
  margin-bottom: .9rem; 
  color: var(--text-color); 
}

/* Responsive text fixes */
@media (max-width: 480px) {
  .site-name { font-size: 1.25rem; }
  .section-heading { font-size: 1.25rem; }
}

/* Sections */
.experience-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.experience-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 10px;
  color: var(--text-strong);
}
.experience-item p {
  font-size: 0.95rem;
  margin: 5px 0 10px;
  color: var(--text-muted);
}

.education-section {
  max-width: 820px;
  margin: 0 auto 40px auto;
}
.education-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hide {
    visibility: hidden;
}