body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to right, #f5f7fa, #c3cfe2);
    color: #333;
    margin: 0;
    padding: 0;
}
#loader-wrapper {
    position: fixed; /* Cover the entire screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000; /* Dark background for better visibility */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; 
    opacity: 1;
    transition: opacity 1s ease-in-out; /* Smooth fade-out */
  }
  
  /* Hide main content initially */
  #main-content {
    display: none; /* Hide content initially */
  }
  /* Loader Image Styles */
  #loader img {
    width: 200px;
    height: 200px;
    animation: spin 2s linear infinite;
  }
  
  /* Spin Animation */
  @keyframes spin {
    0% {
        transform: rotate(0deg);
    }
  
    100% {
        transform: rotate(360deg);
    }
  }
  
  /* Stars Styles */
  .stars {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 3px white;
    animation: twinkle 1.5s infinite alternate;
  }
  
  /* Twinkle Animation */
  @keyframes twinkle {
    from {
        opacity: 1;
    }
  
    to {
        opacity: 0.5;
    }
  }
  
  /* Example Star Positions - Update these to add more or adjust */
  .star1 {
    top: 20%;
    left: 40%;
  }
  
  .star2 {
    top: 50%;
    left: 60%;
  }
  
  .star3 {
    top: 70%;
    left: 80%;
  }
  
  .star4 {
    top: 30%;
    left: 20%;
  }
  
  .star5 {
    top: 80%;
    left: 10%;
  }
  
  .star6 {
    top: 40%;
    left: 80%;
  }
  
  .star7 {
    top: 60%;
    left: 30%;
  }
  
  .star8 {
    top: 10%;
    left: 70%;
  }
  
  /* Additional Random Star Positions - You can add more as needed */
  
  
  
  
  /* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000000;
  padding: 1em;
  position: relative;
  z-index: 1000;
}

.navbar-brand {
  color: #000000;
  width: 100px;
}

/* Menu */
.navbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  background-color: #000000;
  z-index: 1000;
}

.navbar-menu li {
  position: relative;
  margin: 0 10px;
  padding: 1em;
  text-align: center;

  padding: 10px 3em;
  margin: 0 30px;
}

/* Hover effect for menu items */
.navbar-menu a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  /* Ensure text is above the animated background */

  transition: color 0.3s ease;
  /* padding:  0 30px; */
}

/* Water Bucket Fill Effect */
.navbar-menu li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #007a4d;
  /* Light green color with transparency */
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: scaleY(0);
  /* Start with 0 scale */
  transform-origin: bottom;
  /* Origin from bottom */
  z-index: 0;
  /* Behind the text */
  opacity: 0;
  /* Initially hidden */
  color: white;
}

.navbar-menu li:hover::before {
  transform: scaleY(1);
  /* Fill effect */
  opacity: 1;
  /* Show the effect */
}

.navbar-menu li:hover a {
  color: #ffffff;
  /* Change text color on hover */
}

/* Dropdown styles */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 5px;
  opacity: 0;
  /* Initially hidden */
  transform: scaleY(0);
  /* Start with 0 scale */
  transform-origin: top;
  /* Origin from top */
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* Smooth transition */
  width: 100%;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  /* Make visible */
  transform: scaleY(1);
  /* Expand dropdown */
}

.dropdown-menu li {
  padding: 1em;
  text-align: left;
  transition: background-color 0.3s ease;
  margin: 0;
  padding: 10px;
}

.dropdown-menu a {
  color: #000000;
  text-decoration: none;
  padding: 10px 15px;
  text-align: center;
}

dropdown-menu li:hover {
  background-color: #f0f0f0;
  transform: translateY(-5px);
  /* background-color: #00a859; */
  transition: background-color 0.3s;
  /* Light grey background on hover */
}

.dropdown-menu a {
  color: #000000 !important;
  /* Ensure text color is black */
  text-decoration: none;
  display: block;
  width: 100%;
}

.dropdown-menu li:hover a {
  color: rgb(255, 255, 255) !important;
}

/* Hover effect for dropdown */
.navbar-menu .dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: scaleY(1);
  visibility: visible;
}

.dropdown-menu {
  display: none;
  /* Hide dropdown by default */
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Toggle Button */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2em;
  /* Increased font size for better visibility */
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s ease, transform 0.3s ease;
  /* Smooth transition effect */
}

.navbar-toggle:focus {
  outline: none;
  /* Remove default outline */
}

.navbar-toggle:hover {
  color: #00a859;
  transform: scale(1.1);
  /* Slightly scale up the button on hover */
}

/* Responsive styles */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 120px;
    left: 0;
    background-color: #000000;
    border-radius: 0 0 10px 10px;
    /* Rounded corners */
    transition: max-height 0.5s ease, opacity 0.5s ease;
    /* Smooth opening effect */
  }

  .navbar-menu.show {
    display: flex;
  }

  .navbar-menu li {
    margin: 0;
    padding: 1em;
    text-align: center;
    margin-bottom: 10px;
    width: 90%;
    border-radius: 10px;
  }

  .navbar-toggle {
    display: block;
    color: #ffffff;
  }

  .dropdown-menu {
    position: relative;
    top: 0;
    background-color: #ffffff;
    border: 1px solid #ddd;
    /* Add border for dropdown */
    border-radius: 5px;
    color: #000000 !important;
    /* Ensure text color is visible */
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .dropdown-menu li {
    padding: 1em;
    text-align: center;
    margin-top: 10px;
    width: 100%;
  }

  .dropdown-menu a {
    color: #000000 !important;
    /* Ensure text color is visible */
  }

  /* Adjust dropdown hover effect for mobile screens */
  .dropdown-menu li:hover {
    background-color: #f0f0f0;
    color: #000000;
  }

  dropdown-menu a:hover {
    /* background-color: #00a859; Highlight dropdown item on hover */
    color: #ffffff;
  }
}



  /* contact section */

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    overflow-x: hidden; /* Hide horizontal overflow */
}

.contact-container {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Ensure both elements stretch to the same height */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    background: #fff; /* Same background for both elements */
    border-radius: 10px; /* Rounded corners for the whole section */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for the entire container */
    overflow: hidden; /* Hide overflow to ensure no content spills out */
}

.contact-picture {
    flex: 1;
    display: flex; /* Flex container to align image properly */
    position: relative; /* Required for the overlay effect */
}

.contact-picture img {
    width: 100%;
    height: 93vh; /* Make sure the image takes the full height of the container */
    object-fit: cover;
    border-top-left-radius: 10px; /* Rounded corners to match container */
    border-bottom-left-radius: 10px; /* Rounded corners to match container */
}

.contact-form-container {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center form content */
    background: #fff; /* Same background as container */
    border-top-right-radius: 10px; /* Rounded corners to match container */
    border-bottom-right-radius: 10px; /* Rounded corners to match container */
    box-sizing: border-box; /* Include padding and border in width calculation */
}

.contact-form-container h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #037a27;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
    font-weight: bold;
}

input, textarea {
    margin-bottom: 16px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%; /* Ensure inputs take full width of container */
    box-sizing: border-box; /* Include padding and border in width calculation */
}

input:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

.submit-btn {
    background: linear-gradient(45deg, #037a27, #29cc08);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%; /* Ensure button takes full width of container */
    box-sizing: border-box; /* Include padding and border in width calculation */
}

.submit-btn:hover {
    background: linear-gradient(45deg, #2af786, #2bc40d);
    transform: scale(1.05);
}

.submit-btn:active {
    transform: scale(0.98);
}

.contact-info-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
}

.contact-info-section h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #037a27;
}

.contact-info-section p {
    font-size: 1rem;
    margin: 10px 0;
}

.contact-info-section a {
    color:#037a27;
    text-decoration: none;
}

.contact-info-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-picture, .contact-form-container {
        width: 100%;
        margin: 0; /* Remove margin to ensure full width alignment */
        padding: 0; /* Remove padding if needed to fit properly */
    }

    .contact-picture img {
        height: auto; /* Adjust height for better responsiveness */
        max-height: 300px; /* Limit max height for better fit on small screens */
        object-fit: cover;
    }

    .contact-form-container {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    input, textarea {
        width: 100%;
        box-sizing: border-box; /* Ensure padding and border are included in element's total width */
    }

    .submit-btn {
        width: 100%; /* Ensure button takes full width of container */
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0; /* Remove padding if needed to fit properly */
    }

    .contact-picture img {
        max-height: 450px; 
        border-radius: 10px;
        
    }

    .contact-form-container {
        padding: 10px; /* Adjust padding for very small screens */
    }
}

/* Faded effect for small screens */
@media (max-width: 768px) {
    .contact-picture {
        position: relative;
    }

    .contact-picture::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30%; /* Adjust as needed */
        background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent); /* Fading effect */
        border-bottom-left-radius: 10px; /* Match container's rounded corners */
        border-bottom-right-radius: 10px; /* Match container's rounded corners */
    }
}


.footer {
    background-color: #141A1A;
    color: #ffffff;
    padding: 2em;
    text-align: left;
    margin-top: 20px;
  }
  
  .foot-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .footer-details {
    flex: 1;
    margin: 1em;
  }
  
  .footer-details img {
    width: 50px;
    margin-bottom: 1em;
  }
  
  .footer-details p {
    margin-bottom: 1em;
  }
  
  .footer-details input {
    padding: 0.5em;
    border: none;
    border-radius: 5px;
    width: 80%;
    max-width: 300px;
  }
  
  .footer-details ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-details li {
    margin: 0.5em 0;
  }
  
  .footer-details a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
  }
  
  .footer-details a:hover {
    color: #00a859;
    transform: translateY(-3px);
  }
  
  .footer-second {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 2em;
    position: relative;
  }
  
  .footer-img-left {
    position: relative;
    left: 10px;
    width: 100px;
  }
  
  .footer-img-right {
    position: relative;
    right: 0;
  }
  
  .moving-dotted-line {
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, #fff 50%, rgba(255, 255, 255, 0) 0%);
    background-size: 10px 1px;
    animation: move 1s linear infinite;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  
  .footer img {
    z-index: 1;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .foot-details {
        flex-direction: column;
        align-items: left;
    }
  
    .footer-details {
        text-align: left;
        margin: 1em 0;
    }
  
    .footer-second {
        flex-direction: row;
        justify-content: space-between;
    }
  
    .footer-img-left,
    .footer-img-right {
        position: relative;
        width: 100px;
  
    }
  
    .footer-img-left {
        width: 50px;
    }
  
    .moving-dotted-line {
        position: absolute;
        bottom: 0;
        left: 0;
    }
  
    .footer {
        margin-bottom: 70px;
    }
  }
  
  
  
  @keyframes move {
    0% {
        background-position: 0 0;
    }
  
    100% {
        background-position: 10px 0;
    }
  }