/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

/* Navigation */
nav {
  background-color: #333;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 10px;
}

nav ul li a {
  padding: 0;
  background: none;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

nav ul li a span {
  background-color: #444;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  display: inline-block;
  border-radius: 0;
  transition: background-color 0.3s;
}

nav ul li a span:hover {
  background-color: #555;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 0 0 12px 0;
    width: 100%;
  }

  nav ul li a span {
    width: 100%;
    text-align: center;
  }
}

/* Hero Section */
.hero {
  background-image: url('../img/hero-background.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 6px #000;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px #000;
}

.cta-button {
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.cta-button:hover {
  background-color: #0056b3;
}

/* Layout Containers */
.content-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Features and Services */
.features, .services, .residential, .why-choose {
  display: flex;
  gap: 30px;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 40px 20px;
  background: #f9f9f9;
}

.feature-box, .service-box, .residential-box, .why-box {
  background: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.feature-box:hover,
.service-box:hover,
.residential-box:hover,
.why-box:hover {
  transform: translateY(-5px);
}

.feature-icon img,
.service-icon img,
.residential-icon img {
  margin-bottom: 10px;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

/* Learn More Link */
.learn-more {
  display: inline-block;
  margin-top: 10px;
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

.learn-more:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0056b3;
}

/* Footer */
footer {
  background: #333;
  color: white;
  padding: 20px;
  text-align: center;
}
