/* General Styles */

body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* Header Section */
/* Header and Basic Layout */
header {
    background-color: white;
    padding: 20px 0;
    border-bottom: 2px solid #039d55;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo {
    width: 180px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: auto;
}

/* Center heading stays centered relative to the container */
.center-heading {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.center-heading h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #039d55;
    text-align: center;
}

/* Navigation */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
/* Navigation Styles */
nav {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    border-top: none;
    border-bottom: 2px solid #ddd;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 999;
}

/* Menu Buttons */
nav a {
    position: relative;
    display: inline-block;
    padding: 10px 18px;
    margin: 0 5px;
    font-size: 18px;
    font-weight: 500;
    color: #039d55;
    text-decoration: none;
    background: transparent;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-top: none;
    border-bottom: none;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

nav a:first-child {
    border-left: none;
}

nav a:last-child {
    border-right: none;
}

nav a:hover {
    background: linear-gradient(to right, #039d55, #02c56b);
    color: white !important;
}
/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-around;
    height: 20px;
    width: 30px;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    background-color: #039d55;
    height: 3px;
    width: 100%;
    border-radius: 2px;
}

/* Mobile Navigation Menu */
#nav-menu {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    border-top: 2px solid #039d55;
}

#nav-menu a {
    padding: 10px;
    text-align: center;
    color: #039d55;
}

/* Toggle visibility when hamburger is clicked */
#nav-menu.show {
    display: flex; /* Show menu */
}

/* Media Query for Mobile View */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    position: relative;
  }

  .logo {
    order: 1;
    text-align: center;
  }

  .logo img {
    max-width: 160px;
    height: auto;
  }

  .center-heading {
    order: 2;
    margin-top: 10px;
    text-align: center;
    position: static;
    transform: none;
  }

  .center-heading h2 {
    font-size: 1.2rem;
    color: #039d55;
  }

  .hamburger-menu {
    order: 3;
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    border-top: 2px solid #039d55;
    z-index: 999;
  }

  #nav-menu.show {
    display: flex;
  }

  #nav-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    color: #039d55;
    text-decoration: none;
  }

  #nav-menu a:hover {
    background: linear-gradient(to right, #039d55, #02c56b);
    color: white;
  }
}

@media (min-width: 769px) {
    #nav-menu {
        display: flex; /* Show nav for desktop */
        position: static;
        flex-direction: row;
        background: none;
        border-top: none;
    }

    .hamburger-menu {
        display: none; /* Hide hamburger menu on desktop */
    }
}
/* Body Section */
/* First Section - Grid Layout */
.first-section {
    padding: 10px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: 3fr 2fr; /* Two columns with different widths */
    grid-template-rows: auto auto;  /* Two rows */
    gap: 20px;                     /* Space between grid items */
}

/* Style for Box 1 (Vision) and Box 3 (Mission) */
.heading {
    /* Light background for the boxes */
    padding: 20px;
    border-radius: 8px;
    text-align: center; /* Center text horizontally */
    font-size: 1.5rem;
    color: #039d55;

    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center;     /* Center content vertically (if height is set) */
    flex-direction: column;  /* Ensure content stacks vertically */
}

.box1, .box2, .box3 {
    background-color: #f5f5f5; /* Light background for the boxes */
    padding: 20px;
    border-radius: 8px;
    text-align: justify;  /* Justify the text */
}

/* Merge Box 2 and Box 4 */
.box2 {
    grid-row: span 2;  /* Merge Box 2 to span both rows */
}

.box4 {
    grid-row: span 2;  /* Merge Box 4 to span both rows */
}

/* Optional Styling for Box Titles */
h2 {
    color: #039d55;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.box2 img {
    width: 100%;       /* Make the image span the full width of the box */
    height: 100%;      /* Make the image span the full height of the box */
    object-fit: cover; /* Ensures the image scales and crops to fit the box */
    display: block;    /* Removes inline-block spacing issues */
}

.box1 p, .box3 p {
    line-height: 1.8; /* Adjust the value as needed; 1.6-1.8 is typically ideal */
    margin-bottom: 15px; /* Optional: Add space between paragraphs */
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hide Box 2 on mobile */
    .box2 {
        display: none; /* Hide Box 2 (Image) */
    }

    /* Make the grid a single column */
    .grid-container {
        grid-template-columns: 1fr; /* Stack the items vertically on mobile */
        grid-template-rows: auto;  /* Only one row for the stacked items */
    }
}
/* Products Section */
.products-section {
    padding: 40px 20px; /* Add padding to the section */
    background-color: #f9f9f9; /* Light background color */
    text-align: center;
}

.products-section h2 {
    margin-bottom: 20px; /* Space below the heading */
    font-size: 24px;
    color: #039d55; /* Green color for the title */
}

/* Dynamic Grid Layout */
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Dynamic columns */
    gap: 20px; /* Spacing between items */
}

.product-item {
    background-color: #fff; /* White background for each product */
    border: 1px solid #ddd; /* Light border around products */
    border-radius: 5px; /* Rounded corners */
    text-align: center;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.2s ease-in-out;
}

.product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 3px; /* Slightly rounded image corners */
}

.product-item {
    position: relative;
}

.product-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures image covers the area */
    background-image: url('../images/placeholder.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-item p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.product-item:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

/* Mobile Styles */
@media (max-width: 768px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr); /* Set 2 columns on mobile */
    }
}

/* Full-Width Banner */
.full-banner {
    width: 100%;
    position: relative; /* Ensure the content is positioned correctly */
    height: 30vh%;  /* Set a default height for larger screens */
}

.banner-image {
    width: 100%; /* Make sure the image spans the full width */
    height: 100%; /* Make sure the image spans the full height */
    text-align: center; /* Center the image inside the container */
}

.banner-image img {
    width: 100%;  /* Make the image take up the full width of the parent container */
    height: 100%; /* Make the image fill the container vertically */
    object-fit: cover; /* Ensure the image covers the full container without distortion */
}

/* Mobile Styles */
@media (max-width: 768px) {
    .full-banner {
        height: 10vh; /* Adjust the height on smaller screens to prevent too much space */
    }
    
    
}

/* Mobile Styles */
@media (max-width: 768px) {
    .banner-image img {
        height: auto; /* Allow the image to maintain its aspect ratio on small screens */
    }
}

/* Our Network Section */
.our-network {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.our-network h2 {
    font-size: 24px;
    color: #039d55;
    margin-bottom: 20px;
}

/* Grid Layout for Network Items */
.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-template-rows: repeat(2, auto); /* 2 rows */
    gap: 20px;
}

/* Style for each Network Item */
.network-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.network-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.network-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}


/* Mobile Styles */
@media (max-width: 768px) {
    .network-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }

    .network-item {
        padding: 15px;
    }

    .our-network h2 {
        font-size: 20px; /* Adjust heading font size for mobile */
		padding: 20px 20px;
    }
}

/* General Styles for Image Table */
.image-table {
  width: 100%; /* Full width */
  border-collapse: collapse; /* Remove gaps */
  text-align: center; /* Center content */
}

.image-table td {
  padding: 5px; /* Add some padding */
  text-align: center;
  vertical-align: middle;
}

.image-table img {
  max-width: 200px; /* Default image size for web view */
  height: auto; /* Maintain aspect ratio */
}

/* Style for emphasized cell */
.image-table td[colspan="2"] {
  font-weight: bold; /* Highlight the text */
  text-align: center;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .image-table {
    table-layout: auto; /* Allow table to adjust dynamically */
  }

  .image-table img {
    max-width: 90%; /* Scale images to fit within mobile screens */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Center images horizontally */
  }

  .image-table td {
    padding: 10px 0; /* Add extra padding for readability */
    display: block; /* Make each cell occupy full width */
  }

  .image-table tr {
    display: block; /* Stack rows on top of each other */
    margin-bottom: 10px; /* Add spacing between rows */
  }
}


/* Sub Footer Section */
.sub-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    background-color: #f1f1f1;
    margin-bottom: 0; /* Remove margin-bottom to eliminate space between sub-footer and footer */
}

.sub-footer-column {
    width: 30%;                      /* Each column takes up 30% of the width */
    padding: 0 10px;
    display: flex;
    flex-direction: column;          /* Stack the logo and content vertically */
}

/* First Column: Center Logo and Justify Text */
.sub-footer-column:first-child {
    align-items: center;             /* Center the content horizontally */
    text-align: justify;             /* Justify the text inside the first column */
}

/* Centering Logo */
.footer-logo-container {
    display: flex;
    flex-direction: column;          /* Stack logo and content */
    align-items: center;             /* Center logo horizontally */
    justify-content: center;         /* Center content vertically */
    margin-bottom: 10px;             /* Space between logo and description */
}

.footer-logo {
    width: 250px;                   /* Set a fixed width for the logo */
    height: auto;                   /* Maintain aspect ratio */
    margin-bottom: 10px;            /* Space below the logo */
}

/* Justified Description Text in First Column */
.about-us-description {
    font-size: 14px;
    color: #555;                    /* Text color for the content */
    line-height: 1.6;               /* Improve readability with some line height */
    text-align: justify;            /* Justify the paragraph text */
    margin-bottom: 10px;            /* Space between description and next element */
}

/* Second and Third Columns: Left-Aligned Content */
.sub-footer-column:nth-child(2),
.sub-footer-column:nth-child(3) {
    text-align: left;               /* Align text to the left for second and third columns */
}

.sub-footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;             /* Space below the heading */
}

/* Links Section within the Sub Footer */
.sub-footer-links {
    list-style: none;               /* Remove bullet points from the list */
    padding: 0;
    margin: 0;
}

.sub-footer-links li {
    margin-bottom: 8px;             /* Space between each link */
}

.sub-footer-links a {
    color: #039d55;                 /* Set link color */
    text-decoration: none;          /* Remove underline from links */
}

.sub-footer-links a:hover {
    text-decoration: underline;     /* Underline links on hover */
}

/* Contact Section */
.sub-footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;             /* Space below the heading */
}

.contact-address {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;             /* Align icon and text horizontally */
    margin-bottom: 10px;
}

.contact-icon {
    font-size: 20px;                  /* Increase icon size */
    margin-right: 10px;               /* Space between icon and text */
    color: #039d55;                   /* Icon color */
}

.contact-item a {
    color: #039d55;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .sub-footer {
        flex-direction: column; /* Stack columns vertically on mobile */
        align-items: center;    /* Center the content */
        padding: 0 20px;        /* Add padding on left and right */
    }

    .sub-footer-column {
        width: 100%;            /* Make each column take the full width */
        margin-bottom: 20px;    /* Add spacing between stacked columns */
    }

    /* Adjust heading font sizes */
    .sub-footer-column h3 {
        font-size: 18px;
    }
}



/* Footer Section */
footer {
    background-color: #039d55;
    color: white;
    padding: 20px 0;
    margin-top: 0; /* Remove margin-top to eliminate space above footer */
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .footer-left p {
    margin: 0;                  /* Remove margin around the copyright text */
}

footer .footer-right .social-links {
    display: flex;              /* Flexbox for social icons */
    justify-content: flex-end;  /* Align social icons to the right */
}

footer .social-icon {
    margin: 0 10px;             /* Horizontal space between icons */
}

footer .social-icon img {
    width: 24px;                /* Set icon size */
    height: 24px;               /* Set icon size */
}

footer a {
    color: white;               /* White color for links */
    text-decoration: none;      /* Remove underline from links */
}

footer a:hover {
    text-decoration: underline; /* Underline links on hover */
}