body {
  margin: 0;
  padding: 0;
  background-color: whitesmoke;
}

nav {
  background-color: rgb(2, 2, 62);
  display: block;
  height: 55px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  margin-top: -30px;
  padding: 0;
  justify-content: flex-end;
}

nav ul li {
  display: inline;
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
}

.slideshow-container {
  max-width: 100%;

  margin: auto;
}

.slide {
  margin-top: 45px;
}

.slide img {
  width: 100%;
  height: 700px;
}

#home {
  margin-top: 50px;
}

.welcome {
  font-family: "Pacifico", cursive;
  font-weight: 700;
  color: rgb(67, 7, 2);
  text-transform: capitalize;
  text-align: center;
}

h2 {
  font-family: "lato", sans-serif;
  font-size: 22px;
  margin: 18px;
  display: flex;
  text-align: center;
}

.color {
  text-align: center;
  background-color: rgb(208, 208, 218);
}

.services {
  font-family: "lato", sans-serif;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 100px;
}

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

.container > div {
  flex-basis: calc(33.33% - 20px);
  margin-bottom: 20px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  text-align: center;
}

.container h3 {
  font-size: 24px;
  color: rgb(2, 2, 62);
  margin-bottom: 10px;
}

.container img {
  max-width: 100%;
  margin-bottom: 10px;
}

.container p {
  font-size: 22px;
  font-weight: bold;
}

#why-choose {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.choose-us {
  text-align: center;
  margin: 0 20px;
  margin-bottom: 100px;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 700;
  background: white;
  color: black;
}

@media (max-width: 768px) {
  .choose-us {
    margin: 0 10px;
    font-size: 16px;
  }
}

.contact-section {
  background-color: black;
  text-align: center;
  flex-grow: 1;
}

.contact-section h1 {
  font-size: 2.5rem;
  color: rgb(174, 239, 217);
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 30px;
}

.contact-form {
  background: #333;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  max-height: auto;
  margin: 0 auto 40px;
}

.contact-form .form-group {
  margin-bottom: 15px;
  text-align: left;
}

.contact-form label {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 5px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 95%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form textarea {
  resize: none;
}

.contact-form .submit-btn {
  background-color: #007bff;
  color: white;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
  background-color: #0056b3;
}

.contact-info {
  font-size: 1.1rem;
  color: white;
}

.contact-info p {
  margin: 30px;
}

.contact-info strong {
  color: #007bff;
}

/* Footer Styles */
.footer {
  width: 100%;
  color: white;
  height: 70px;
  text-align: center;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.copyright {
  margin: 0;
  font-size: 16px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 5px;
}

.social-icon {
  width: 30px;
  height: auto;
  color: rgb(192, 220, 245);
  transition: transform 0.3s;
}

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

/* Responsive Design for Smaller Screens */
@media (max-width: 1050px) {
  .footer {
    margin-top: 315px;
    height: 60px;
  }

  .contact-form {
    padding: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 90%;
    font-size: 1rem;
    padding: 30px;
  }

  .social-icon {
    margin-top: 25px;
  }
}

@media (max-width: 780px) {
  .contact-form {
    padding: 15px;
  }

  .contact-section h1 {
    font-size: 2rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 10px;
  }

  .contact-info p,
  .contact-info address {
    font-size: 1rem;
  }

  .footer {
    margin-top: 120px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 10px;
  }

  .contact-section h1 {
    font-size: 1.8rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
  }

  .contact-info p,
  .contact-info address {
    font-size: 0.9rem;
  }

  .footer {
    margin-top: 85px;
    height: 60px;
  }
}

#services .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 769px) and (max-width: 1199px) {
  #services .container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  #services .container > div {
    flex: 0 0 48%;
    box-sizing: border-box;
    margin-bottom: 20px;
  }
}

@media (max-width: 1050px) {
  #services .container {
    flex-direction: column;
  }

  nav {
    display: none;
  }

  #services .container > div {
    flex: 1 1 100%;
    box-sizing: border-box;
  }
}
