html, body {
    height: 100%; /* Full height */
    margin: 0; /* Remove default margin */
    display: flex;
    flex-direction: column; /* Stack elements vertically */
}

body {
    background-color: #f0f0f0; /* Light grey background */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    box-sizing: border-box; /* Include padding and border in width */
    display: flex;
    flex-direction: column;
}
 
  /********************************************************************navigation big start*/

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(47, 141, 119, 0.3); /* Semi-transparent background */
    padding: 10px 20px;
    position: fixed; /* Fix the position */
    top: 0; /* Position at the top */
    width: 100%; /* Full width */
    z-index: 1000; /* Ensure it stays above other content */
    margin-left: 0px;
    transition: background-color 0.3s ease; /* Smooth transition */
  }
  
.nav:hover {
    background-color: rgba(47, 141, 119, 1); /* Fully opaque background on hover */
}

  .logo_div {
      display: flex;
      align-items: center;
  }
  
  .logo {
      height: 100px; /* Adjust the height as needed */
  }
  
  .menu_div {
      display: flex;
      align-items: center;
  }
  
  .menu_div ul {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      overflow: visible;
  }
  
  .menu_div ul li {
      margin: 0 15px;
      overflow: visible;
  }
  
  .menu_div ul li a {
      text-decoration: none;
      color: black;
      font-weight: bold;
      padding: 5px 10px;
      border-radius: 5px;
      transition: background-color 0.3s ease;
      border: black ,3px;
            /*/*/
        /* Handle overflow */

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* Adds "..." for overflow text */
  }
  
  .menu_div ul li a:hover {
      background-color: rgba(0, 0, 0, 0.1); /* Light grey background on hover */
  
  }
  /*navigation big  bar end*/
  
  /********************************************************************************navigation small bar start*/
  /* Base styling for the nav bar */
  /*.nav_small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(47, 141, 119, 0.3); /* Semi-transparent background */
    /*padding: 10px 20px;
    position: fixed; /* Fixed at the top */
    /*top: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
    width: 100%;
    transition: background-color 0.3s ease; /* Smooth transition */
  /*}
  
  .nav_small:hover {
    background-color: rgba(47, 141, 119, 1); /* Fully opaque background on hover */
  /*}

  .logo_div_small {
    display: flex;
    align-items: center;
  }
  
  /* Styling the Menu button container */
  /*.menu_btn_small {
    position: relative;
    cursor: pointer;
    color: white;
    font-weight: bold;
    padding: 10px;
    border: 1px solid white;
    border-radius: 5px;
    user-select: none;
    -webkit-user-select: none;
    margin-right: 40px;
  }
  
  /* Initially hide the dropdown menu */
  /*.dropdown_menu_small {
    display: none; /* Hidden by default */
    /*position: absolute;
    right: 0;
    top: 100%;
    background-color: rgba(47, 141, 119, 0.9);
    padding: 10px 0;
    border-radius: 5px;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-right: 1px;
    margin-left: 30px;
  }
  
  .dropdown_menu_small li {
    list-style: none;
    margin: 0;
  }
  
  .dropdown_menu_small li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .dropdown_menu_small li a:hover {
    background-color: rgba(0, 0, 0, 0.2);
  }
  
  /* On hover, display the dropdown menu (beneficial for devices that support hover) */
  /*.menu_btn_small:hover .dropdown_menu_small {
    display: block !important;
  }
  
  /* Ensure the dropdown menu is visible when toggled */
  /*.menu_btn_small.active .dropdown_menu_small {
    display: block !important; /* Show the menu when active */
  /*}
  


  /*********************************************************************nav small safari start*******************/
  .nav_small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(47, 141, 119, 0.3); /* Semi-transparent background */
    padding: 10px 20px;
    position: fixed; /* Fixed at the top */
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
    max-width: 1024px;
  }
  .nav_small:hover {
    background-color: rgba(47, 141, 119, 1); /* Fully opaque background on hover */
  }
  
  .logo_div_small {
    display: flex;
    align-items: center;
    margin-right: auto; /* Push logo to the left */
  }
  
  /* --- Menu Button Styling --- */
  .menu_btn_small {
    position: relative;
    cursor: pointer;
    color: white;
    font-weight: bold;
    padding: 10px;
    border: 1px solid white;
    border-radius: 5px;
    -webkit-user-select: none;
    user-select: none;
    z-index: 1000;
    background-color: rgba(47, 141, 119, 0.9);
    margin-right: 40px; /* Add margin to the right */
    overflow: visible;
  }
  
  /* Dropdown Menu Styling */
  .dropdown_menu_small {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: rgba(47, 141, 119, 0.9);
    padding: 10px 0;
    border-radius: 5px;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }
  /***safari after after ****/
  .dropdown_menu_small li {
    list-style: none;
    margin: 0;
  }
  
  .dropdown_menu_small li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .dropdown_menu_small li a:hover {
    background-color: rgba(0, 0, 0, 0.2);
  }
  /*safari after after end*/
  
  /* Hover/Focus States */
  .menu_btn_small:hover .dropdown_menu_small,
  .menu_btn_small:active .dropdown_menu_small {
    display: block;
  }
  
  

  /* Hide nav_small on desktop */
  @media (min-width: 800px) {
    .nav_small {
        display: none;
    }
  }
  
  /* Responsive adjustments for mobile/tablet */
  @media screen and (max-width: 800px) {
    .nav {
        display: none;
    }
    .nav_small {
        overflow: visible;
        display: flex;
    }
    .nav_small:hover .dropdown_menu_small {
        display: block;
    }
    .menu_div {
        display: none;
    }
    .dropdown_menu_small {
        display: none;
    }
    .menu_btn_small.active .dropdown_menu_small {
        display: block !important; /* Show the menu when active */
    }
  }

@media screen and (min-width: 801px) {
    .dropdown_menu_small {
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s;
    }
    .menu_btn_small:hover .dropdown_menu_small,
    .menu_btn_small.active .dropdown_menu_small {
        visibility: visible;
        opacity: 1;
    }
}

.contact-form {
    background-color: #f9f9f9; /* Light background color */
    padding: 30px;
    border: 2px solid #2a8b7a;
    border-radius: 10px; /* Rounded corners */
    width: 60%;
    max-width: 600px; /* Maximum width */
    margin: 10% auto 15%; /* Center the form */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold; /* Bold labels */
    color: #333; /* Darker text color */
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc; /* Light border */
    border-radius: 5px; /* Rounded corners */
    box-sizing: border-box; /* Ensure padding is included in width */
    font-family: 'Roboto', sans-serif; /* Consistent font */
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px; /* Minimum height for textarea */
}

.submit-button {
    background-color: #2a8b7a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px; /* Larger font size */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.submit-button:hover {
    background-color: darkgreen;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 800px) {
    .contact-form {
        width: 80%;
        margin: 20% auto;
    }
}

@media screen and (max-width: 425px) {
    .contact-form {
        width: 90%;
        margin: 25% auto;
    }
}

/*footer begin*/
.footer {
    background-color: #2a8b7a; /* Green background color */
    color: white; /* White text color */
    padding: 20px; /* Padding around the text */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space out the items */
    align-items: center; /* Center items vertically */
    font-family: Arial, sans-serif; /* Font family */
    text-align: center; /* Center the text */
    box-sizing: border-box; /* Include padding in width */
}

.footer h3 {
    margin: 0; /* Remove default margin */
    font-size: 16px; /* Font size */
}

.footer .left {
    flex: 1; /* Take up remaining space */
}

.footer .right {
    text-align: right; /* Align text to the right */
    margin-bottom: 10px;
    margin-top:10px ;

}
.footer.right .h3{
    margin-bottom: 5px;
} 

/*footer end*/
@media screen and (max-width: 800px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }
    .nav_small {
        display: flex;
    }

    .menu_div {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(47, 141, 119, 0.3);
        padding: 10px 20px;
    }

    .menu_div ul li {
        margin: 5px 0;
    }

    .menu_div ul li a {
        padding: 5px 0;
        display: block;
    }

    .menu_div ul li a:hover {
        background-color: transparent;
    }

    .menu_div ul li a.active {
        background-color: rgba(0, 0, 0, 0.1);
    }
    
    .nav_small {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }

    .dropdown_menu_small {
        display: none; /* Hidden by default */
        position: absolute;
        right: 0;
        top: 100%;
        background-color: rgba(47, 141, 119, 0.9);
        padding: 10px 0;
        border-radius: 5px;
        min-width: 150px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        
    }

    .dropdown_menu_small li {
        list-style: none;
        margin: 0;
    }

    .dropdown_menu_small li a {
        display: block;
        padding: 10px 20px;
        color: #fff;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .dropdown_menu_small li a:hover {
        background-color: rgba(0, 0, 0, 0.2);
    }
    /*copilot*/

   /*.menu_btn_small.active .dropdown_menu_small {
        display: block !important; /* Show the menu when active */
    }

    /*copilot*/

@media screen and (max-width: 426px) {
    .logo {
        height: 5px; /* Reduce the height of the logo */
        width: auto; /* Maintain aspect ratio */
    }

    .logo_div {
        margin-left: 5px; /* Adjust margin for better alignment */
    }
    .nav {
        padding: 10px;
        display: none;
    }
    .nav_small {
        display: flex;
        
    }
    .menu_div ul li {
        margin: 5px 0;
    }

    .menu_div ul li a {
        padding: 5px 0;
        display: block;
    }

    .menu_div ul li a:hover {
        background-color: transparent;
    }

    .menu_div ul li a.active {
        background-color: rgba(0, 0, 0, 0.1);
    }
    .footer {
        position: relative; /* Ensure it stays within the flow of the page */
        bottom: 0;
        width: 100%; /* Full width */
        padding: 15px; /* Adjust padding for smaller screens */
        margin-top: 20px; /* Add a gap above the footer */
    }
    .footer h3{
        font-size: 13px; /* Font size */
    }
    .footer p{
        font-size: 12px; /* Font size */
    }

    .logo_div_small {
        height: 5px;
        width: auto;
    }
}

/* Ensure the navigation bar spans the full width and removes any gaps */
.nav, .nav_small {
    left: 0; /* Align to the left edge */
    margin: 0; /* Remove any default margin */
    padding: 0; /* Reset padding to avoid gaps */
    box-sizing: border-box; /* Include padding and border in width */
}

/* Main content area */
.main-content {
    flex: 1; /* Take up remaining space */
    margin-bottom: 20px; /* Add a gap above the footer */
}