* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #333;
}

.navbar {
  background: #111;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-weight: bold;
  font-size: 24px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  background: url('services-image.jpg') no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.hero-text h1 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 20px;
}

.hero-text p {
  color: #eee;
  font-size: 16px;
  max-width: 900px;
}

.services-section {
  padding: 40px 20px;
  background: #f5f5f5;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 32px;
}

.services-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 10px;
}

.services-slider::-webkit-scrollbar {
  height: 10px;
}

.services-slider::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
}

.service-card {
  min-width: 250px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  text-align: center;
  flex-shrink: 0;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.service-card h3 {
  margin: 10px 0 5px;
}

.service-card p {
  font-size: 14px;
  color: #555;
}

.service-card button {
  margin-top: 10px;
  background: #007bff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.service-details {
  padding: 30px 20px;
  display: none;
  background: #eef2f5;
}

.service-details.active {
  display: block;
}

@media screen and (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero {
    height: auto;
    padding: 60px 20px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .services-slider {
    flex-direction: row;
  }
}
