body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }

  header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  /* Default style for <br /> in the header */
  header br {
    display: block; /* Makes <br /> behave like a block element */
    margin: 10px 0; /* Adds vertical spacing */
  }
  
  .search-container {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .search-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
  }
  
  .search-button {
    background-color: hsl(116, 77%, 34%);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .search-button:hover {
    background-color: #52e44a;
  }

  nav {
    background-color: #f2f2f2;
    padding: 10px;
    text-align: center;
  }

  nav a {
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
  }

  nav a:hover {
    background-color: #333;
    color: #fff;
  }

  .login-button {
    margin-top: 10px;
  }


  main {
    padding: 20px;
  }


  .catheader {
    margin-bottom: 40px;
  }

  .catheader h2 {
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
  }


  .category {
    margin-bottom: 40px;
  }

  .category h2 {
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
  }

  .category i {
    font-size: 40px; /* Increase the font size to 64px */
    margin-bottom: 10px;
  }

  /* Business Card Container */
  .business {
    border: 1px solid #ccc;
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    overflow: hidden;
    width: calc(100% - 40px);
    max-width: 1200px;
  }

  /* Map Container - Desktop */
  .map-container {
    width: 200px;
    height: 150px;
    margin: 0 10px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
  }

  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }


  .business:hover {
    transform: translateY(-5px);
  }

  .business-info {
    width: 400px;
    margin-left: 20px;
  }

  .business-info h3 {
    margin-top: 0;
    font-size: 18px;
  }

  .business-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    font-size: 14px;
  }

  .business-info p i {
    margin-right: 5px;
    font-size: 16px;
  }

  .business-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 5px;
  }
  

  .verification-status {
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .verification-status i {
    margin-bottom: 5px;
  }

  .category-icon {
    width: 65px;
    height: 65px;
    /* background-color: #ccc; */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #fff;
    margin-right: 15px;    
    margin-left: 15px;
    padding-left: 5px;
  }


  .business-image {
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    margin-left: 50px;
    margin-right: 50px;  
  }

  .rating {
    display: flex;
    align-items: center;
    margin-left: 30px;
    margin-right: 30px;
    flex-shrink: 0;

  }

  .rating i {
    color: #ccc;
    font-size: 20px;
    margin-right: 5px;
  }

  .rating i.active {
    color: #ffa500;
  }


  .claim-button {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 20px;
  }

  footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
  }

  footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
  }


  #form-container {
    display: none;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}




@media (max-width: 768px) {
  .business {
    flex-direction: column;
    padding: 10px;
    margin: 10px;
    width: calc(100% - 20px);
  }

  .map-container {
    width: 100%;
    height: 180px; /* Optimized for phone screens */
    margin: 10px 0;
    order: 3; /* Controls display order */
  }


    .business-info {
      margin-left: 0;
      margin-top: 10px;
    }

    .business-image {
      order: 2;
      width: 100%;
      height: 150;
      max-height: 200px;
      margin: 10px 0;
      border-radius: 5px 5px 0 0;
    }

    .header-content {
      flex-direction: column;
      align-items: center;
    }

    header br {
      margin: 5px 0; /* Reduce spacing for mobile */
    }

    .search-container {
      width: 100%;
      margin-top: 10px;
    }

    #searchInput {
      width: 100%;
      max-width: 300px;
    }

    .login-button {
      margin-top: 10px;
    }

    #form-container {
      display: none;
      background-color: white;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  }