        * {
            box-sizing: border-box; 
        }
        
        body, html {
            margin: 0;
            padding: 0;
            height: 100%;
              font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

        }body {
          overflow-x: hidden; /* Prevent horizontal scrolling */
        }
        
        .hero {
          background-image: url('../images/tree-838667_1920.jpg');
          background-size: cover;
            background-position: center;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }
        
        
        .hero h1 {
          color: white;
          font-size: 4em; /* Original font size for large screens */
          margin: 0;
          word-wrap: break-word; /* Ensures text breaks to prevent overflow */
      }
      @media (max-width: 768px) {
        .hero h1 {
            font-size: 3em; /* Slightly smaller font size */
        }
    }
    
    /* Media query for smaller devices (e.g., mobile phones) */
    @media (max-width: 480px) {
        .hero h1 {
            font-size: 2em; /* Even smaller font size for small screens */
        }
    }      
        
        .scroll-down {
            margin-top: 20px;
            height: 50px;
            width: 50px;
            border: 2px solid white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;    
        }
        .scroll-down::after {
            content: '';
            width: 10px;
            height: 10px;
            border: 2px solid white;
            border-width: 0 2px 2px 0;
            animation: bounce 2s infinite;
            transform: rotate(45deg);
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
            transform: translateY(0) rotate(45deg);
            }
            40% {
            transform: translateY(-10px) rotate(45deg);
            }
            60% {
            transform: translateY(-5px) rotate(45deg);
            }
        }
        
        html {
            scroll-behavior: smooth;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex; /* This will turn .container into a flex container */
            flex-direction: column; /* Stack children vertically */
            align-items: center; /* Center children horizontally */
        }
        
        .about-section,
        .contact-section,
        .services-section {
          padding: 50px 0;
          background: #f7f7f7;
          color: #333;
        }
        
        
        
        .about-section h2 {
            text-align: center;
            font-size: 2.5em;
            margin-bottom: 30px;
        }
        
        /* Center the Font Awesome icon */
        .fa-users {
            color: rgb(139  , 84, 36);; /* Change the color as needed */
            margin-bottom: 15px; /* Space between icon and heading */
            /* Removed margin: 0 auto; since we're using flexbox to center */
        }
        
        /* Style the paragraph backgrounds */
        .about-content p {
            background-color: #ffffff; /* White background for the paragraphs */
            border-radius: 8px; /* Soft rounded corners */
            padding: 15px; /* Padding inside the rectangles */
            margin-bottom: 20px; /* Space between paragraphs */
            transition: transform 0.3s ease-in-out; /* Smooth transition for hover effect */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
            cursor: pointer; /* Indicates the paragraphs are clickable */
            transform: scale(1); /* Default scale */
            transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Ensure transitions for transform and opacity */
            opacity: 1; /* Set all paragraphs to be fully visible by default */
            font-family: Verdana, Geneva, Tahoma, sans-serif;
        }
        
        
        .about-content p:hover {
            transform: scale(1.1); /* Slightly increase the size */
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* More prominent shadow on hover */
        }
     
    /* This is for larger screens where the .about-content is using grid */
@media (min-width: 768px) {
    .about-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        /* Remove position: relative; here */
    }
    .hidden {
        transform: translateZ(-100px) scale(0.85);
        opacity: 0;
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    }
    
    .visible {
        transform: translateZ(0) scale(1);
        opacity: 1;
    }
            


       
}
.hidden {
    transform: translateZ(-100px) scale(0.85);
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.visible {
    transform: translateZ(0) scale(1);
    opacity: 1;
}


  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .contact-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
  }
  
  .contact-form .form-group {
    margin-bottom: 15px;
  }
  
  .contact-form label {
    display: block;
    margin-bottom: 5px;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="tel"],
  .contact-form input[type="email"],
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .contact-form textarea {
    height: 150px;  
  }
  
  .submit-button {
    background-color: rgb(139  , 84, 36);;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .submit-button:hover {
    background-color: #00387b;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="tel"],
  .contact-form input[type="email"],
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* Increase font size */
    padding: 15px; /* Increase padding for larger boxes */
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 50vw; /* Full width */
  }

  .required-star {
    color: red; 
  }
  .fa-comments {
    color: rgb(139  , 84, 36);; /* Change the color as needed */
    margin-bottom: 15px; /* Space between icon and heading */
    /* Removed margin: 0 auto; since we're using flexbox to center */
}
.header-scrolled {
    background-color: #fff; /* Or any color that contrasts well with your header content */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional: adds a shadow for better visibility */
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transition for background and shadow */
  }
  
  .header-scrolled .nav-links a {
    color: rgb(139  , 84, 36); /* New text color when the header-scrolled class is active */
    transition: color 0.3s; /* Smooth transition for text color */
  }
  
 .services-section {
  background: #f7f7f7;
  padding: 50px 0;
  text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
  }


  
.services-container {
    display: grid;
    grid-template-columns: repeat(3,0.1fr);
    gap: 10px;
    justify-items: center;
    align-items: start; 
    margin-left: 30%;
  }

.service-item {
  background: rgb(139  , 84, 36);
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  width: 200px;
  height: 200px;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  position: relative;
  color: rgb(255, 255, 255);
}

.service-item:hover {
  transform: translateY(-5px);
  background-color: #ffffff; /* A light blue background color on hover */
  color: rgb(139  , 84, 36);;
}

.service-item i {
  font-size: 2rem; /* Larger icon size */
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-item:hover i {
  color: rgb(139  , 84, 36);; /* Change icon color on hover */
}

.service-item h3 {
  font-size: 1.1rem;
  font-weight: 600; /* Make the service name bolder */
}

.service-link {
  text-decoration: none;
  color: #000;
  display: block; /* Make the whole item clickable */
}

.service-link:hover {
  color: #e20000;
}

@media (max-width: 768px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller screens */
  }
  .nav-links {
    display: flex; /* Show the nav links */
  }
  .navbar {
    padding: 10px; /* Reduce padding on smaller screens */
  }
  .logo {
    width: 100%; /* Full width logo */
    height: auto; /* Adjust height automatically */
    margin-bottom: 10px; /* Space between logo and nav links */
  }
}

@media (max-width: 480px) {
  .services-container {
    grid-template-columns: 1fr; /* Single column for very small screens */
  }
  
  .dropdown-content {
    width: 100%; /* Full width dropdown */
  }
}

/* Animate items on load */
@keyframes fadeInUp {
  from {
    transform: translate3d(0, 20px, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.service-item {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0; /* Set initial opacity to 0 to work with the animation */
  animation-delay: calc(0.1s * var(--animation-order)); /* Delay based on order */
}

/* Set a custom property on each item for the animation delay */
.item-1 { --animation-order: 1; }
.item-2 { --animation-order: 2; }
.item-3 { --animation-order: 3; }
.item-4 { --animation-order: 4; }
.item-5 { --animation-order: 5; }
.item-6 { --animation-order: 6; }

.item-7{
    display: none;
}



/* Footer Styles */
/* Add your footer styles here */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px; /* You can keep this padding if it is necessary for your layout */

   background-color: rgba(0,0,0,0.07); /* Make it slightly transparent */
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.5s;
  flex-wrap: wrap; /* Allow the navbar to wrap on smaller screens */

}

.navbar.header-scrolled {
  background-color: #ffffff; /* Solid color on scroll */
  color: #333;
}
.logo {
  height: 55px; /* Adjust the height to fit your design */
}

.nav-links {
  list-style: none;
  display: flex;
  padding-left: 0;
  
}

.nav-links .dropdown {
  position: relative; /* Context for positioning the dropdown */
}

.nav-links li {
padding: 5px 10px;
}
.dropdown {
  position: absolute; /* Context for positioning the dropdown */
  display: inline-block; /* So that width can be applied */
}
.dropdown a {
  /* Assuming you want to style the dropdown trigger */
  padding: 0 20px; /* Adjust padding to control width */
}
.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: rgb(139  , 84, 36); /* Highlight color */
}

.dropdown-content {
  display: none;
  position: fixed; /* Fixed position relative to the viewport */
  top: 60px; /* Adjust this value so the dropdown starts right below the navbar */
  left: 0;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.871);
  backdrop-filter: blur(10px);
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 10px;
  border: 1px solid black;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  column-count: 2; /* Replace with the number of columns you want */
  column-gap: 20px; /* Adjust the gap between columns */

}


.dropdown-content li
{
  color: black;
  padding: 8px 12px; /* Padding inside each list item */  
  text-decoration:none;
  display: block;
  text-align: left;
  clear: both; /* Clear any floats */
}



/* Style the dropdown content to be displayed when hovering over the dropdown */
.dropdown:hover .dropdown-content {
  display: grid; /* Show as a grid on hover */
  grid-template-columns: repeat(2, 1fr); /* Example for two columns */


}

/* You might want to add styles for when hovering over the dropdown items */
.dropdown-content li:hover {
  background-color: #ddd;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: larger;
}

.dropdown-link {
  color: black; /* Text color */
  text-decoration: none; /* No underline */
  padding: 8px 12px; /* Padding */
  display: block; /* Full-width link */
  background-color: transparent; /* Transparent background */
  transition: background-color 0.3s, color 0.3s; /* Smooth transitions for hover effects */
}

.dropdown-link:hover {
  background-color: #ddd; /* Background color on hover */
  color: black; /* Text color on hover */
}   

.dropdown-content a {
  font-size: 16px; /* Adjust the font size as needed */
  color: black; /* Set a different color */
  font-weight: normal; /* Set the weight to normal if desired */
}
.nav-links .dropdown .dropdown-content a {
  font-size: 16px; /* Set the desired font size */
  color: black; /* Set the desired color */
  font-weight: normal; /* Set the desired font weight */
  text-decoration: none; /* Removes underline from links */
  padding: 8px 12px; /* Optional: Adds padding for better spacing */
}


.dropdown-title {
  font-size: 18px; /* Set the font size for the title */
  font-weight: bold; /* Make it bold */
  color: black; /* Set the title color */
  padding: 20px 20px; /* Set the padding for the title */
  text-align:right; /* Center the text */
  pointer-events: none; /* Disable pointer events so it can't be clicked */
  grid-column: 1 / -1; /* This will make the title span all columns */

}