/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
}

header {
    background-color: transparent;
    color: #000;
    padding: 5px 0;
}

.container0{
    width: 80%;
    height: 80px;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Staatliches', Arial, sans-serif; /* Apply the Staatliches font */
}

.logo {
    
    padding: 5px;
 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
   
    height: 50%;
  
    display: flex;
    align-items: center;
}

.logo .elephant {
    width: 55px;
    height: auto;
    margin-left: 5px;
}
.small-text {
    font-size: 20px; /* Change the size as needed */
    padding: 5px;
  }
nav {
    margin-left: auto;
}

nav ul.desktop-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul.desktop-menu li {
    margin-left: 55px;
}

nav ul.desktop-menu li a {
    color: #000;
    text-decoration: none;
    padding: 5px 10px;
}

.mobile-menu-toggle {
    display: flex; /* Display flex to arrange bars horizontally */
    background-color: transparent;
  
    cursor: pointer;
    padding: 10px; /* Adjust padding as needed */
    position: absolute;
    right: -20px; /* Adjust the right position */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for vertical centering */
}

.mobile-menu-toggle .bar {
    display: none; /* Inline-block to keep elements in a line */
    width: 25px; /* Width of each bar */
    height: 3px; /* Height of each bar */
    background-color: #000; /* Color of each bar */
    margin-right: 5px; /* Spacing between bars */
}

.mobile-menu-toggle .bar:last-child {
    margin-right: 0; /* Remove margin from the last bar */
}




.mobile-menu {
    display: none; /* Hide the mobile menu initially */
    list-style: none;
    margin: 0;
    padding: 10px 0;
    background-color: #f4f4f4;
    position: absolute;
    top: 60px; /* Adjust as needed */
    right: 0;
    width: 200px;
 
    z-index: 10; /* Ensure the menu appears above other content */
}

.mobile-menu li {
    text-align: center;
    margin-bottom: 10px;
}

.mobile-menu li a {
    color: #000;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

/* Media query for mobile */
@media screen and (max-width: 480px) {
    .desktop-menu {
        display: block; /* Hide the desktop menu on small screens */
        opacity: 0;
    }
    
    .container0 {
        display: flex; /* Use flexbox for better alignment control */
        justify-content: flex-start; /* Adjust alignment for smaller screens */
        width: 100%; /* Ensure container uses full width of the screen */
        padding: 0 10px; /* Add some padding to prevent overflow */
    }
    
    .mobile-menu-toggle {
        display: flex; /* Show the mobile menu toggle button on small screens */
        justify-content: center;
        align-items: center;
        background: #ccc;
        height: 35px; /* Maintain button size for better usability */
        width: 35px; /* Ensure toggle size is fixed */
        cursor: pointer;
        position: relative;
        z-index: 100; /* Ensure the toggle button is above other content */
    }
    
    .mobile-menu-toggle .bar {
        display: inline-block; /* Inline-block to keep elements in a line */
        width: 25px; /* Width of each bar */
        height: 15px; /* Height of each bar */
        background-color: #000; /* Color of each bar */
        margin-right: 5px; /* Spacing between bars */
    }
    
    .mobile-menu {
        display: none; /* Hide the mobile menu on small screens initially */
        position: absolute;
        top: 60px; /* Adjust as needed */
        right: 10px; /* Make sure it's within the viewport */
        width: 100%; /* Set width to 100% to avoid overflow */
        max-width: 200px; /* Limit max width */
        background-color: #f4f4f4;
        z-index: 10; /* Ensure the menu appears above other content */
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth transition for visibility */
        opacity: 0;
        transform: translateY(-10px); /* Start slightly above to slide down */
    }
    
    .mobile-menu.active {
        display: block; /* Show the mobile menu when active */
        opacity: 1;
        transform: translateY(0); /* Slide down to its position */
    }
    
    .mobile-menu li {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .mobile-menu li a {
        display: block;
        padding: 10px;
        color: #000;
        text-decoration: none;
    }
}





































/* Additional CSS */
header h1 {
    margin: 0;
    display: flex;
    align-items: center;
    background-color: #6b8e23; /* Swamp green background */
    padding: 10px; /* Add some padding for spacing */

    font-family: 'Staatliches', Arial, sans-serif; /* Apply the Staatliches font */
}

header h1 .elephant {
    width: 30px;
    height: auto;
    margin: 0 10px;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    padding: 5px 10px;
    position: relative;
}

nav ul li a:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ccc; /* Gray background color */
    z-index: -1; /* Ensure the background appears behind the text */
}


/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Font Styles */
body {
    font-family: 'Staatliches', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 85%;
    margin: 0 auto;
    padding: 20px 0;
    
}

.container img {
    left: 50%;
    width: 85%;
    margin: 0 auto;
   
}

/* Section Styling */
section {
   
    background-color: #ffffff;
   
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
section h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a2d4d;
}

/* Section Titles */
section h2 {

   
    color: #000000;
    text-align: center;
    padding-top: 15px;
}


section p1{
    text-align: center;


}

/* Section Text */
section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px;
    color: #555;
}

/* Image Styling */
section img {
    width: 100%;
    max-width: 400px;
    margin: 20px 0;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #6b8e23;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
    }

    section img {
        width: 100%; /* Make images responsive on mobile */
    }
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 items per row */
  gap: 20px; /* spacing between them */
}

.resource-item img {
  width: 100%;
  height: auto;
  display: block;
   border: 3px solid black;
}

@media (max-width: 768px) {
  .resource-grid {
    grid-template-columns: 1fr; /* stack into 1 column on mobile */
  }
}



