@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css");
/* Default styles */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1.5;
}

/* Header */

header {
  background-color: #ddd;
  height: 600px;
  position: relative;
}

.nav {
  
  background-color:#ccc;
  overflow: auto;
  padding: 0;
}
ul {
  margin: 0;
  float: right;
}
ul a :hover{
  color: red;
}

.nav a {
  float: left;
  display: block;
font-weight: 500;
  text-align: center;
  padding: 14px 16px 0 16px;
  text-decoration: none;
  font-size: 25px;
  font-family:Georgia, 'Times New Roman', Times, serif;
}

.nav .icon {
  display: none;
}
img {
  width: 120px;
  margin-top: -10px;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 24px;
  margin-bottom: 40px;
}

.hero-text button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #1abc9c;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* About Us section */

#about-us {
  padding: 50px;
  background-color: #f2f2f2;
  text-align: center;
}

#about-us h2 {
  margin-bottom: 40px;
}

/* Services section */

#services {
  padding: 50px;
  background-color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
}

#services h2 {
  margin-bottom: 40px;
}

.services-container {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.service {
  flex-basis: 30%;
  margin: 20px;
  padding: 40px 20px;
  background-color: #fff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  border-radius: 10px;
  text-align: center;
}

.service h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.service p {
  font-size: 16px;
  margin-bottom: 20px;
}
a{
  text-decoration: none;
  color: black;
}
.contact{
  text-align: center;
}
img{
  height: 100px;
  width: 100px;
  
}
.logo{
  width: 200px;
  
}
/* Contact Us section */

#contact-us {
  padding: 50px;
  background-color: #f2f2f2;
  text-align: center;
}

#contact-us h2 {
  margin-bottom: 40px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

label {
  margin-bottom: 10px;
  font-size: 20px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  font-size: 20px;
}

button[type="submit"] {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #1abc9c;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
footer {
  text-align: center;
}



/* Media queries */
@media screen and (max-width: 991px) {
  .service {
    flex-basis: 45%;
    margin-bottom: 30px;
  }
}





@media only screen and (max-width: 768px) {
  .nav ul a {
    display: none;
  }
  .nav a.icon {
    float: right;
    display: block;
  }
  .nav.responsive {
    position: relative;
  }
  .nav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .nav.responsive ul {
    width: fit-content;

    float: none;
    margin: auto;
  }

  .hero-text {
    position: static;
    transform: none;
    text-align: left;
  }

  .hero-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .hero-text button {
    font-size: 16px;
  }

  #about-us {
    text-align: left;
  }

  #about-us h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .service {
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  .services-container {
    flex-wrap: wrap;
  }

  form {
    width: 100%;
  }
}
