/* Define the font families */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap"); /* Montserrat */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap"); /* Poppins */

html {
  scroll-behavior: smooth;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Apply fonts to different elements */
body {
  font-family: "Poppins", sans-serif; /* Use Poppins as the body font */
  margin: 0;
  padding: 0;
}

/* Hover effect for buttons */

/* header styles  */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: white;
  color: #006400;
  font-family: 'Montserrat', sans-serif;
}

.logo img {
  width: 150px;
  height: 150px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: #006400;
  text-decoration: none;
  font-size: 18px;
}

.contact button {
  background-color: #E7B10A;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact button:hover{
  background-color: #006400;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.line {
  width: 30px;
  height: 3px;
  background-color: #006400;
  margin: 5px;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px; /* Limit the maximum width of the modal */
  width: 90%; /* Take 90% of the available width */
}

/* Close button */
.close {
    color: black;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}

/* Form styles */
form {
    color : black;
  display: grid;
  gap: 10px;
}

label {
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: #006400;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/*services*/
.services {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background-color: #f7f7f7; /* Example background color, you can change it as needed */
    color: #333; /* Example text color, you can change it as needed */
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px; /* Adjust the maximum width as needed */
}

.service {
    width: 30%; /* Adjust the width of each service item for different screen sizes */
    text-align: center;
    margin-bottom: 30px;
}

.service img {
    width: 80px; /* Adjust the icon size as needed */
    height: 80px;
}

.services-image img {
    max-width: 100%; /* Make sure the image does not exceed its container */
    height: auto; /* Maintain aspect ratio */
}
/* Use the nth-child selector to apply alternating background colors */
.services-container .service:nth-child(odd) {
    background-color: #f7f7f7; /* Light background color for odd-numbered items */
}

.services-container .service:nth-child(even) {
    border-radius: 5px;
    padding: 10px;
    background-color: #E7B10A; /* Dark background color for even-numbered items */
    color: #fff; /* Set the text color for better readability on dark background */
}
/* Footer Styles */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #006400; /* Primary color */
    color: #fff; /* Text color */
    padding: 30px;
    font-family: 'Poppins', sans-serif; /* Use Poppins as the font for the footer */
  }
  
  .footer h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
  }
  
  .footer p {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  .footer button {
    background-color: #BC871B; /* Button color */
    color: white; /* Button text color */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  .contact-details {
    width: 70%;
  
  }
  /* Styles for the address div */
  .address {
    width: 30%;
    margin-top: 20px;
    font-size: 16px;
  }

  /* Media Queries for Responsive Design */
@media screen and (max-width: 1200px) {
    .services-container {
        justify-content: center;
    }

    .service {
        width: 45%;
    }
}

  
  
/* Media Query for Mobile Devices */
@media screen and (max-width: 768px) {
    .header{
      height: 10vh;
    }
  
    .logo img{
      width: 80px;
      height: 80px;
    }
    .nav {
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      position: absolute;
      top: 10vh; /* Adjust this value to set the distance from the top */
      width: 100%;
      left: -100%; /* Initially hide the navigation off the screen */
      background-color: #006400;
      color: white;
      padding: 20px;
      z-index: 1;
      height: 90vh;
      transition: left 0.3s ease-in-out; /* Add a smooth sliding transition */
    }
  
    .nav.show {
      left: 0; /* Show the navigation by setting left to 0 */
    }
  
    .nav a {
      text-align: center;
      font-size: 36px;
      margin-bottom: 20px;
      color: white;
    }
  
    .contact button {
      margin: 0 auto; /* Center the button horizontally */
      display: block;
      font-size: 36px;
       /* Set button display to block so it takes full width */
    }
  
    .hamburger {
      display: flex;
    }
  
    /* Hide the hamburger menu by default on mobile */
    #mainNav.show {
      display: flex;
    }
  

    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 100%;
        margin-bottom: 20px;
    }
  
    .footer {
      padding: 20px;
      flex-direction: column-reverse;
    }
  
    .contact-details {
      width: 100%;
    }
  
    .address {
      width: 100%;
    }
  
    .footer h3 {
      font-size: 20px;
    }
  
    .footer p {
      font-size: 16px;
    }
  }
  
  
  @media screen and (max-width: 480px) {
      
  }