* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background-color: #f9f9f9;
  color: #333;
}

header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home {
  display: flex;
  align-items: center;
  gap: 20px;
}

.home a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.textbox input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 5px;
}

.cart {
  display: flex;
  gap: 15px;
}

.cart img {
  border-radius: 50%;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

section:first-of-type {
  text-align: center;
  background-color: #eef2f5;
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 30px;
}

section:first-of-type h2 {
  margin-bottom: 10px;
}

section:first-of-type input {
  padding: 10px;
  width: 300px;
  margin-top: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

section:first-of-type button {
  padding: 10px 20px;
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

section:nth-of-type(2) h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

section:nth-of-type(2) ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

section:nth-of-type(2) li {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

section:nth-of-type(2) li:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section:nth-of-type(2) h4 {
  margin-bottom: 10px;
  color: #000000;
}

section:nth-of-type(2) button {
  margin-top: 15px;
  padding: 8px 15px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

section:nth-of-type(3) {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-top: 1px solid #eee;
}

section:nth-of-type(3) ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin-top: 20px;
}

.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 20px;
  margin-top: 50px;
}

.main-div {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.div1,
.contact-us {
  max-width: 400px;
}

.contact-us ul {
  list-style: none;
  margin-top: 10px;
}

.contact-us li {
  margin-bottom: 8px;
  font-size: 14px;
}

.div3 {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #ccc;
}

.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 50px;
}

.main-div {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.div1 {
  max-width: 350px;
}

.div1 p {
  color: #ccc;
  line-height: 1.6;
  margin-top: 10px;
}

.contact-us {
  max-width: 350px;
}

.contact-us ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.contact-us li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #ddd;
}

.social-icons {
  margin-top: 20px;
}

.social-icons p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #aaa;
}

.social-icons img {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  background-color: white;
  border-radius: 50%;
  padding: 3px;
  cursor: pointer;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.div3 {
  text-align: center;
  font-size: 13px;
  color: #888;
  padding-top: 20px;
  border-top: 1px solid #444;
}
#cities {
  padding: 10px;
  border: 1px solid grey;
  border-radius: 6px;
  width: 140px;
}
.textbox > h2 {
  margin-bottom: 5px;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
div.textbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  box-sizing: border-box;
}
div.home {
  margin-right: 10px;
  box-sizing: border-box;
}
.explore {
  position: sticky;
  top: 0px;
  background-color: rgb(249, 249, 249);
  padding: 30px;
}
.home li a {
  position: relative;
  padding-bottom: 4px;
}

.home li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: black;
  transition: 0.6s ease;
}

.home li a:hover::after {
  width: 100%;
}
.book-btn {
  display: inline-block;
  padding: 10px 18px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 10px;
}

.service-card {
  max-width: 450px;
  margin: 60px auto;
  background: white;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-card h2 {
  font-size: 26px;
  margin-bottom: 15px;
}

.service-price {
  font-size: 32px;
  font-weight: bold;
  margin: 15px 0;
}

.back-link {
  margin-top: 20px;
  display: inline-block;
  text-decoration: underline;
  color: black;
}
section:nth-of-type(2) img {
  border: 1px solid grey;
  border-radius: 20px;
}
@media (max-width: 768px) {

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .home {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .textbox {
    width: 100%;
    text-align: center;
  }

  #cities {
    width: 90%;
    max-width: 260px;
  }

  .cart {
    justify-content: center;
    width: 100%;
  }

  section:first-of-type input {
    width: 90%;
    max-width: 320px;
  }

  section:nth-of-type(2) ul {
    flex-direction: column;
    align-items: center;
  }

  section:nth-of-type(2) li {
    width: 90%;
    max-width: 300px;
  }

  section:nth-of-type(2) img {
    width: 100%;
    height: auto;
  }

  /* Footer stacks */
  .main-div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {

  .home img {
    height: 60px;
  }

  .textbox h2 {
    font-size: 15px;
  }

  .explore {
    position: static;
  }
}
