/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}

body h2 {
    color: #3f7d40; /* Change this to your desired color */
}

/* Header Section */
header {
    background-image: url('../images/header-bg.png'); /* Path to the background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 250px; /* Adjust header height as needed */
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center;     /* Center the content vertically */
    text-align: center;
    padding: 10px 2rem;
    color: white;
}

/* Center text and logo in a column layout */
.header-content {
    display: flex;
    flex-direction: column; /* Stack heading, logo, and subheading vertically */
    align-items: center;
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #3f7d40;
    margin: 0;
    margin-bottom: 10px; /* Space between heading and logo */
}

header h3 {
    font-size: 1rem;
    color: #3f7d40;
    margin-top: 10px; /* Space between logo and subheading */
}

/* Logo styling */
.logo {
    max-width: 100px; /* Adjust the size of the logo */
    height: auto;
}

/* Responsive header */
@media (max-width: 768px) {
    header {
        height: auto; /* Adjust height for smaller screens */
    }

    .logo {
        margin-top: 10px;
        max-width: 80px; /* Resize logo for smaller screens */
    }

    header h1 {
        font-size: 1.8rem;
    }

    header h3 {
        font-size: 0.9rem;
    }
}

/* Responsive header */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        height: auto;
    }

    .logo {
        margin-top: 10px; /* Add space above the logo */
    }
}

/* Navigation styling */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #3f7d40; /* Fixed: Added missing semicolon */
    font-weight: bold;
}

nav ul li a:hover {
    color: #007BFF;
}

/* Home Section */
#home {
    padding: 3rem 0;
    background-color: #f4f4f4; /* Light background */
}

/* Flexbox for text and images side by side */
.home-content {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.text-content {
    flex: 1;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.grid-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.grid-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.grid-item img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Responsive design */
@media (max-width: 768px) {
    .home-content {
        flex-direction: column; /* Stack images and text vertically on smaller screens */
    }

    .text-content {
        text-align: center;
    }
}

/* Services Section */
#services ul {
    list-style-type: square;
    margin-left: 20px;
}

#services ul li {
    margin-bottom: 1rem;
}

/* Current Project Section */
#current-project {
    background-color: #f9f9f9;
    padding: 3rem 0;
}

#current-project h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #3f7d40;
}

.project {
    background: white;
    padding: 1.5rem;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.project h3 {
    color: #3f7d40;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.project ul {
    list-style-type: none;
    padding: 0;
}

.project ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #555;
}

/* About Us Section */
#about {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

#about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #3f7d40;
}

#about p {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
}

/* Staff Grid Layout */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.staff-member {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.staff-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.staff-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #3f7d40;
}

.staff-member p {
    font-size: 1rem;
    color: #777;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .social-media {
    margin-top: 1rem;
}

footer .social-media a {
    margin: 0 10px;
}

footer .social-media img {
    width: 30px;
    height: auto;
    transition: transform 0.3s;
}

footer .social-media img:hover {
    transform: scale(1.1); /* Enlarge icon on hover */
}

/* Back to Top Button */
#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #3f7d40;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 5px;
}

#backToTop:hover {
    background-color: #555;
}

  
  /* Navigation styling */
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #3f7d40
    font-weight: bold;
  }
  
  nav ul li a:hover {
    color: #007BFF;
  }


/* Home Section */
#home {
    padding: 3rem 0;
    background-color: #f4f4f4; /* Light background color */
}

#home h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

#home p {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
}

#home h3 {
    font-size: 2rem;
    color: #3f7d40; /* Green color for subheadings */
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#home ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
}

#home ul li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

#home ul li::before {
    content: "\2022"; /* Add custom bullet */
    color: #3f7d40; /* Green bullet point */
    font-weight: bold;
    display: inline-block;
    width: 1rem; /* Spacing for the bullet */
}

#home strong {
    color: #333; /* Darker color for strong emphasis */
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 1200px; /* Set a max-width for better readability */
}

@media (max-width: 768px) {
    #home h2 {
        font-size: 2rem;
    }
    
    #home h3 {
        font-size: 1.8rem;
    }

    #home ul li {
        font-size: 1rem;
    }
    
    .container {
        width: 90%;
    }
}
/* Home Section with Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.grid-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add subtle shadow for depth */
}

.grid-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Add a hover effect */
}

.grid-item img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}
/* Image Grid Styling */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    flex: 1; /* Images take up equal space with text */
}

.grid-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease; /* Smooth transition on hover */
}

.grid-item img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .home-content {
        flex-direction: column; /* Stack images and text vertically on smaller screens */
    }

    .text-content {
        text-align: center;
    }
}

/* Container for the section */
.container {
    width: 80%;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }
}


/* Navigation */
nav {
    background-color: #333;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #3f7d40;
}

/* Section Styling */
section {
    padding: 2rem 0;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Home Section */
#home h2 {
    color: #3f7d40;
    font-size: 2rem;
}

/* Services Section */
#services ul {
    list-style-type: square;
    margin-left: 20px;
}

#services ul li {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}
/* Full-width header with background image */
header {
    background-image: url('../images/header-bg.png'); /* Path to the background image */
    background-size: cover; /* Ensures the image covers the entire header */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    height: 200px; /* Set the height of the header */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}


/* Additional styling for the rest of the page (optional) */
.container {
    width: 80%;
    margin: 0 auto;
}
/* Back to Top Button */
#backToTop {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #3f7d40;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 5px;
}

#backToTop:hover {
    background-color: #555;
}
/* Current Project Section */
#current-project {
    background-color: #f9f9f9;
    padding: 3rem 0;
}

#current-project h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #3f7d40;
}

.project {
    background: white;
    padding: 1.5rem;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.project h3 {
    color: #3f7d40;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.project ul {
    list-style-type: none;
    padding: 0;
}

.project ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #555;
}

.project ul li strong {
    color: #333;
}
.container {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: space-between; /* Adjust spacing between items */
    padding: 1rem; /* Add some padding */
}

.container > div {
    flex: 1; /* Allow flex items to grow */
    min-width: 300px; /* Set a minimum width */
    margin: 1rem; /* Add margins for spacing */
}
/* About Us Section */
#about {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

#about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #3f7d40;
}

#about p {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
}

/* Staff Grid Layout */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.staff-member {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.staff-member img {
    width: 150px; /* Adjust width of staff images */
    height: 150px; /* Adjust height of staff images */
    border-radius: 50%;
    object-fit: cover; /* Ensures the image fits inside the circle */
    margin-bottom: 1rem;
}

.staff-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #3f7d40;
}

.staff-member p {
    font-size: 1rem;
    color: #777;
}

footer {
    background-color: #333; /* Dark background for the footer */
    color: white; /* White text */
    text-align: center; /* Center text */
    padding: 1rem 0; /* Padding for the footer */
    margin-top: 2rem; /* Space above the footer */
}

footer .container {
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center content */
}

footer .social-media {
    margin-top: 1rem; /* Space above social media icons */
}

footer .social-media a {
    margin: 0 10px; /* Space between icons */
}

footer .social-media img {
    width: 30px; /* Set the width of the icons */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s; /* Add a transition effect */
}

footer .social-media img:hover {
    transform: scale(1.1); /* Enlarge icon on hover */
}


