:root {
  --bg-dark: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --bg-light: linear-gradient(135deg, #e0eafc, #cfdef3);
  --text-dark: #ffffff;
  --text-light: #1a1a1a;
}

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background: var(--bg-dark), radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  background-blend-mode: overlay;
  color: var(--text-dark);
  transition: background 0.6s ease, color 0.6s ease;
  padding-top: 100px;
  line-height: 1.6;
}


body.light-mode {
  background: linear-gradient(135deg, #f0f4f8, #d9e2ec, #bcccdc), radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.05) 0%, transparent 40%);
  background-blend-mode: overlay;
  color: var(--text-light);
}

/* Toggle Switch */
.switch {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: relative;
  cursor: pointer;
  background-color: #555;
  border-radius: 34px;
  transition: background-color 0.4s ease;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 8px;
  box-sizing: border-box;
}
.slider:before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 26px;
  height: 26px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.4s ease, background-color 0.4s ease;
  box-shadow: 0 0 0 0 rgba(255, 223, 0, 0.7),
              0 0 8px 4px rgba(255, 223, 0, 0.5);
}
body.light-mode .slider {
  background-color: #f1c40f;
}
body.light-mode .slider:before {
  transform: translateX(26px);
  background-color: #fff;
  box-shadow: 0 0 4px rgba(255, 223, 0, 0.9),
               0 0 12px rgba(255, 223, 0, 0.6);
}
body.light-mode {
  background-color: #f0f0f0;
  color: #1a1a1a;
}

body.light-mode .details > div {
  background: #fefefe;
  border-color: #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.light-mode .details h2 {
  color: #1a1a2e;
  border-color: #aaa;
}

body.light-mode .details p,
body.light-mode .details li {
  color: #222;
}
.nav-bar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 999;
}

.nav-btn {
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: inherit;
  font-weight: bold;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.content-container {
  margin: 40px auto;
  max-width: 900px;
  padding: 0 20px;
  background: none;
}

/* Container stays centered with breathing room */
.content-container {
  margin: 40px auto;
  max-width: 900px;
  padding: 0 20px;
}

/* Each section block */
.content-container section {
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Remove line after last section */
.content-container section:last-child {
  border-bottom: none;
}

/* Headings */
.content-container h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 12px;
}

/* Subheadings like “Backend Development” */
.content-container h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

/* Bullets */
.content-container ul {
  padding-left: 20px;
  margin: 0;
}
.content-container li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.page-title{
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 40px 0 30px 0;
}
