html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #fff7f5;
  color: #4a2c2a;
}

nav {
  background-color: #e8a0a8;
  color: white;
  padding: 18px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav h2 {
  margin: 0;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  opacity: 0.75;
}

.hero {
  text-align: center;
  padding: 110px 20px;
  background: linear-gradient(#fff0f3, #fff7f5);
}

.hero h1 {
  font-size: 46px;
  max-width: 750px;
  margin: 0 auto 20px;
  color: #8b4a55;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.button {
  background-color: #c97b84;
  color: white;
  padding: 13px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.button:hover {
  background-color: #b86772;
}

section {
  padding: 70px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

h1,
h2 {
  color: #8b4a55;
}

h2 {
  font-size: 34px;
}

/* Projects layout */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Project cards */
.project-card {
  background-color: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.project-img,
.project-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
  margin: 0 auto 15px;
}
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.service-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

a {
  text-decoration: none;
  color: inherit;
}

footer {
  background-color: #e8a0a8;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 15px;
    padding: 18px 20px;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    padding: 70px 20px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  section {
    padding: 45px 15px;
  }

  h2 {
    font-size: 28px;
  }
}