/* Dropdown Menu Styles */
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white; /* Matches navbar background */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  list-style-type: none;
  padding: 10px 0;
  border-radius: 5px;
  z-index: 999;
}

.navbar .dropdown-menu li {
  padding: 10px 20px;
}

.navbar .dropdown-menu li a {
  color: #62a541; /* Matches theme color */
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.navbar .dropdown-menu li a:hover {
  color: #3b6524; /* Darker green on hover */
}

.navbar .dropdown:hover .dropdown-menu {
  display: block; /* Show dropdown on hover */
}

/* Optional: Adjust z-index to ensure dropdown is visible above other content */
.navbar {
  z-index: 1000;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    margin-bottom: 100px; /* Ensure footer doesn't overlap content */
    background-color: #ffffff; /* Set the background to white for a clean look */
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
  }
  
  a {
    text-decoration: none;
  }
  
  h1, h2, h3 {
    font-weight: bold;
  }
  
  /* Navigation Bar Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white; /* White background for navbar */
  padding: 20px 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for contrast */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo a img {
  max-width: 200px; /* Increased size for the logo */
  height: auto;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.nav-links {
  list-style-type: none;
  display: flex;
  gap: 10px;
}

.nav-links li a {
  color: #5b8e32; /* Light green from the logo for the links */
  font-size: 1.3rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #3b6524; /* Darker green from the logo on hover */
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar {
    justify-content: space-between;
    padding: 10px 20px; /* Reduced padding for smaller screens */
  }

  .menu-toggle {
    display: block;
    margin-left: auto; /* Align the hamburger icon to the right */
  }
  
  .nav-links {
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: -100%;
      background-color: white;
      width: 100%;
      transition: left 0.3s ease;
  }

  .nav-links.show {
      left: 0;
  }

  .menu-toggle {
      display: block;
  }

  .nav-links li {
      margin: 15px 0;
  }

  .logo a img {
      max-width: 150px;
  }
}
  
  .info-section:nth-child(even) .video-container {
    order: 2; /* Reverse order for even sections */
  }
  
  .video-container {
    flex: 1;
    padding: 10px;
    order: 1;
  }
  
  .video-container.right {
    order: 3;
  }
  
  .video-container video {
    width: 100%;
    height: auto;
  }
  
  .text-content {
    flex: 2;
    padding: 10px;
    order: 2;
  }

  body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff; /* Default background for clean look */
  }
  
  header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    padding: 20px 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li {
    padding: 10px 15px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #333;
  }
  
  .company-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-top: 80px;
  }
  
  .company-overview:nth-child(even) .video-container {
    order: 2;
  }
  
  .video-container {
    flex: 1;
    padding: 20px;
  }
  
  .company-overview text-content {
    flex: 2;
    padding: 10px;
    max-width: 800px;
  }
    
  .company-overview h2 {
    font-size: 2.5rem;
  color: #5b8e32; /* Light green heading */
  margin-bottom: 20px;
  }
  
  .company-overview p {
    font-size: 16px;
    line-height: 1.6;
    color: #0e0d0d;
  }


  @media (max-width: 768px) {
    body {
      font-size: 14px; /* Decrease font size globally for smaller screens */
    }
    
    .navbar {
      padding: 10px 0; /* Reduce padding for the navigation bar */
    }
    
    .nav-links {
      flex-direction: column; /* Stack navigation links vertically */
      text-align: center;
      gap: 15px; /* Add space between items */
    }
    
    .logo a img {
      max-width: 150px; /* Reduce logo size for smaller screens */
    }
  }
  
  @media (max-width: 768px) {
    .company-overview{
      flex-direction: column; /* Stack text and images vertically */
      text-align: center;     /* Center text for better readability */
      margin-top: 100px;   
    }

    .image-container, .text-content {
      width: 100%;            /* Full-width for both text and images */
      order: 1;               /* Ensure text comes above the image */
    }

    .image-container {
      padding-bottom: 20px;   /* Add space below the image */
    }

    .video-container, .text-content {
      width: 100%;
      order: 1; /* Ensure text content appears above the video on mobile devices */
    }
  
    .video-container {
      padding-bottom: 20px; /* Adds space below the video */
    }
  
    .text-content {
      order: 2;
      padding: 10px; 
    }

    .image-container img {
      width: 100%;            /* Ensure images fit the container */
      height: auto;
    }
  
    .company-overview :nth-child(even) .video-container {
      order: 1; /* Maintain video at the top for all sections in mobile view */
    }
  }
  
  
  .vision {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-top: 80px;
  }
  
  .vision:nth-child(even) .video-container {
    order: 2;
  }
  
  .vision video-container {
    flex: 1;
    padding: 20px;
  }
  
  .vision text-content {
    flex: 2;
    padding: 10px;
    max-width: 800px;
  }
  
  .vision h2 {
    font-size: 2.5rem;
  color: #ffffff; /* Light green heading */
  margin-bottom: 20px;
  }
  
  p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
  }
  
  @media (max-width: 768px) {
    .vision {
      flex-direction: column;
      text-align: center;
      margin-top: 100px; /* Increased top margin for better spacing below the fixed navbar */
    }
  
    .video-container, .text-content {
      width: 100%;
      order: 1; /* Ensure text content appears above the video on mobile devices */
    }
  
    .video-container {
      padding-bottom: 20px; /* Adds space below the video */
    }
  
    .text-content {
      order: 2;
    }
  
    .vision :nth-child(even) .video-container {
      order: 1; /* Maintain video at the top for all sections in mobile view */
    }
  }

  
  .mission {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-top: 80px;
    margin-top: 80px;
    min-height: 60vh; /* Ensure enough space for the content */
  }

  .mission .image-container img {
    max-width: 100%;
    height: auto;
}

  
  .mission:nth-child(even) .video-container {
    order: 2;
  }
  
  .mission video-container {
    flex: 1;
    padding: 20px;
  }
  
  .mission text-content {
    flex: 2;
    padding: 10px;
    max-width: 800px;
  }
  
  .mission h2 {
    font-size: 2.5rem;
    color: #5b8e32; /* Light green heading */
    margin-bottom: 20px;
  }
  
  .mission p {
    font-size: 16px;
    line-height: 1.6;
    color: #0e0d0d;
  }
  
  @media (max-width: 768px) {
    .mission {
      flex-direction: column;
      text-align: center;
      margin-top: 100px; /* Increased top margin for better spacing below the fixed navbar */
    }
  
    .video-container, .text-content {
      width: 100%;
      order: 1; /* Ensure text content appears above the video on mobile devices */
    }
  
    .video-container {
      padding-bottom: 20px; /* Adds space below the video */
    }

    .image-container img {
      width: 100%;
      height: auto;
  }
  
    .text-content {
      padding: 10px;
      order: 2;
    }
  
    .mission :nth-child(even) .video-container {
      order: 1; /* Maintain video at the top for all sections in mobile view */
    }
  }

  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 0.8rem;
  }
  
  /* Animations */
  @keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .service-cards {
      flex-direction: column;
    }
  
    .card {
      width: 100%;
      margin-bottom: 20px;
    }
  
    .hero h1 {
      font-size: 2.5rem;
    }
    .hero p {
      font-size: 1.2rem;  /* Reduce paragraph font size */
    }
  
    .btn {
      padding: 10px 20px;
      font-size: 1rem;
    }
  
    .nav-links {
      flex-direction: column;
      gap: 10px;
    }
  }
  .image-container {
    flex: 1;
    padding: 10px;
    order: 1; /* Default order for left-side images */
  }
  
  .image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Optional for rounded corners */
  }
  
  .vision .image-container.right, .mission .image-container.left {
    order: 2; /* For right-side images in the vision section */
  }
  
  /* Responsive Design for smaller screens */
  @media (max-width: 768px) {
    .image-container, .text-content {
      width: 100%;
      order: 1; /* Ensure images appear above the text on smaller screens */
    }
  
    .image-container {
      padding-bottom: 20px; /* Adds space below the images */
    }
  }
/* Contact Section Styles */
.contact {
  text-align: center;
  padding: 150px 20px 60px; /* Top padding accounts for fixed header */
  background-color: #ffffff; /* White background */
}

.contact h2 {
  color: #5b8e32; /* Theme color for headings */
  margin-bottom: 10px;
  font-size: 30px;
}

.contact p {
  color: #5b8e32;
  margin-bottom: 20px;
  font-weight: bold;
}

form {
  max-width: 500px;
  margin: 0 auto;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 30px;
  border: 3px solid #ccc;
  border-radius: 4px;
}

textarea {
  height: 150px; /* Larger text area for messages */
}

button {
  background-color: #5b8e32;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #3b6524;
}

/* Footer */
footer {
  background-color: #5b8e32;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .contact {
    padding: 160px 20px 80px; /* Increased top padding for smaller screens */
  }

  input[type="text"],
  input[type="email"],
  textarea {
    padding: 12px;
    width: 100%; 
  }

  button {
    padding: 8px 16px;
    font-size: 1rem;
  }
}

 