/* 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 {
    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;
}

.nav-links {
  list-style-type: none;
  display: flex;
  gap: 40px;
}

.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 */
}

  /* Hero Section with Background Video */
  .hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3b6524; /* Dark green text */
    text-align: center;
    z-index: 1;
    overflow: hidden;
  }
  
  /* Hero Section with Background Video and Gradient Overlay */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff; /* Change text color to contrast against the video and gradient */
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2; /* Ensure the video is behind everything */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(12, 3, 51, 0.3), rgba(12, 3, 51, 0.3)); /* Apply the gradient here */
  z-index: -1; /* Ensure the gradient is above the video but below the text */
}

.hero-content {
  z-index: 1;
  position: relative;
}

.hero h1 {
  font-size: 4rem;
  animation: fadeIn 2s ease-in-out;
}

.hero p {
  font-size: 1.5rem;
  margin: 20px 0;
  animation: fadeIn 3s ease-in-out;
}

.btn {
  background-color: #5b8e32; /* Light green buttons matching the logo */
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background-color: #3b6524; /* Darker green on hover */
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

  /* About Section */
.about {
  background-color: #f9f9f9; /* Slightly off-white background */
  padding: 60px 20px;
  text-align: center;
  animation: fadeInUp 2s ease-in-out;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* Space between text and image */
  flex-wrap: wrap; /* Ensures it wraps on smaller screens */
}

.about-text {
  max-width: 600px;
}

.about h2 {
  font-size: 2.5rem;
  color: #5b8e32; /* Light green heading */
  margin-bottom: 20px;
}

.about p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}
.about-video {
  position: relative;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white for card effect */
  border-radius: 15px; /* Rounded corners */
  backdrop-filter: blur(10px); /* Apply blur effect */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Subtle shadow for the card */
  max-width: 650px;
  margin: 0 auto;
  z-index: 1;
}

.about-video-content {
  max-width: 100%; /* Ensure video fits container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px;
}

/* Responsive Design for About Section */
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column; /* Stack text and video vertically on smaller screens */
    text-align: center;
  }

  .about-video-content {
    max-width: 100%; /* Make video take full width on smaller screens */
  }
}

.activities {
  background-color: #5b8e32; /* Light green background matching the website theme */
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.activities h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: white; /* White text for contrast on green background */
}

.services-intro {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #f9f9f9; /* Slightly lighter text for the intro */
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  background: #ffffff; /* White background for the card */
  border-radius: 20px;
  padding: 20px;
  width: 45%; /* Adjusted to fit 2 cards in a row */
  margin: 20px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  overflow: hidden;
  position: relative;
  border: 2px solid #5b8e32; /* Light green border to match the theme */
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 350px; /* Adjust the height of the image */
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05); /* Subtle zoom effect on hover */
}

.card h3 {
  margin-bottom: 20px;
  color: #3b6524; /* Dark green for card titles */
  font-size: 1.6rem;
}

.card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.more-btn {
  background-color: #3b6524; /* Dark green button */
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.more-btn:hover {
  background-color: #2a4820; /* Even darker green on hover */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%; /* Full width on smaller screens */
  }
}


  /* Contact Section */
  .contact {
    background-color: #f9f9f9; /* Slightly off-white background */
    padding: 60px 20px;
    text-align: center;
  }
  
  .contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #5b8e32; /* Light green heading */
  }
  
  .contact p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  form input, form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
  }
  
  form input:focus, form textarea:focus {
    border-color: #5b8e32; /* Light green focus border */
  }
  
  form button {
    display: inline-block;
    background-color: #5b8e32; /* Light green button */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  form button:hover {
    background-color: #3b6524; /* Darker green on hover */
  }
  
  /* Footer */
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
  }
  
  /* 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: 3rem;
    }
  
    .btn {
      padding: 12px 24px;
      font-size: 1rem;
    }
  
    .nav-links {
      flex-direction: column;
      gap: 10px;
    }
  }

   /* Product Trading Section */
.company-overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  margin-top: 120px;
}

.text-content {
  flex: 1;
  padding: 20px;
}

.text-content h2 {
  font-size: 2.5rem;
  color: #5b8e32;
  margin-bottom: 20px;
}

.text-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #666;
}

.image-container {
  flex: 1;
  padding: 10px;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .company-overview {
    flex-direction: column;
    text-align: center;
  }

  .image-container, .text-content {
    width: 100%;
  }

  .image-container {
    padding-bottom: 20px;
  }
}

/* Footer */
footer {
  background-color: #5b8e32;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

.product-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
  padding: 20px;
}

.card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card h3 {
  font-size: 1.6rem;
  color: #5b8e32; /* Matches the site theme */
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.more-btn {
  background-color: #5b8e32;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.more-btn:hover {
  background-color: #3b6524; /* Darker green on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 100%;
  }
}

/* Activities Section Styling */
.activity-section {
  margin-top: 80px; /* Adjust based on your nav bar height */
  padding: 40px 20px;
  background-color: #fff; /* White background for cleanliness */
}

.activity-section h1 {
  color: #5b8e32; /* Theme color for headings */
  margin-bottom: 10px;
  text-align: center;
  font-size:40px;
}
.activity-container {
  display: flex;
  margin-bottom: 40px;
  align-items: center;
  justify-content: space-between;
  background-color: #ececec; /* Slightly darker background for the container */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Subtle shadow for depth */
  overflow: hidden; /* Ensures nothing spills out of the container */
}

.left-text .text-content, .right-text .text-content {
  flex: 1;
  padding: 20px;
}

.left-text .image-container, .right-text .image-container {
  flex: 1;
  padding: 20px;
}

.right-text {
  flex-direction: row-reverse;
}

.image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease; /* Smooth transition for hover effect */
}

.image-container:hover img {
  transform: scale(1.1); /* Slightly enlarges the image on hover */
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem; /* New line: smaller heading for mobile */
  }

  .hero p {
    font-size: 1.2rem; /* New line: smaller paragraph for mobile */
  }

  .btn {
    padding: 10px 20px; /* New line: smaller padding for button */
    font-size: 1rem; /* New line: smaller font for button */
  }
  .nav-links {
    flex-direction: column; /* New line: stack links vertically */
    gap: 10px; /* New line: reduce gap */
    text-align: center; /* New line: center the links */
  }

  .about-content {
    flex-direction: column; /* New line: stack vertically */
    gap: 20px; /* New line: reduce gap */
    text-align: center; /* New line: center the content */
  }

  .about-video, .about-text {
    max-width: 100%; /* New line: ensure full width on smaller screens */
  }
  .service-cards {
    flex-direction: column; /* New line: stack cards vertically */
  }

  .card {
    width: 100%; /* New line: full width for cards on smaller screens */
  }
  footer {
    text-align: center; /* New line: ensure the footer text is centered */
  }
  .activity-container {
    flex-direction: column;
  }
  .right-text {
    flex-direction: column-reverse;
  }
  .background-video {
    height: 100vh; /* New line: ensure the video fits vertically */
  }
}