/* styles.css */

body {
  font-family: Lato, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  color: #0c0c0c;
  position: fixed;
  z-index: 1000;
}

.logo {
  font-size: 1.5em;
}

.hamburger {
  font-size: 2.5em;
  cursor: pointer;
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
}

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

.nav-links a {
  color: #0c0c0c;
  text-decoration: none;
}

/* Hamburger menu and mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none; /* Hide by default */
    position: fixed;
    top: 0;
    right: 0;
    background: #333;
    width: 200px;
    height: 100vh; /* Full height */
    padding: 20px;
    flex-direction: column;
    transition: transform 0.3s ease-out;
    transform: translateX(100%); /* Off-screen by default */
    z-index: 999; /* Ensure it appears above other content */
  }

  .nav-links.active {
    display: flex;
    transform: translateX(0); /* Slide in when active */
  }

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

/* Button styles */
#toggle-dark-mode {
  border-radius: 5px;
  padding: 10px 10px;
  font-size: 16px;
  border: none; /* Remove border for a cleaner look */
  cursor: pointer; /* Add pointer cursor */
  display: flex;
  margin-right: 100px;
}

/* Dark mode styles for the button */
.dark-mode #toggle-dark-mode {
  background-color: #8002b6; /* Dark mode button color */
  color: #000; /* Dark mode button text color */
}

header {
  background: white;
  color: black;
  text-align: center;
  padding: 20px 10px;
}

.dark-mode header {
  background: #1e1e1e;
  color: #fff;
}

.service-list {
  margin-top: 100px;
}

.service-list h3 {
  font-size: 2.5rem;
  margin: 0;
  display: block;
}

.service-list p {
  font-size: 1.2rem;
}

main {
  padding: 20px;
}

.service {
  margin-bottom: 40px;
}

.service h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  border-bottom: 2px solid #000;
  display: inline-block;
  padding-bottom: 5px;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 20px;
}

strong {
  font-size: 1.6rem;
  display: block;
  line-height: 1.5;
}


p {
  margin: 5px 0 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
}
