html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main_section {
    /*background-image: url('code/images/IMG-20250212-WA0009.jpg');*/

padding-top: 60px;
background-image: url('images/dbjn-lhlangata-three.jpg');
background-size: cover; /* Ensures the image covers the entire background */
background-repeat: no-repeat; /* Prevents the image from repeating */
background-attachment: fixed; /* Ensures the background image stays fixed when scrolling */
background-position : center; /* Centers the image */
height: 100vh;
width: 100%;
position: relative;


}

  
/********************************************************************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%; /* Ensure it spans the full width */
    z-index: 1000; /* Ensure it stays above other content */
    margin-left: 0px; /* Remove any gap on the left */
    box-sizing: border-box; /* Include padding and border in width */
    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;
      z-index: 10000;
  }
  
  .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); 
    padding: 10px 20px;
    position: fixed; 
    top: 0;
    width: 100%; 
    z-index: 1000;
    height: 90px;
    margin-left: 0px; /* Remove any gap on the left */
    /*box-sizing: border-box; /* Include padding and border in width */
    /*/*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;
    -webkit-user-select: none;
    -webkit-user-select: none;
    margin-right: 10%;
    user-select: none; /* Safari */
  /*}
  
  /* 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;
  }
  
  .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;
  }





  /*safari nav small *//*******************************************************************************************************************safari*/
  .nav_small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(47, 141, 119, 0.3);
    padding: 10px 20px;
    position: fixed;
    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 */
  }
  
  /* Dropdown Menu Styling */
  .dropdown_menu_small {
    visibility: hidden;
    opacity: 0;
    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;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
  }
  
  .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,
  .menu_btn_small:active .dropdown_menu_small {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 10000000;
  }
  
/********************************************************************************************************navigation small bar end*/  
  






  /* Media query: Only display this nav for screens below 1024px. */
  @media (min-width: 800px) {
    .nav_small {
      display: none;
    }
  }
  
  /*nav small end*/  
  
  .about_us{
    margin-top: 20%;
    padding: 20px;
    z-index: -1;
    /*background-color: translucent;*/
    /*background-color: rgba(47, 141, 119, 0.3);*/
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}
.about_us h2{
    color: white;
    font-size: 50px;
    font-family: 'Roboto';
    color: rgba(47, 141, 119);
}
.about_us p{
    color: white;
    font-size: 20px;
    font-family: 'Source Sans 3', sans-serif;
}

.mission_vision_values {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #e0e0e0; /* Light grey background */
    padding: 20px;
}

.mission_vision_values {
    text-align: center;
}

.mission, .vision, .values {
    background-color: #a6d7cc; /* Slightly darker grey background */
    padding: 20px;
    margin: 10px;
    flex: 1;
    border: 4px solid  rgba(47, 141, 119);  /* Light border */
}
.no-bullets {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}


.mission h3, .vision h3, .values h3 {
    color: rgba(47, 141, 119); /* Teal color for headings */
}

.values ol {
    text-align: left;
    padding-left: 20px;
    
}

.customer_focus {
    background-color:  rgba(47, 141, 119 ); /* Teal background */
    color: #fff; /* White text */
    padding: 10px;
    margin-bottom: 20px;  
    text-align: center;
}

.customer_focus h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'roboto' , sans-serif;
}

.customer_focus p {
    line-height: 1.5;
    margin: 0;
    font-family: 'roboto' ,sans-serif;
    color: black;
}

.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 */
    
}

.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: 800px) {

    p {
        font-size: 12px;
    }
    h2 {
        font-size: 16px;
    }
    h3 {
      font-size: 12px;
    }
        /**769 navigation*****/
    .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;
    }
    .logo_div_small {
        width: 5px;
    }

    .menu_div ul li a.active {
        background-color: rgba(0, 0, 0, 0.1);
    }

    /*********769nav end***/


    .about_us{
        margin-top: 20%;
        padding: 20px;
        z-index: -1;
    }
    .about_us h2{
        color: white;
        font-size: 30px;
        font-family: 'Roboto';
        color: rgba(47, 141, 119);
    }
    .about_us p{
        color: white;
        font-size: 20px;
        font-family: 'Roboto';
    }

    .mission_vision_values {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        background-color: #e0e0e0; /* Light grey background */
        padding: 20px;

    }
    
    .mission_vision_values {
        text-align: center;
    }
    
    .mission, .vision, .values {
        background-color: #a6d7cc; /* Slightly darker grey background */
        padding: 10px;
        margin: 05px;
        flex: 1;
        border: 3px solid  rgba(47, 141, 119);  /* Light border */
    }
    
    .mission h3, .vision h3, .values h3 {
        font-size: 10px;
        color: rgba(47, 141, 119); /* Teal color for headings */
    }
    
    .values ol {
        text-align: left;
        padding-left: 10px;
    }

    .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 */
        
    }
    
    .footer h3 {
        margin: 0; /* Remove default margin */
        font-size: 10px; /* 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) {
    p {
        font-size: 10px;
    }
    h2 {
        font-size: 12px;
    }
    h3 {
      font-size: 10px;

    }
    
     .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;
    }
        /**769 navigation*****/
        .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;
        }
        .logo_div_small {
            height: 5px;
            width: auto;
        }
    
        .menu_div ul li a.active {
            background-color: rgba(0, 0, 0, 0.1);
        }
    
        /*********769nav end***/
    
    
}

