/* Reset CSS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  overflow: hidden; /* Prevent scrolling */
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  flex-direction: column; /* Arrange children vertically */
}

header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
    margin: 0;
    font-size: 28px;
}

nav {
  margin-top: 10px; /* Add some space between the heading and the navigation */
}

nav ul {
  list-style-type: none;
  padding: 0; /* Add padding to remove default padding */
}

nav li {
  display: inline;
  margin-right: 20px;
}

nav li a {
  color: #fff;
  text-decoration: none;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

nav ul li a:hover {
  color: #ff6f61; /* Change text color on hover */
  text-decoration: nobe; /* Add underline on hover */
}
main {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto; /* Enable vertical scrolling for content overflow */
}

.hero {
  background-image: url("serv.jpg");
  background-size: cover;
  background-position: center;
  margin-left: 20px;
  margin-right: 20px;
  color: #fff;
  text-align: center;
  padding: 100px 0; /* Adjusted padding */
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff6f61;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #e66053;
}

.services {
  text-align: center;
  padding: 50px 0;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.services ul {
  list-style-type: none;
}

.services li {
  width: 100%;
  margin-bottom: 30px;
}

.services li h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.services li p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 600px) {
  .hero {
    background-image: url("services.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 168px 0; /* Adjusted padding */
  }

  header {
    font-size: large;
    background-color: #333;
    color: #fff;
    padding: 20px 10px; /* Adjusted padding for smaller screens */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column; /* Arrange children vertically */
  }
  
  header h1 {
    font-size: 1.5rem; /* Adjusted font size for smaller screens */
    margin-bottom: 5px; /* Adjusted margin for smaller screens */
  }

  .footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
}
