/*navigation bar begin*/  
  /*navigation bar begin*/  
 

  /********************************************************************navigation big start*/
*{box-sizing: border-box;

}
  .body{
    margin: 0%;
    padding: 0%;
    overflow:hidden;
}
.main_section{
    margin: 0%;
    padding: 0%;
}

.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 */
    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 */
  }
  
  .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;
  }
  
  .menu_div ul li {
      margin: 0 15px;
  }
  
  .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;
    transition: background-color 0.3s ease; /* Smooth transition */
    /*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 */
  /*}
  
  .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;
    overflow: visible;
    margin-right: 100px; /* Match the margin-right value from the Home page */
  /*}
  
  /* Initially hide the dropdown menu */
  /*.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);
    margin-right: 1px;
    margin-left: 30px;
    z-index: 1000;
     /* Ensure it stays above other content */
  /*}
  
  .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;
  }


/****************************************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;
}

/* 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;
  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;
}

.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);
}

/* Hover/Focus States */
.menu_btn_small:hover .dropdown_menu_small {
  display: block !important;
}

/*************************************************************************nav small sarari end*/
  
  /* Media query: Only display this nav for screens below 1024px. */
  @media (min-width: 800px) {
    .nav_small {
      display: none;
    }
  }
  
  /*nav bar small end*/


.services_block{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #2a8b7a;
    width:95vw;
    margin-top: 120px;
    margin-left: 2.5vw;
}
.services_sec{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates 4 equal-width columns */
    grid-template-rows: repeat(2, auto);   /* Creates 4 rows; you can replace 'auto' with a fixed height if needed */
    gap: 20px;    
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    margin-top: 100px;
    margin-bottom: 20px;
    background-color:white;
    font-family: Arial, sans-serif;
    width: 80vw;
    margin-left: 10vw;
    margin-right: 10vw;
}

.general_supplies,.construction_contracting,.project_management,.property_management{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    margin-top: 100px;
    margin-bottom: 100px;
    background-color: #2a8b7a;
    font-family: Arial, sans-serif;
    width: 100%;
    margin-left:  0.5%; ;
}

/*.services_block h2{
    color:black;
    font-size: 30px;
    margin-bottom: 10px;
}

.services_block li{
    color:black;
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;

}


.project_management{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-top: 100px;
    margin-bottom: 100px;
    background-color: #f2f2f2;
    font-family: Arial, sans-serif;
    background-color: #2a8b7a;
    width: 100%;
    margin-left: 10%;
}*/

/*.project_management h2{
    color:black;
    font-size: 30px;
    margin-bottom: 10px;
}

.project_management li{
    color:black;
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;

}

.general_supplies{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-top: 100px;
    margin-bottom: 100px;
    background-color:#2a8b7a;
    font-family: Arial, sans-serif;
    width: 35%;
    margin-right: 10%;
    
}

.general_supplies h2{
    color:black;
    font-size: 30px;
    margin-bottom: 10px;
}

.general_supplies li{
    color:black;
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;

}*/



/* footer */
.footer {
    background-color: #2a8b7a; /* Green background color */
    color: white; /* White text color */
    padding: 0px; /* 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 */
    width:100%; /* Full width */ 
    padding-top: 50px;
    padding-bottom: 5px;
    bottom: 0; /* Align to the bottom */
    margin-top: auto; 
    
}

.footer h3 {
    margin: 0; /* Remove default margin */
    font-size: 16px; /* Font size */
}

.footer .left {
    flex: 1; /* Take up remaining space */
    padding-left: 5px;
}

.footer .right {
    text-align: right; /* Align text to the right */
    margin-bottom: 10px;
    padding-top: 5px;
    padding-right: 5px;

}
.footer.right .h3{
    margin-bottom: 5px;
} 


@media screen  and (max-width: 800px)  {
    .nav{
        display: none;
    }
    .nav_small{
        display: flex;
    }
    
}

@media screen and (max-width: 800px) {
    
    .nav_small{
        max-width: 800px;
        display: flex;
    }
    .services_block{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        width: 90vw;
        margin-top: 90px;
        margin-left: 5vw;
    }
    .services_sec{
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* Creates 4 equal-width columns */
        grid-template-rows: repeat(1, auto);   /* Creates 4 rows; you can replace 'auto' with a fixed height if needed */
        gap:10%;    
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 0px;
        margin-top: 20px;
        margin-bottom: 20px;
        background-color:white;
        font-family: Arial, sans-serif;
        width: 80vw;
        margin-left: 10vw;
        margin-right: 10vw;
    }
    .services_sec p h2 h3{
        font-size: 10px;
    }
    
    .general_supplies,.construction_contracting,.project_management,.property_management{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 40px;
        margin-top: 100px;
        margin-bottom: 100px;
        background-color: #2a8b7a;
        font-family: Arial, sans-serif;
        width: 70vw;
        margin-left: 5vw ;
    }
    
    /*.services_block{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        margin-top: 100px;
        margin-bottom: 100px;
        background-color: #f2f2f2;
        font-family: Arial, sans-serif;
    }
    
    .services_block h2{
        color:black;
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .services_block li{
        color:black;
        font-size: 20px;
        margin-bottom: 10px;
        font-family: 'Roboto', sans-serif;
    
    }
    .services_diblock{
        display: flex;
        flex-direction: column;
        
        gap: 10%;
        align-items: center;
        padding: 20px;
        margin-top: 100px;
        margin-bottom: 100px;
        background-color: #f2f2f2;
        font-family: Arial, sans-serif;
    }
    
    .project_management{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        margin-top: 100px;
        margin-bottom: 100px;
        background-color: #f2f2f2;
        font-family: Arial, sans-serif;
        background-color: #2a8b7a;
        width: 100%;
        margin-left: 0%;
    }
    
    .project_management h2{
        color:black;
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .project_management li{
        color:black;
        font-size: 20px;
        margin-bottom: 10px;
        font-family: 'Roboto', sans-serif;
    
    }
    
    .general_supplies{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        margin-top: 100px;
        margin-bottom: 100px;
        background-color:#2a8b7a;
        font-family: Arial, sans-serif;
        width: 100%;
        margin-right: 0%;
        
    }*/
    .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 */
        width: 100%; /* Full width */
        bottom: 0; /* Align to the bottom */
        margin-top: auto;
        margin-top: 80vh;
        
    }
    
    .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;
    } 
    
    
    
}


@media screen and (max-width: 426px) {
    .nav{
        display: none;
    }
    
    .nav_small{
        max-width: 800px;
        display: flex;
    }
    
    .logo_div_small {
        height: 5px;
        width: auto;
    }
    .menu_btn_small{
        margin-left: 60%;
        
    }
    .services_block{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        width: 80vw;
        margin-top: 90px;
        margin-left: 10vw;
    }
    .services_block{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        width: 80vw;
        margin-top: 90px;
        margin-left: 10vw;
    }
    .services_sec{
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* Creates 1 column */
        grid-template-rows: repeat(1, auto);   /* Creates rows with automatic height */
        gap: 10vw; /* Add spacing between blocks */
        justify-content: space-between;
        align-items: center;
        padding: 5vw; /* Add padding inside the grid container */
        margin-top: 20px;
        margin-bottom: 20px;
        background-color: white;
        font-family: Arial, sans-serif;
        width: 90vw;
        margin-left: 5vw;
        margin-right: 5vw;
    }
    .services_sec p h2 h3{
        font-size: 10px;
    }
    
    .general_supplies,.construction_contracting,.project_management,.property_management{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 40px;
        margin-top: 100px;
        margin-bottom: 100px;
        background-color: #2a8b7a;
        font-family: Arial, sans-serif;
        width: 70vw;
        margin-left: 5vw ;
    }
    

    /*.services_block{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        margin-top: 100px;
        margin-bottom: 100px;
        background-color: white;
        font-family: Arial, sans-serif;
    }*/
    
    /*.services_block h2{
        color:black;
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .services_block li{
        color:black;
        font-size: 20px;
        margin-bottom: 10px;
        font-family: 'Roboto', sans-serif;
    
    }
    .services_diblock{
        display: flex;
        flex-direction: column;
        
        gap: 10%;
        align-items: center;
        padding: 20px;
        margin-top: 100px;
        margin-bottom: 100px;
        background-color: #f2f2f2;
        font-family: Arial, sans-serif;
    }
    
    .project_management{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        margin-top: 100px;
        margin-bottom: 100px;
        background-color: #f2f2f2;
        font-family: Arial, sans-serif;
        background-color: #2a8b7a;
        width: 100%;
        margin-left: 0%;
    }
    
    .project_management h2{
        color:black;
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .project_management li{
        color:black;
        font-size: 20px;
        margin-bottom: 10px;
        font-family: 'Roboto', sans-serif;
    
    }
    
    .general_supplies{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        margin-top: 100px;
        margin-bottom: 100px;
        background-color:#2a8b7a;
        font-family: Arial, sans-serif;
        width: 100%;
        margin-right: 0%;
        
    }*/
    .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 */
         bottom: 0; /* Align to the bottom */
        margin-top: auto;
        bottom: 0; /* Align to the bottom */
        margin-top: auto; 
        
        
    }
    
    .footer h3 {
        margin: 0; /* Remove default margin */
        font-size: 12px; /* 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;
    } 
    
    

    
    
    
    
}