body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5em;
  color: #0073e6;
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.bio h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.section {
  margin-top: 30px;
}

.section h2 {
  color: #0073e6;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.section ul {
  list-style: disc;
  margin-left: 20px;
}

footer {
  text-align: center;
  font-size: 0.9em;
  color: #777;
  margin-top: 40px;
}

/* Toggle Button Styling */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #0073e6;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}

/* DARK MODE STYLES */
body.dark-mode {
  background-color: #1e1e1e;
  color: #f4f4f4;
}

body.dark-mode .container {
  background-color: #2c2c2c;
  box-shadow: none;
}

body.dark-mode a {
  color: #90cdf4;
}

body.dark-mode .section h2,
body.dark-mode header h1 {
  color: #90cdf4;
}

body.dark-mode .skills li {
  background: #3a3a3a;
  color: #f4f4f4;
}

.back-button {
  text-align: center;
  margin-top: 40px;
}

.back-button a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073e6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-button a:hover {
  background-color: #005bb5;
}