/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto; /* Allow vertical scrolling */
    background: url('bamboo-forest.jpg') no-repeat center top / cover;
    position: relative;
}

body::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: url('agri.jpg') no-repeat center bottom / cover;
    z-index: -1;
}

.main-content {
    flex: 1;
}

/* Top Bar Styles */
.top-bar {
    background-color: #333;
    position: relative;
    z-index: 1000; /* Ensure top bar is above other elements */
    padding: 10px 0;
}

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 100px;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    position: relative;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    display: block;
    color: #40E0D0;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.navbar ul li a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2000; /* Ensure dropdown is above other elements */
}

.dropdown-content a {
    color: aquamarine; /* Changed the font color */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section Styles */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-content {
    text-align: center;
}

.text-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-box h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.text-box p {
    font-size: 1.2em;
}

.text-box a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #40E0D0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.text-box a:hover {
    background-color: #333;
}

/* Bamboo Project Section Styles */
.bamboo-project {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-box {
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* Vision Section Styles */
.main-content {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.9);
}

.section-title {
    text-align: center;
    font-size: 3.5em;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #40E0D0; /* Add border */
    color: #40E0D0; /* Change font color */
    padding: 10px; /* Add padding */
    border-radius: 10px; /* Add border-radius */
    text-shadow: 2px 2px #FF6347; /* Add text shadow */
}

.vision-box {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border: 2px solid #40E0D0; /* Add border */
    border-radius: 10px; /* Add border-radius */
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.8);
    width: 80%; /* Make the vision boxes narrower */
    margin: 0 auto 30px; /* Center the vision boxes */
}

.text-content {
    flex: 1;
    padding: 20px;
}

.text-content h3 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: justify; /* Align text */
}

.text-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.vision-box img {
    max-width: 300px;
    margin: 10px;
}

.image-container {
    display: flex;
    gap: 10px; /* Adjust the gap between the images as needed */
    justify-content: center; /* Center the images horizontally */
}

.image-container img {
    width: 100%; /* Ensure images are responsive */
    max-width: 47%; /* Ensure images take up less than half the container's width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Cover the image within the allocated space */
}

/* Footer Section Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-logo img {
    max-height: 80px;
}

.footer-info p {
    margin: 10px 0;
}

.footer-links {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
}

.footer-links li {
    margin: 0 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #40E0D0;
}

/* Team Section Styles */
.team-member-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-member-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px; /* Adjust the width as needed */
    text-align: center;
    transition: transform 0.3s;
}

.team-member-box:hover {
    transform: translateY(-10px); /* Add a hover effect */
}

.team-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-member-info {
    padding: 20px;
}

.team-member-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.team-member-info p {
    margin: 0;
    color: #777;
}

/* Section Description */
.section-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2em;
    color: #555;
}

/* News Section Styles */
#news {
    padding: 40px 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.news-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.news-item {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #40E0D0; /* Border color matching other sections */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    padding: 20px;
    width: 100%;
    text-align: center;
}

.news-item img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.news-item h3 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #40E0D0;
}

.news-item p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #40E0D0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #333;
}

/* Coming Soon Section Styles */
.coming-soon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; /* Adjust the height as needed */
    background-color: #f0f0f0; /* Light background color for contrast */
}

.coming-soon-box {
    padding: 40px;
    background-color: #fff; /* White background for the box */
    border: 2px solid #ddd; /* Light border around the box */
    border-radius: 10px; /* Rounded corners for the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
    text-align: center;
}

.coming-soon-box h1 {
    font-size: 3rem; /* Increase font size */
    color: #333; /* Dark text color for readability */
    margin: 0;
}