/* Custom CSS to enforce color scheme and enhance design */
body {
  background: linear-gradient(to bottom right, black, maroon, blue, white);
  color: #212529; /* Black/dark text */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 56px; /* Space for the fixed navbar */
}

.profile-img {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
}

/* Added semi-transparent white backgrounds to sections for better text readability */
.bg-white-opacity {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: .5rem;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.section-heading {
  border-bottom: 2px solid var(--bs-primary); /* Blue accent under headings */
  padding-bottom: 5px;
  margin-bottom: 30px;
}

/* ===================================================================
  ADAPTATION: Set all h1 and h2 headings within the body to black
=================================================================== */
body h1,
body h2 {
  color: #000000 !important; /* Force all major headings to black */
}

/* NOTE: We keep .text-primary for other elements (like icons and borders)
   but remove the !important from its color property so the new heading rule works. */
.text-primary {
  color: #0d6efd; /* Blue for key points (icons, borders) */
}

.experience-card {
  border-left: 3px solid #0d6efd; /* Blue accent for experience timeline */
  margin-bottom: 2rem;
  padding-left: 15px;
}

.skill-badge {
  font-size: 0.95rem;
  margin: 5px;
  background: #000000;
}

.nav-link.active {
  font-weight: bold;
}

html {
  scroll-behavior: smooth;
}