@charset "UTF-8";

* {
  box-sizing: border-box;
}

#glipy {
  cursor: pointer;
}
.header {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
@keyframes slideIn {
  from {
      transform: translateY(50px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}
.header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #333;
  margin: 0;
  padding: 10px;
  animation: slideIn 1s ease-out;

}
.header h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #16a085;
  margin: 10px auto 0;
  border-radius: 2px;
}
.hidden {
  visibility: hidden;
}
.icon {
  width: 7rem;
  height: 7rem;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon img {
  width: 7rem;
  height: 7rem;
}
.icon:hover {
  transform: scale(1.1);
}
.main-sidebar {
  margin: 0;
  position: fixed;
  /*top: 0;*/
  left: 0;
  width: 4.5%;
  height: 100%;
  background-color: #19222a;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 3px;
  padding-right: 3px;
}
.main-sidebar::-webkit-scrollbar {
  width: 10px;
}
.main-sidebar::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 10px;
}
.main-sidebar::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}
.main-sidebar .icon {
  margin-bottom: 10px;
  width: 6rem;
  height: 6rem;
  max-width: 10rem;
  max-height: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-sidebar .icon img {
  width: 130%;
  height: auto;
  max-width: 8rem;
  max-height: 8rem;
}
.main-sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.main-icons-hidden {
  display: none;
}
.main-sidebar li {
  list-style-type: none;
  margin-bottom: 0.625rem;
  padding: 0.75rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  color: white;
  text-align: center;
}
.main-sidebar li:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateX(0.3125rem);
}
.main-icons {
  background: linear-gradient(80deg, #527fbc, rgba(0, 210, 255, 0.98));
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(140px, auto); /* Ensures consistent row heights */
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
  border-radius: 1rem;
  place-items: center;
  margin-top: 1.25rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.category-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 140px;
}
.category-button {
  width: 100px;
  height: 100px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.custom-tooltip {
  position: absolute;
  background-color: #ffffff;
  color: #000000;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.icon-container {
  opacity: 0;
  animation: fadeInUp 1.3s ease-out forwards;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.icon-container svg {
  width: 70%;
  height: 70%;
}
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateX(20px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}
.category-button:hover .icon-container {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  color: #0f0f0f;
}
.category-name {
  font-size: 11px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
  text-align: center;
  margin-top: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  max-width: 120px;
  word-wrap: break-word;
}

@media only screen and (max-width: 900px) {
  .main-icons {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    padding: 1rem;
  }
}

@media only screen and (max-width: 600px) {
  .main-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .category-name {
    font-size: 10px;
  }
}
.sidebar {
  position: fixed;
  top: 70px;
  width: 220px;
  height: calc(100vh - 70px);
  background-color: #ffffff;
  border-right: 1px solid #eaeaea;
  padding: 1.5rem 0.8rem;
  overflow-y: auto;
  transition: all 0.3s ease;
  z-index: 90;
  margin-left: 1.9rem;
}
.sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.sidebar-list li {
  border-radius: 12px;
  font-weight: 500;
  color: #444;
  border: 1px solid #f0f0f0;
}
.sidebar-list li.selected-option {
  background-color: #e0f7fa;
  color: #00bcd4;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0, 188, 212, 0.1);
  border-left: 3px solid #33dbff;
}
.main-sidebar li.selected-option,  .main-icons button.selected-option {
    background: linear-gradient(80deg, #527fbc, rgba(0, 210, 255, 0.98));
    color: #130a0a;
}
.main-sidebar .category.selected-option {
 background: linear-gradient(80deg, #527fbc, rgba(0, 210, 255, 0.98));
  color: #ffffff;
  font-weight: bold;
}
ul.sidebar-list li {
  padding: 10px;
  margin: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
#cards-container {
  flex-direction: column;
  margin-left: 320px;
  align-items: center;
  gap: 20px;
  justify-content: center;
  border-radius: 20px;
  animation: fadeInContainer 0.8s ease-out;
  scroll-behavior: smooth;
}
.card_title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: center;
  color: #00bcd4;
}
.card:hover .card_title {
  background: linear-gradient(80deg, #2aa5fd, #33dbff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.section-header {
  margin-left: 536px;
  width:77%;
  padding: 15px;
  background-color: #f0f8fa;
  color: #0c6b87;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin-bottom: 0;
}

.card_header {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 15px;
}

.business-info {
  flex-grow: 1;
}

.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.rating-label {
  color: #27b7bf;
  font-weight: 600;
  margin-right: 5px;
}

.rating-stars {
  color: #27b7bf;
  margin-right: 5px;
}

.review-count {
  color: #777;
}


.icon-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  color: #555;
  font-size: 14px;
}


.cards-wrapper .like-button i {
  color: white;
}


.free-estimate {
  color: #27b7bf;
  font-weight: 600;
  font-size: 18px;
  display: block;
}

/* Card text (description) */
.card_text {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin: 15px 0;
}
.image-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow {
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background-color: #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-arrow i {
    color: #333;
    transition: transform 0.3s ease;
}

.carousel-arrow:hover i {
    transform: scale(1.2);
}

.business-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-left: 15px;
  margin-right: 15px;
}

.business-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.image-carousel {
  margin-top: 15px;
  position: relative;
}

.business-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.add-filters-button {
  position: fixed;
  bottom: 80px;
  left: 50%;
  background-color: #10a8e5;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.add-filters-button i {
  margin-right: 10px;
}

ul.cards {
position: relative;
padding: 0;
margin: 0;
list-style: none;
}

.card_content {
flex-grow: 1;
overflow-y: auto;
padding-right: 10px;
height: calc(100% - 40px);
scrollbar-width: thin;
scrollbar-color: #888 #f1f1f1;
}
.card_content:hover::-webkit-scrollbar-thumb {
background-color: #555;
}

.card_content:hover::-webkit-scrollbar {
width: 12px;
}

.card_text {
color: #444;
font-family: 'Poppins', sans-serif;
font-size: 1em;
line-height: 1.6;
margin-bottom: 15px;
text-align: center;
padding: 0 10px;
position: relative;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.card_text:hover {
text-shadow: 2px 2px 5px rgba(21, 21, 21, 0.2);
}
.card .card_button {
display: block;
width: 100px;
margin: 0 auto;
padding: 10px;
text-align: center;
background-color: #2ecc71;
color: white;
border-radius: 25px;
text-decoration: none;
font-weight: bold;
transition: background-color 0.3s ease, transform 0.3s ease;
}

.card .card_button:hover {
background-color: #27ae60;
}
.card_text a {
color: #3498db;
text-decoration: none;
transition: color 0.3s ease;
}
.card_text a:hover {
color: #1abc9c;
text-decoration: underline;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
@keyframes fadeInContainer {
from {
  opacity: 0;
  transform: translateY(50px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

@keyframes fadeInCard {
from {
  opacity: 0;
  transform: translateY(30px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

.card_content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.card_content::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 10px;
}

.card_content::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
.icon-row {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 20px;
}
.website-icon-container, .phone-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 1.2em;
}
.website-icon-container {
  color: #555;
  margin-top: 10px;
}

.website-icon-container i, .phone-icon-container i {
  font-size: 1.3em;
  transition: color 0.3s ease;
  color: #ffffff;
}

.website-icon-container:hover i,.phone-icon-container:hover i{
  color: #1abc9c;
}
.icon-row .like-icon-container i,
.icon-row .phone-icon-container i {
    font-size: 24px;
}
.phone-icon-container i
{
  margin-bottom: 6px;
}

.website-link, .phone-number {
  position: absolute;
  bottom: -25px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  border-radius: 3px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 0.9em;
}

.website-icon-container:hover .website-link {
  opacity: 1;
  visibility: visible;
  font-size: 0.9em;
}

.website-link a {
  text-decoration: none;
  color: #3498db;
}

.website-link a:hover {
  text-decoration: underline;
  color: #1abc9c;
}

.phone-icon-container {

  color: #555;
  margin-top: 10px;
}

.phone-icon-container:hover .phone-number {
  opacity: 1;
  visibility: visible;
}

.phone-number.selected {
  position: relative;
  opacity: 1;
  visibility: visible;
  margin-top: -90px;
  color: #2ecc71;
}
#map {
  width: 50%;
  height: 100px;
  position: relative;
  z-index: 1000;
}
.likes-count:hover, .followers-count:hover {
  background-color: #3498db;
  color: #fff;
  transform: translateY(-2px);
}


.like-follow-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 15px;
  background: linear-gradient(135deg, #f9f9f9, #f1f1f1);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.like-section, .follow-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (max-width: 2560px) and (min-width: 1922px){

    .category-wrapper {
        align-content: center;
        align-items: center;
        height: 180px;
      place-items: center;
    }
  .main-sidebar .icon {
    width: 100%;
    height: auto;
    max-width: 20rem;
    max-height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .main-sidebar .icon img {
    width: 100%;
    height: auto;
    max-width: 20rem;
    max-height: 20rem;
  }
 .icon-container {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
    border-radius: 10px;
}

.category-button {
    width: 120px;
    height: 150px;
    margin: 10px;
}
.category-name {
  width: 150px;
  height: auto;
  min-height: 40px;
  overflow: visible;
  white-space: normal;
  word-wrap: break-word;
  display: block;
  text-align: center;
  padding: 8px;
  box-sizing: border-box;
}
.icon-container svg {
  width: 64px;
  height: 64px;
}
  .sidebar
  {
    left:2%;
  }

  .sidebar ul {
    padding-left: 0;
    padding-right: 0;
  }

  .sidebar li {
    margin-left: 0;
    margin-right: 0;

  }
  #cards-container {
    margin-left: -50px;
    width: 66%;
  }
  }
@media only screen and (min-width: 1000px) and (max-width: 6000px){
  .sidebar-mobile-toggle{
    display: none;
  }

}
@media only screen and (min-width: 1201px) and (max-width: 1920px) {
  .main-icons-hidden {
    display: none;
  }
  .main-icons {
    border-radius: 1rem;
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    justify-content: center;
    place-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;

  }
  .category-button {
        width: 130px;
        height: 100px;
  }
  .icon-container svg {
    width: 70%;
    height: 70%;
  }
  .category-button:hover {
    border-radius: 15%;
    transform: scale(1.05);
}
  .main-sidebar {
    width: 10%;
}
  .main-sidebar .icon-container {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}
  .main-sidebar .icon img {
    width: 100%;
    height: auto;
    max-width: 10rem;
    max-height: 10rem;
  }
  .sidebar ul {
    padding-left: 0;
    padding-right: 0;
  }
  .sidebar {
    font-weight: 100;
    font-size: 1rem;
    left:2.8%;
  }
  @keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-sidebar li,
.sidebar li{
    animation: fadeInUp 0.5s ease-out;
}

}

@media only screen and (max-width: 1468px) {
  .main-sidebar {
    width: 6%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .main-sidebar .icon {
    width: 100%;
    height: auto;
    max-width: 20rem;
    max-height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .main-sidebar .icon img {
    width: 100%;
    height: auto;
    max-width: 20rem;
    max-height: 20rem;
  }
  .sidebar
  {
    width:16%;
    left:3.8%;
  }

  .sidebar ul {
    padding-left: 0;
    padding-right: 0;
  }

}
@media only screen and (max-width: 1440px) {
  .main-sidebar {
    width: 10%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .main-sidebar .icon {
    width: 100%;
    height: auto;
    max-width: 20rem;
    max-height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .main-sidebar .icon img {
    width: 100%;
    height: auto;
    max-width: 20rem;
    max-height: 20rem;
  }

  .sidebar ul {
    padding-left: 0;
    padding-right: 0;
  }

  .sidebar li {
    margin-left: 0;
    margin-right: 0;

  }
  .cards-container {
    width: 75%;

  }
  #cards-container {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.card-inner {
  border-bottom: 1px solid #ffffff;
}

.cards_item {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 15px;
}


.business-info {
  flex-grow: 1;
}

.card_title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #00bcd4;
}

.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.rating-label {
  font-weight: 600;
  margin-right: 5px;
}

.rating-stars {
  margin-right: 5px;
}

.review-count {
  color: #777;
}

.icon-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  color: #555;
  font-size: 14px;
}


.cards-wrapper .like-button i {
  color: white;
}


.free-estimate {
  color: #27b7bf;
  font-weight: 600;
  font-size: 18px;
  display: block;
}

.card_text {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin: 15px 0;
}

.image-carousel {
  margin-top: 15px;
  position: relative;
}

.business-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px;
    padding: 20px;
    transition: transform 0.3s ease;
    min-height: 250px;
  margin-left:150px;
  width: 650px;
}

}

.card_text {
    color: #555555;
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 8px;
}

.card_text a {
    color: #007BFF;
    text-decoration: none;
}

.card_text a:hover {
    text-decoration: underline;
}



.rating-row {
    display: flex;
    align-items: center;
    margin: 8px 0;
    flex-wrap: wrap;
}

.rating-label {
    font-weight: 600;
    margin-right: 10px;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
  margin-top: 3px;
}

.rating-stars {
    color: #FFD700;
    letter-spacing: 3px;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.4);
    font-size: 18px;
}

.rating-stars .empty-star {
    color: rgba(255, 255, 255, 0.4);
    text-shadow: none;
}

.rating-stars .full-star {
    color: #FFD700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.rating-stars .half-star {
    position: relative;
    display: inline-block;
}

.rating-stars .half-star:before {
    content: '★';
    position: absolute;
    color: #FFD700;
    width: 50%;
    overflow: hidden;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.4);
}

.rating-stars .half-star:after {
    content: '☆';
    color: rgba(255, 255, 255, 0.4);
}

.review-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    margin-left: 8px;
    font-weight: 400;
}
.rating-none {
    color: #ffffff;
    background-color: rgba(158, 158, 158, 0.5);
    font-style: italic;
}
.card_header {
    position: relative;
    display: flex;
}

.card-action-buttons {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    gap: 10px;
}

.card-inner {
    padding-right: 60px;
    position: relative;
}

.card {
    position: relative;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.action-button i {
    font-size: 18px;
    margin-bottom: 2px;
}

.action-button span {
    font-size: 10px;
    display: none;
}

.action-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.action-button:hover span {
    display: block;
}

.like-button i.fas {
    color: #ff4757;
}

.save-button i.fas {
    color: #2ed573;
}

.main-container {
  display: flex;
  margin-top: 70px;
  min-height: calc(100vh - 70px);
}

.main-sidebar {
  position: fixed;
  left: 0;
  top: 70px;
  width: 90px;
  height: calc(100vh - 70px);
  background-color: #f8f9fa;
  box-shadow: 1px 0 10px rgba(0, 0, 0, 0.05);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  overflow-y: auto;
  transition: all 0.3s ease;
  z-index: 100;
  border-right: 1px solid #eaeaea;
}

.main-sidebar::-webkit-scrollbar {
  width: 6px;
}

.main-sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.main-sidebar::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.icon-container {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  background-color: #26a69a;
}

.icon-container svg {
  width: 28px;
  height: 28px;
  color: white;
  transition: all 0.3s ease;
}

.category-name {
  /*color: black;*/
  width: 150px; /* Set a fixed width - adjust this value as needed */
  height: auto; /* Allow height to grow as needed */
  min-height: 40px; /* Optional: set a minimum height */
  overflow: visible; /* Ensure text doesn't get cut off */
  white-space: normal; /* Allow text to wrap to multiple lines */
  word-wrap: break-word; /* Break long words if necessary */
  display: block; /* Make it a block element for proper wrapping */
  text-align: center; /* Optional: center the text */
  padding: 8px; /* Add some padding for better appearance */
  box-sizing: border-box; /* Include padding in the width calculation */
}
.category-button:hover .icon-container {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.category-button:hover .icon-container svg {
  transform: scale(1.1);
}

.category-button:hover .category-name {
  color: #26a69a;
}

.category-button.selected-option .icon-container {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  background-color: #00bcd4;
}

.category-button.selected-option .category-name {
  color: #00bcd4;
  font-weight: 600;
}

@media (max-width: 991px){
  .main-sidebar{
    margin-top: 35px;
  }
  .sidebar{
    margin-top: 35px;
    width: 20%;
    left: 5.5%;
  }
}
@media (max-width:768px)
{
  .sidebar {
   position: absolute;
    top: 70px;        
    width: 80%;
    left: 5%;
    right: 5%;
    height: calc(100vh - 70px);
  }
  .sidebar li {
    font-size: 14px;
  }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70vh;
  text-align: center;
  opacity: 0.7;
}

.empty-state-icon {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.empty-state-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 0.5rem;
}

.empty-state-subtext {
  font-size: 0.9rem;
  color: #888;
}

.card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
  overflow: hidden;
  transition: all 0.4s ease;
  width: 100%;
  position: relative;
  border: 1px solid #eaeaea;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #d8d8d8;
}

.card-inner {
  padding: 1.4rem;
  border-radius: 16px;
}

.card_header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.business-profile {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1.2rem;
  border: 3px solid #e0f7fa;
}

.business-info {
  flex-grow: 1;
}

.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.rating-label {
  color: #00bcd4;
  font-weight: 600;
  margin-right: 0.6rem;
  font-size: 0.9rem;
}

.rating-stars {
  color: #FFC107;
  margin-right: 0.6rem;
  letter-spacing: 1px;
}

.review-count {
  color: #757575;
  font-size: 0.85rem;
}

.card_text {
  color: #616161;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 1rem 0;
}

.image-carousel {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 8px;
  margin: 1rem 0;
}

.business-image {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-arrow:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.1);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 1rem;
}

.website-icon-container,
.phone-icon-container,
.like-icon-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.website-icon-container:hover,
.phone-icon-container:hover,
.like-icon-container:hover {
  background-color: #f0f7ff;
  transform: translateY(-2px);
}

.website-icon-container i,
.phone-icon-container i,
.like-icon-container i {
  font-size: 1.2rem;
  color: #0072ff;
  transition: all 0.3s ease;
}

.website-link,
.phone-number {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 0.8rem;
  white-space: nowrap;
  color: #333;
  z-index: 20;
}

.website-icon-container:hover .website-link,
.phone-icon-container:hover .phone-number {
  opacity: 1;
  visibility: visible;
}

.free-service {
  display: inline-flex;
  align-items: center;
  background-color: #e0f7fa;
  color: #00bcd4;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.free-service::before {
  content: "✓";
  margin-right: 6px;
  font-weight: bold;
  color: #00bcd4;
}

@media (min-width: 769px) and (max-width: 1400px) {
  .cards-container {
    width: 70%;
  }
}

@media (max-width: 1100px) {

  .sidebar.active {
    display: block;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }

  .sidebar.active {
    left: 90px;
  }

}

@media (max-width:768px)
{
  .sidebar
  {
    left:0;
    margin: 0;
    width: 100%;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.card, .sidebar, .main-sidebar {
  animation: fadeIn 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: slideUp 0.5s ease-out;
}

.hidden {
  display: none;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card {
  background-color: white;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  margin-bottom: 30px;
  overflow: hidden;
  transition: all 0.4s ease;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  border: none;
}

/* Card hover effect */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
  height: 120px;
  position: relative;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.card-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(15px);
}


.card:hover .business-profile {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-content {
  padding: 70px 40px 40px;
}

.rating-container {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  margin-left: 140px;
}

.rating-badge {
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #757575;
  margin-right: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Specific rating badge classes */
.rating-badge.no-rating, .rating-badge.No.ratings {
  background-color: #f5f5f5;
  color: #757575;
}

.rating-badge.excellent {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.rating-badge.good {
  background-color: #e0f7fa;
  color: #00838f;
}

.rating-badge.average {
  background-color: #fff8e1;
  color: #f57f17;
}

.rating-badge.below-average {
  background-color: #ffebee;
  color: #c62828;
}

.rating-stars {
  color: #FFC107;
  letter-spacing: 3px;
  font-size: 1.1rem;
}

.review-count {
  color: #9e9e9e;
  font-size: 0.85rem;
  margin-left: 10px;
}

/* Info grid layout */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

/* Info sections */
.info-section {
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.info-section:hover {
  background-color: #f2f2f2;
  transform: translateY(-3px);
}

.info-icon {
  width: 45px;
  height: 45px;
  background-color: #e0f2f1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.info-icon i {
  color: #00BFA5;
  font-size: 1.3rem;
}

.info-text {
  font-size: 1rem;
  color: #424242;
  word-break: break-word;
}

.info-label {
  font-size: 0.8rem;
  color: #9e9e9e;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Free service tag - replacing the free-estimate class */
.service-tag, .free-estimate {
  background-color: #e0f7fa;
  color: #00838f;
  border-radius: 16px;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  width: fit-content;
}

.service-tag:hover, .free-estimate:hover {
  background-color: #b2ebf2;
  transform: translateY(-3px);
}

.service-tag i, .free-estimate::before {
  margin-right: 10px;
  font-size: 1.3rem;
  color: #00acc1;
}

.free-estimate::before {
  content: "\f058"; /* Font Awesome check circle icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* Redesigned Card - Sleek Style with Side Buttons and Hover Description */

/* Main Card Styles */
.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards_item {
  display: flex;
  padding: 1rem;
  width: 100%;
}

.card {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  color: white;
}

@media (max-width: 768px) {
  .card {
    display: grid;
  }
  }

.card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

/* Business Profile Image */
.business-profile {
  width: 180px;
  height: 230px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
@media (max-width:768px)
{
  .business-profile {
    display: none !important;
  }
}
/* Card Content */
.card-content {
  padding: 1.5rem;
  flex: 1;

}

.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.rating-badge {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.75rem;
}

.rating-badge.excellent {
  background-color: #4CAF50;
  color: white;
}

.rating-badge.good {
  background-color: #8BC34A;
  color: white;
}

.rating-badge.average {
  background-color: #FFC107;
  color: #333;
}

.rating-badge.poor {
  background-color: #FF5722;
  color: white;
}

.rating-stars {
  color: #FFC107;
  margin-right: 0.5rem;
}

.review-count {
  color: #666;
  font-size: 0.85rem;
}

.contact-info {
  margin-top: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #555;
}

.contact-item i {
  width: 1.25rem;
  margin-right: 0.75rem;
  background: linear-gradient(80deg, #2aa5fd, #33dbff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.contact-item:hover {
  color: #333;
}

.contact-item[onclick] {
  cursor: pointer;
}
.contact-item[onclick]:hover {
  background: linear-gradient(80deg, #2aa5fd, #33dbff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}


.side-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(80deg, #2aa5fd, #33dbff);  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 100;
}

.side-action-button {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0.75rem 0;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

@media (max-width:768px) {
  .side-actions {
    padding: 10px;
    display: none;
    flex-direction: row;

  }
}

.side-action-button[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background-color: #4a6fdc;
  color: #faf6f6 !important;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  white-space: nowrap;
}
.side-action-button .fas.fa-heart {
  color: #e91e63;
}

.side-action-button .fas.fa-bookmark {
  color: #ff9800;
}
.card-content {
  position: relative;
  padding: 1.5rem;
  flex: 1;
}

.description-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(80deg, #2aa5fd, #33dbff);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1.5rem;
  z-index: 1;
}

.card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}
@media (max-width: 768px) {
    .main-sidebar, .sidebar {
        transform: translateX(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .main-sidebar.mobile-active {
      color: black;
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: 70vh !important;
        background-color: #ffffff !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 1.5rem !important;
        z-index: 9998 !important;
        overflow-y: auto !important;
    }

    .sidebar-mobile-toggle {
        display: block !important;
        position: fixed !important;
        top: 70px !important;
        left: 10px !important;
        z-index: 9999 !important;
        background: #19222a !important;
        border: 2px solid black!important;
        border-radius: 50% !important;
        width: 56px !important;
        height: 56px !important;
        color: white !important;
    }

    .cards-container, #cards-container {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 1rem !important;
    }

    .main-sidebar .category {
        margin-bottom: 0 !important;
        max-width: 110px !important;
        flex-shrink: 0 !important;
    }

    .main-sidebar .category-name {
        display: block !important;
        opacity: 1 !important;
        font-size: 0.75rem !important;
        color: black !important;
    }
}
.icon-container svg {
    width: 80% !important;
    height: 80% !important;
    max-width: none;
    max-height: none;
}
.empty-state-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem;
    width: 100%;
}

.empty-state-content {
    text-align: center;
    max-width: 550px;
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.empty-state-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(80deg, #2aa5fd, #33dbff);
}

.empty-state-icon {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.empty-state-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.empty-state-description {
    color: #718096;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-actions {
    margin-bottom: 2.5rem;
}

.register-business-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(80deg, #2aa5fd, #33dbff);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.register-business-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.register-business-btn:hover::before {
    left: 100%;
}

.register-business-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    text-decoration: none;
    color: white;
}

.register-business-btn:active {
    transform: translateY(-1px);
}

.register-business-btn i {
    font-size: 1.2rem;
}

.empty-state-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #4a5568;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.2s ease;
    border-left: 3px solid #33dbff;

}

.benefit-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.benefit-item i {
    color: #4b85a2;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefit-item span {
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
}
.benefit-item i,
.benefit-item span {
  background: linear-gradient(80deg, #2aa5fd, #33dbff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}


.loading-state {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    color: #718096;
    padding: 3rem;
}

.loading-spinner {
    margin-bottom: 1.5rem;
}

.loading-state p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.error-state {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    text-align: center;
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
}

.error-icon {
    margin-bottom: 1.5rem;
}

.error-state h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.error-state p {
    color: #718096;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e53e3e;
    color: white;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.retry-btn:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 62, 62, 0.4);
}

@media (max-width: 768px) {
    .empty-state-container {
        padding: 1rem;
        min-height: 50vh;
    }

    .empty-state-content {
        padding: 2rem 1.5rem;
        margin: 0;
        border-radius: 16px;
    }

    .empty-state-title {
        font-size: 1.5rem;
    }

    .empty-state-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .register-business-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        gap: 0.5rem;
    }

    .benefit-item {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
        gap: 0.75rem;
    }

    .benefit-item i {
        width: 18px;
        height: 18px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .empty-state-content {
        padding: 1.5rem 1rem;
    }

    .empty-state-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .register-business-btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.75rem;
        width: 100%;
        max-width: 280px;
    }

    .empty-state-benefits {
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
}

.empty-state-content {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .empty-state-container {
        margin-left: 0 !important;
    }
    .cards_item
    {
       padding: 0;
      margin-right: 0%;
      margin-left:0%;
    }
}
@media only screen and (max-width: 768px) {
  .main-icons,
  #main-icons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-gap: unset !important;
    gap: 1rem !important;
    padding: 0 !important;
    padding-left: 1rem !important;
    justify-content: flex-start !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .main-icons::-webkit-scrollbar,
  #main-icons::-webkit-scrollbar {
    display: none;
  }

  .main-icons .category-wrapper,
  #main-icons .category-wrapper {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    min-width: 120px !important;
    width: auto !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    white-space: normal;
  }

  .main-icons .category-button,
  #main-icons .category-button {
    width: 100px;
    height: 130px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .main-icons .category-name,
  #main-icons .category-name {
    text-align: center !important;
    max-width: 130px;
    line-height: 1.2;
  }
}
.subcategory-chips-container {
    position: relative;
    margin-bottom: 2rem;
    display: none;
    max-width: 100%;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}
.chips-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}
.chips-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0;
}
.subcategory-chips {
    display: flex;
    overflow: visible;
    gap: 0.75rem;
    padding: 0.25rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: transform 0.3s ease;
    white-space: nowrap;
}
.subcategory-chips::-webkit-scrollbar {
    display: none;
}
.subcategory-chip {
    flex-shrink: 0;
    padding: 0.75rem 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.85rem;
    color: #495057;
    min-width: fit-content;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.subcategory-chip:hover:not(.active) {
  border-color: #007bff;
  color: transparent;
  background-image: linear-gradient(80deg, #2aa5fd, #33dbff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.15);
}
.subcategory-chip.active {
    background: linear-gradient(80deg, #527fbc, rgba(0, 210, 255, 0.98));
    color: white;
    transform: translateY(-1px);
}
.chips-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e9ecef;
    background: white;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex-shrink: 0;
    z-index: 10;
}
.chips-arrow:hover {
    border-color: #007bff;
    background: #f8f9ff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}
.chips-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
.chips-arrow i {
    color: #6c757d;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    display: block !important;
}
.chips-arrow:hover i {
    color: #007bff;
}
.fade-gradient {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
}
.fade-left {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}
.fade-right {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}
.fade-gradient.hidden {
    opacity: 0;
}
@media (max-width: 768px) {
    .subcategory-chips-container {
        padding: 0.75rem 1rem;
    }
    .chips-wrapper {
        gap: 0.5rem;
    }
    .chips-arrow {
        width: 32px;
        height: 32px;
    }
    .chips-arrow i {
        font-size: 0.7rem;
    }
    .subcategory-chip {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}
@media (max-width: 480px) {
    .chips-arrow {
        width: 30px;
        height: 30px;
    }
    .fade-gradient {
        width: 15px;
    }
    .subcategory-chips-container {
        padding: 0.5rem 0.75rem;
    }
    .chips-wrapper {
        gap: 0.25rem;
    }
}
.sidebar-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-right: 8px;
  padding: 0;
}
.sidebar-back-btn:hover {
  background: #f0f6ff;
  box-shadow: 0 4px 16px rgba(74,111,220,0.10);
}
.sidebar-back-btn svg {
  display: block;
  width: 22px;
  height: 22px;
}
.sidebar-back-btn svg path {
  stroke: #4a6fdc;
}
/* Only show icon on screens <= 500px */
@media (max-width: 500px) {
  .trending-badge .trending-text {
    display: none;
  }
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 1000;
  border: 1px solid #e0e0e0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  padding: 0;
}

.dropdown-item a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-radius: 4px;
  margin: 0 8px;
}

.dropdown-item a:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

.dropdown-item a i:first-child {
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

.dropdown-item a i:last-child {
  margin-left: auto;
  color: #6c757d;
  font-size: 12px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .dropdown-menu {
    right: auto;
    left: 0;
    min-width: 180px;
  }
}

