* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ff7043; /* Orange background color */
    padding: 15px;
    height: 70px;
    overflow: visible; /* Allow overflow for larger logo */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Add subtle shadow for better visibility */
    
}

nav .logo {
    font-size: 24px;
    font-weight: 600;
    color: white;
    line-height: 1; /* Center text if any text is there */
    display: flex;
    align-items: center;
}

.logo img {
    width: 70px; /* Reduced logo width */
    height: 70px; /* Reduced logo height */
    margin-right: 10px; /* Add space between logo and text if applicable */
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 20px; /* Increased spacing for better readability */
    margin: 0;
    padding: 0;
}

nav .nav-links a {
    color: black; /* Default color for links */
    text-decoration: none;
    padding: 8px 12px; /* Better padding for clickable area */
    font-size: 16px; /* Adjusted font size */
    font-weight: 500;
    border-radius: 4px; /* Rounded corners for hover effect */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

nav .nav-links a:hover {
    color: white; /* Keep text white on hover */
}

nav .nav-links .active {
    color: white; /* White text for active link */
}
  .hero-section {
    background-image: url('img/logbg.jpg');
    background-size: cover;
    padding: 80px 0;
    text-align: center;
    color: white;
    height: 300px;
  }
  
  .hero-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .search-bar {
    display: inline-block;
    margin-top: 20px;
  }
  
  .search-bar input {
    padding: 10px;
    font-size: 16px;
    width: 300px;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
  }
  
  .search-bar button {
    padding: 10px 20px;
    background-color: #ff7043;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  .about-website {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    background-color: #f8f9fa;
    color: #333;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
  }
  
  .about-content {
    display: flex;
    justify-content: flex-start; /* Aligns text to the left */
    align-items: center;
    width: 100%; /* Ensures the content spans the container */
  }
  
  .about-text {
    flex: 1; /* Takes up available space */
    text-align: left; /* Aligns text to the left */
    margin: 30px;
  }
  
  .about-text h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #010704;
  }
  
  .about-text p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #0b4c5c;
  }
  
  .about-image {
    max-width: 400px; /* Set a fixed maximum width for the image */
    margin-right: 100px;
  }
  
  .about-image img {
    width: 100%; /* Ensures the image adjusts to its container */
    height: 100%;
    
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  }
    
  /* Map Section */
  .map-container {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-left: 650px;
    margin-top: -20px;
  }
  .map-container h2{
    font-size: 1.8em;
    color: #070302;
  }
  main-content {
    display: flex;
    justify-content: space-between;
    padding: 30px;
  }
  
  #map {
    background-color: lightgray;
    height: 400px;
    width: 600px;
  }
  /* Top Vendors Section */
  .top-vendors {
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 100px; /* Adds space below the map */
  }
  
  .top-vendors h2 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
    margin-left: -1050px;
    margin-top: -620px;
    color: #130704;
  }
  
  .vendor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .vendor-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
  }
  
  .vendor-card img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
  }
  
  .vendor-info {
    font-size: 14px;
  }
  
  .vendor-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  
  .vendor-info p {
    margin-bottom: 5px;
  }
  
  /* .main-content {
    display: flex;
    justify-content: space-between;
    padding: 40px;
  }
  
  .map-container, .top-vendors {
    width: 48%;
  }
  
  #map {
    background-color: lightgray;
    height: 300px;
  }
  
  .vendor-list {
    display: flex;
    flex-wrap: wrap;
  }
  
  .vendor-card {
    background-color: white;
    border-radius: 8px;
    margin: 10px;
    width: 100%;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .vendor-card img {
    width: 100px;
    height: 100px;
    margin-right: 15px;
  }
  
  .vendor-info {
    font-size: 14px;
  }
  
  .vendor-info h3 {
    margin-bottom: 5px;
    font-size: 18px;
  }
  
  .vendor-info p {
    margin-bottom: 5px;
  } */
  footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: black;
    background: #ff7043;
    padding: 20px 60px;
    height: 80px;
}
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap; /* allows logo and nav-links to wrap nicely */
    justify-content: center;
    height: auto;
    padding: 10px 20px;
  }

  nav .logo {
    margin-bottom: 10px;
  }

  nav .nav-links {
    display: flex;
    flex-direction: row;     /* important: keeps it horizontal */
    flex-wrap: wrap;         /* allows wrapping when needed */
    justify-content: center; /* centers nav links */
    gap: 10px;
  }
  
  .hero-section h1 {
    font-size: 24px;
  }

  .search-bar input {
    width: 100%;
    margin-bottom: 10px;
  }

  .search-bar button {
    width: 100%;
  }

  .about-website {
    padding: 20px;
    flex-direction: column;
  }

  .about-content {
    flex-direction: column;
  }

  .map-container {
    width: 100%;
    margin: 20px auto;
  }

  #map {
    width: 100%;
    height: 300px;
  }

  .top-vendors {
    padding: 20px;
    margin-top: 50px;
  }

  .top-vendors h2 {
    margin-left: 0;
    margin-top: 0;
  }

  .vendor-card {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }

  .vendor-card img {
    margin-bottom: 10px;
    margin-right: 0;
  }

  footer {
    flex-direction: column;
    height: auto;
    padding: 20px;
    text-align: center;
    gap: 10px;
  }
}
