/* Reset basic styles */
body, header, a, button { /* Targeting body, header, anchor tags, and buttons */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    font-family: Arial, sans-serif; /* Set the font to Arial */
    box-sizing: border-box; /* Ensures padding and border are included in element width/height */
  }

/* Style the top bar */
header {
  position: fixed; /* Fix the header at the top */
  top: 0; /* Stick to the top of the page */
  width: 100%; /* Full width */
  display: flex; /* Use flexbox to align items horizontally */
  justify-content: space-between; /* Distribute items evenly with space between them */
  align-items: center; /* Center items vertically */
  background-color: white; /* Set the background color to green */
  padding: 10px 20px; /* Add 10px padding vertically and 20px horizontally */
  color: green !important; /* Set the text color */
  z-index: 1000; /* Ensure the header is above other content */
  height: 50px; /* Set a fixed height for the header */
}

/* Top bar sections */
.top-bar {
  display: flex; /* Use flexbox to align items horizontally within each section */
  align-items: center; /* Center items vertically */
}

/* Language button */
.language {
  position: relative; /* Position relative to allow absolute positioning of the popup menu */
}

#language-btn {
  background: none; /* Remove default background */
  border: none; /* Remove border */
  color: green; /* Set text color */
  cursor: pointer; /* Change cursor to pointer on hover */
  font-size: 16px; /* Set font size */
}

.language-popup {
  display: none; /* Initially hide the popup */
  position: absolute; /* Position relative to the container */
  top: 30px; /* Position the popup 30px below the button */
  left: 0; /* Align the popup to the left of the container */
  background-color: #73983b; /* Set the background color to white */
  border: 1px solid #ccc; /* Add a light gray border */
  border-radius: 5px; /* Round the corners of the popup */
  z-index: 1000; /* Ensure the popup appears above other elements */
}

.language-popup button {
  background: none; /* Remove default background */
  border: none; /* Remove default border */
  padding: 10px; /* Add padding inside the buttons */
  color: white; /* Set the text color to green */
  cursor: pointer; /* Change cursor to pointer on hover */
  text-align: left; /* Align text to the left */
  width: 100%; /* Make buttons span the full width of the popup */
}

.language-popup button:hover {
  background-color: #f0f0f0; /* Set a light gray background */
}

/* Contact info */
.contact-info a {
  color: green !important; /* Set text color */
  text-decoration: none; /* Remove underline from links */
  display: flex; /* Use flexbox to align icon and text horizontally */
  align-items: center; /* Center icon and text vertically */
  margin: 0 15px; /* Add 15px horizontal margin between items */
}

.contact-info i {
  margin-right: 5px; /* Add 5px space between icon and text */
}

/* Social media links */
.social-media a {
  color: white; /* Set icon color */
  background-color: green; /* Set icon background to white */
  font-size: 18px; /* Set font size */
  width: 30px; /* Set icon width to 30px */
  height: 30px; /* Set icon height to 30px */
  line-height: 30px; /* Center icon vertically */
  text-align: center; /* Center icon horizontally */
  border-radius: 50%; /* Make the icon background circular */
  margin-left: 5px; /* Add 5px space between social media icons */
  transition: transform 0.2s; /* Add smooth scaling transition effect */
}

.social-media a:hover {
  transform: scale(1.1); /* Slightly increase size on hover */
}

/* Vertical separators */
.separator {
  width: 1px; /* Set the width of the separator */
  height: 20px; /* Set the height of the separator */
  background-color: green; /* Set the color */
  margin: 0 10px; /* Add horizontal margin around the separator */
}

/* Navbar Styling */
.navbar {
  position: fixed; /* Fixed position to keep navbar at the top */
  top: 50px; /* Position below the header */
  width: 100%; /* Full width */
  padding: 5px 20px; /* Reduced top and bottom padding */
  background-color: green !important; /* Force navbar background to white */
  color: gold !important; /* Default text color for navbar */
  display: flex; /* Flexbox for alignment */
  justify-content: space-between; /* Space between logo and links */
  align-items: center; /* Center items vertically */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
  transition: background 0.3s ease, color 0.3s ease; /* Smooth transitions */
  z-index: 1000; /* Ensure navbar is above other content */
  height: 70px; /* Set a fixed height for the navbar */
}

/* Navbar Brand (Logo) */
.navbar-brand img {
  width: 70px; /* Set the logo width */
  height: auto; /* Maintain aspect ratio for the logo */
  margin-right: 50px; /* Add space between the logo and the next element */
}

/* Change Navbar Background on Scroll */
.navbar.scrolled {
  background: green !important; /* Change background color on scroll */
  color: gold !important; /* Change text color on scroll */
}

/* Shop Now Button */
.rent-btn {
  background-color: gold; /* Button background color */
  color: green; /* Button text color */
  padding: 8px 20px; /* Add padding to increase clickable area */
  border-radius: 20px; /* Make the button corners rounded */
  text-decoration: none; /* Remove default underline styling for links */
  font-size: 14px; /* Adjust button text size */
  font-weight: bold; /* Make button text bold */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth color change on hover */
  margin-right: 20px;
}

.rent-btn:hover {
  background-color: white; /* Subtle hover effect for the button */
  color: green;
}

/* Change Shop Now Button on Scroll */
.navbar.scrolled .rent-btn {
  background-color: gold; /* Change background color to white */
  color: green; /* Change text color to green */
}

/* Navbar Links */
.navbar-nav {
  display: flex; /* Ensure flexbox is enabled */
  gap: 15px; /* Add a 15px gap between nav links */
}

/* Navbar Links */
.nav-link {
  color: gold !important; /* Navbar link text color */
  font-size: 15px; /* Set the font size for navbar links */
  padding: 10px 15px; /* Add padding for spacing */
  text-decoration: none; /* Remove default underline styling */
  transition: color 0.3s; /* Smooth color change on hover */
  position: relative; /* Required for positioning the submenu */
}

.nav-link:hover {
  color: white; /* Add a hover effect for better interactivity */
}

/* Change Navbar Links Color on Scroll */
.navbar.scrolled .nav-link {
  color: gold !important; /* Change text color to white */
}

/* Sub-menu Styling */
.sub-menu {
  display: none; /* Hide submenu by default */
  position: absolute; /* Position submenu relative to its parent */
  top: 100%; /* Position submenu below the parent link */
  left: 0; /* Align submenu to the left */
  background-color: green !important; /* Submenu background color */
  color: #000;
  box-shadow: 0 2px 8px rgba(41, 205, 76, 0.158); /* Add a shadow for depth */
  border-radius: 4px; /* Make submenu corners slightly rounded */
  z-index: 10; /* Ensure submenu appears on top of other elements */
}

/* Show submenu on hover */
.rent-buy:hover .sub-menu {
  display: block; /* Show submenu when hovering over parent link */
}

/* Navigation Toggle (Hamburger icon) */
.navbar-toggler {
  border-color: green; /* White border for the toggle button */
}

.navbar-toggler-icon {
  background-color: forestgreen; /* White toggle icon */
}

/* Icons & Register Button */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 15px; /* Add a 15px gap between icons and register button */
  margin-left: 20px;
}

.nav-icons i {
  font-size: 18px;
  margin-right: 15px;
  cursor: pointer;
}

.register-btn {
  background: gold;
  color: green;
  padding: 8px 15px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
}

.register-btn:hover {
  background: white;
  color: green;
}

/* Change register button Color on Scroll */
.navbar.scrolled .register-btn {
  background-color: gold;
  color: green !important; /* Change text color to white */
}

/* Navbar Animation */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.navbar.scrolled {
  animation: slideDown 0.5s ease-in-out;
}

/* Fixed Background with Overlay */
.agriease-team-hero {
  background: url("Team\ 1.jpg"); /* Sets background image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 120px; /* Adjust based on navbar height */
}

.agriease-overlay {
  background-color: rgba(0, 100, 0, 0.7); /* Green overlay */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.agriease-hero-title {
  color: white;
  font-size: 3rem;
  font-weight: bold;
}

/* Agriease Team Section */
.agriease-team-section {
    width: 100%; /* Full width */
    background-color: green !important; /* Green background */
    padding: 50px 30px; /* Top and bottom padding, left and right padding */
    scroll-margin-top: 100px; /* Scroll margin for smooth navigation */
  }
  
  html {
    scroll-behavior: smooth; /* Smooth scrolling */
  }
  
  /* Optional: Prevent interference with surrounding sections */
  .agriease-team-section:before {
    content: ""; /* Empty content */
    display: block; /* Block display */
    height: 50px; /* Height */
    margin-top: -50px; /* Negative margin to offset */
    visibility: hidden; /* Hidden visibility */
  }
  
  /* Header Styling */
  .agriease-header {
    display: flex; /* Flexbox layout */
    justify-content: space-between; /* Space between title and button */
    align-items: center; /* Center align items vertically */
    margin-bottom: 30px; /* Bottom margin */
  }
  
  /* Agriease Title Styling */
  .agriease-team-title {
    color: white; /* Default text color */
    margin-right: 10px; /* Added margin-right to reduce space */
    text-align: center; /* Center-align the text */
    font-weight: bold; /* Make the text bold */
    font-size: 2rem; /* Increase font size */
  }
  
  .management {
    color: gold; /* Yellow color for "Management" */
  }
  
  .team {
    color: white; /* White color for "Team" */
  }
  

  /* Agriease Layout for Team Members */
  .agriease-team-row {
    display: flex; /* Flexbox layout */
    justify-content: center; /* Center align items */
    flex-wrap: wrap; /* Wrap items */
    gap: 20px; /* Gap between items */
  }
  
  /* Agriease Team Cards */
  .agriease-team-card {
    width: 270px; /* Default width */
    opacity: 0; /* Initially hidden */
    transform: translateY(-50px); /* Initial translateY */
    transition: all 1s ease-out; /* Smooth transition */
  }
  
  .agriease-team-card:nth-child(3) {
    width: 300px; /* Wider width for third card */
  }
  
  .agriease-team-card.visible {
    opacity: 1; /* Visible */
    transform: translateY(0); /* Reset translateY */
  }
  
  /* Card Styling */
  .agriease-card {
    background-color: white !important; /* White background */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow */
    text-align: center; /* Center text */
    overflow: hidden; /* Hide overflow */
    padding: 10px; /* Padding */
  }
  
  /* Agriease Team Member Image */
  .agriease-team-image {
    width: 100%; /* Full width */
    height: 250px; /* Fixed height */
    object-fit: cover; /* Cover the container */
    object-position: top center; /* Align image to top center */
    transition: transform 0.5s ease; /* Smooth transition */
  }
  
  /* Hover effect for team image */
  .agriease-image-container:hover .agriease-team-image {
    transform: scale(1.1); /* Scale up on hover */
  }
  
  /* Card Body */
  .agriease-card-body {
    padding: 15px; /* Padding */
  }
  
  /* Agriease Member Names */
  .agriease-card-body h5 {
    font-size: 1.2rem; /* Font size */
    color: #222; /* Text color */
    margin-bottom: 10px; /* Bottom margin */
  }
  
  /* Agriease Role Styling */
  .agriease-card-body p {
    font-size: 0.9rem; /* Font size */
    color: #666; /* Text color */
    font-style: italic; /* Italic text */
    margin-bottom: 15px; /* Bottom margin */
  }
  
  /* Social Links */
  .agriease-social-links {
    list-style: none; /* Remove list style */
    padding: 0; /* Remove padding */
    display: flex; /* Flexbox layout */
    justify-content: center; /* Center align items */
    gap: 5px; /* Gap between items */
    margin-bottom: 15px; /* Bottom margin */
  }
  
  .agriease-social-links li a {
    display: inline-block; /* Inline block */
    border: 2px solid green; /* Border */
    border-radius: 50%; /* Circular shape */
    width: 35px; /* Fixed width */
    height: 35px; /* Fixed height */
    display: flex; /* Flexbox layout */
    align-items: center; /* Center align items vertically */
    justify-content: center; /* Center align items horizontally */
    color: green; /* Text color */
    transition: background-color 0.3s ease; /* Smooth transition */
  }
  
  .agriease-social-links li a:hover {
    background-color: green; /* Hover background color */
    color: gold; /* Hover text color */
  }
  
  /* Agriease Read More Button */
  .agriease-read-more-btn {
    background-color: green; /* Green background */
    color: white; /* White text color */
    border: none; /* No border */
    padding: 8px 12px; /* Padding */
    border-radius: 25px; /* Circular edges */
    cursor: pointer; /* Pointer cursor */
    transition: background-color 0.3s ease; /* Smooth transition */
  }
  
  .agriease-read-more-btn:hover {
    background-color: gold; /* Hover background color */
    color: green;
  }

/* Team Profiles */
.agriease-team-profiles {
  padding: 50px 0;
  background-color: #f8f9fa;
}

.agriease-team-profiles h3 {
  color: #2c3e50;
  font-weight: bold;
}

.agriease-team-profiles p {
  color: #666;
  line-height: 1.8;
}

.agriease-team-profiles .btn-success {
  background-color: green;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.agriease-team-profiles .btn-success:hover {
  background-color: gold;
  color: green;
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed; /* Fixed to viewport */
    bottom: 20px; /* 20px from the bottom */
    left: 20px; /* 20px from the left */
    background: #25d366; /* WhatsApp green color */
    color: white; /* Icon color */
    font-size: 2rem; /* Icon size */
    padding: 15px; /* Padding for the icon */
    border-radius: 50%; /* Circular icon */
    cursor: pointer; /* Pointer on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    z-index: 100; /* Place above other elements */
  }
  
  /* WhatsApp Popup Container */
  .whatsapp-popup {
    display: none; /* Initially hidden */
    position: fixed; /* Fixed to viewport */
    bottom: 80px; /* Popup position above the WhatsApp icon */
    left: 20px; /* Align with the WhatsApp icon */
    width: 300px; /* Fixed width */
    background: white; /* Popup background */
    border: 1px solid #ddd; /* Light border */
    border-radius: 15px; /* Circular edges for the popup */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    z-index: 101; /* Above the icon */
    font-family: Arial, sans-serif; /* Default font */
  }
  
  /* Show popup on hover over either the icon or the popup */
  .whatsapp-icon:hover + .whatsapp-popup,
  .whatsapp-popup:hover {
    display: block; /* Keep the popup visible */
  }
  
  /* Popup Header */
  .popup-header {
    display: flex; /* Horizontal alignment */
    justify-content: space-between; /* Space between text and close icon */
    align-items: center; /* Center align */
    background: #25d366; /* WhatsApp green */
    color: white; /* White text */
    padding: 10px; /* Padding inside */
    border-radius: 15px 15px 0 0; /* Rounded top corners */
    font-size: 1rem; /* Header font size */
  }
  
  .popup-header .close-popup {
    cursor: pointer; /* Pointer on hover for close icon */
    font-size: 1.2rem; /* Icon size */
  }
  
  /* Popup Body */
  .popup-body {
    padding: 15px; /* Add space inside */
    font-size: 0.9rem; /* Text size */
    color: #555; /* Slightly dark text color */
    line-height: 1.5; /* Line spacing */
  }
  
  /* Popup Footer */
  .popup-footer {
    padding: 10px; /* Add space inside */
    text-align: left; /* Align "Open Chat" button to the left */
  }
  
  .popup-footer .open-chat-btn {
    display: inline-flex; /* Align icon and text horizontally */
    align-items: center; /* Center icon and text vertically */
    justify-content: center; /* Center content */
    background: #25d366; /* WhatsApp green */
    color: white; /* White text */
    text-decoration: none; /* Remove underline */
    padding: 10px 15px; /* Button padding */
    border-radius: 15px; /* Circular button edges */
    font-size: 0.9rem; /* Button font size */
    transition: background 0.3s; /* Smooth hover effect */
  }
  
  .popup-footer .open-chat-btn:hover {
    background: #1da851; /* Darker green on hover */
  }
  
  /* WhatsApp arrow icon before text */
  .popup-footer .open-chat-btn::before {
    content: '➤'; /* Right chevron */
    margin-right: 8px; /* Space between icon and text */
    font-size: 1rem; /* Icon size */
  }
  
  /* Scroll to Top Button */
  .scroll-to-top {
    position: fixed; /* Keep button fixed to viewport */
    bottom: 20px; /* Position 20px from bottom */
    right: 20px; /* Position 20px from right */
    background: #2f772b; /* Green background */
    color: #fff; /* White color for arrow */
    border-radius: 50%; /* Make it circular */
    padding: 10px; /* Add padding inside */
    font-size: 1.5rem; /* Arrow size */
    cursor: pointer; /* Change cursor to pointer on hover */
    z-index: 10; /* Place above other elements */
  }
  
  /* Scroll to Top Hover Effect */
  .scroll-to-top:hover {
    background: #225320; /* Darker green on hover */
  }
  
/* Footer Styling */
:root {
    --green: green; /* Define a custom green color */
    --yellow: #ffc107; /* Define a custom yellow color */
  }
  
  .bg-green {
    background-color: var(--green); /* Set background color to green */
  }
  
  .bg-yellow {
    background-color: var(--yellow); /* Set background color to yellow */
  }
  
  .text-yellow {
    color: var(--yellow); /* Set text color to yellow */
  }
  
  .decorated-line {
    height: 2px; /* Set height of the decorated line */
    width: 50px; /* Set width of the decorated line */
    background-color: white; /* Set color of the decorated line */
  }
  
  .btn-yellow {
    background-color: var(--yellow); /* Set button background color to yellow */
    color: var(--green); /* Set button text color to green */
    border: none; /* Remove button border */
  }
  
  .btn-yellow:hover {
    background-color: #e0a800; /* Change button background color on hover */
  }
  
  .social-icons a {
    font-size: 1.5rem; /* Set social media icon size */
    transition: color 0.3s; /* Add smooth transition for icon color */
  }
  
  .social-icons a:hover {
    color: #e0a800; /* Change icon color on hover */
  }
  
  /* Bold text for Contact Us labels */
  .contact-us-label {
    font-weight: bold; /* Make text bold */
  }
  
  /* Yellow hover effect for Quick Links */
  .quick-links a {
    color: white; /* Set default text color to white */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Add smooth transition for text color */
  }
  
  .quick-links a:hover {
    color: var(--yellow); /* Change text color to yellow on hover */
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .footer .col-md-3 {
      margin-bottom: 2rem; /* Add margin between columns on smaller screens */
    }
  }
  
  /* Specific styles for the footer section */
  .footer-section {
    position: relative; /* Ensure the footer is positioned correctly */
    z-index: 10; /* Ensure the footer is above other elements */
    margin-top: auto; /* Push the footer to the bottom of the page */
  }