/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body & font */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #fafafa;
  color: #333;
  scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 9999;
}

.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu a {
  display: block;
  padding: 18px 20px;
  color: #eee;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: #06f1de;
  color: #222;
  box-shadow: 0 2px 8px #ffcc00aa;
}

/* Section styling */
.section {
  max-width: 900px;
  margin: 100px auto 60px;
  padding: 30px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: background-color 0.4s, box-shadow 0.4s;
  scroll-margin-top: 80px; /* Offset for fixed navbar when scrolling */
}

/* Highlighted active section */
.section.highlight {
  background-color: #fff8dc;
  box-shadow: 0 6px 20px #ffcc0055;
}

/* Section heading */
.section-heading {
  margin-bottom: 15px;
  font-size: 2.5rem;
  color: #222;
  transition: color 0.4s;
}

/* Highlight heading */
.section-heading.highlight {
  color: #1606f5;
  text-shadow: 0 0 10px #23d80b;
}

/* Button style */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #ffcc0099;
  color: #222;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 8px #ffcc0099;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.btn:hover {
  background-color: #28bfec;
  box-shadow: 0 5px 15px #e600a1cc;
}

/* Lists inside sections */
section ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
}

section ul li {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    background-color: #222;
  }

  .nav-menu li {
    margin: 0;
  }

  .nav-menu a {
    padding: 15px;
    border-bottom: 1px solid #444;
  }
}

/* Project cards */
.project {
  margin-bottom: 30px;
  padding: 20px;
  border-left: 4px solid #ffcc00;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project h3 {
  margin-bottom: 10px;
  color: #222;
}
