.list-section {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    flex-direction: column;
    max-width: 900px;
}
.review-card {
  width: 100%;
    margin: 20px 0px;
    display: flex;
    flex-direction: row;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px 0;
    border: 1px solid #ddd;
    position: relative;
}

.first-column {
    border-right: 1px solid #8d8d8d; /* Add divider to the first column */
}

.second-column {
    padding-left: 20px !important; /* Optional padding to balance the space */
}

.review-rank {
    background: #171f2e;
    color: white;
    font-size: 30px;
    padding: 8px 15px;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    border-bottom-right-radius: 20px;
}
.rated_wrap_abs {
    position: absolute;
    top: -20px;
    left: 60%;
    display: flex;
    align-items: center;
    background: #b6ae63;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Add the left-side triangle */
.rated_wrap_abs::before {
    content: "";
    position: absolute;
    left: -20px; /* Moves it to the left */
    top: 20%;
    transform: translateY(-60%) rotate(180deg);
    width: 20px;
    height: 20px;
    background: #8c8553; /* A slightly darker shade for depth effect */
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.rated_icon {
    width: 40px;
    height: auto;
    margin-right: 5px;
}
.review-column {
  box-sizing: border-box;
    margin-top: 30px;
    margin-bottom: 30px;
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.review-header {
    text-align: center;
}
.review-logo {
    max-width: 200px;
    display: block;
    margin: 0 auto 10px;
}
.review-rating {
    font-size: 34px;
    margin-top: 5px;
    color: #333;
}
.review-stars {
    color: #b6ae63;
    font-size: 30px;
    margin-bottom: 10px;
}
.review-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.review-features li {
    padding: 5px 0;
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
}
i {
    color: red;
    font-size: 20px;
    font-weight: bold;
    margin-right: 8px;
}
.review-action {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.review-popover {
    text-align: start;
    background: #fff;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 5px;
    box-shadow: 0 2px 5px #0003;
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
    position: relative;
}

.review-popover::after {
    content: "";
    position: absolute;
    bottom: -15px; /* Position under the popover */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 15px solid #fff; /* Matches popover background */
}
.review-button {
    background: #e63946;
    color: white;
    padding: 12px 45px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 20px;
    transition: background 0.3s ease;
}
.review-button:hover {
    background: darkred;
}


@media (max-width: 600px) {
    .review-card {
        flex-direction: column;
        max-width: 350px;
    }
  
      .top-bar{
max-width: 350px;
    }
    
    .top-bar span{
        margin-left: 20px;
        font-size: 14px;
    }

    .first-column {
        border-right: none; /* Add divider to the first column */
    }
    
    .second-column {
        padding-left: 20px !important; /* Optional padding to balance the space */
    }

    .filter-div{
        flex-direction: column
    }




    .rated_wrap_abs {
        font-size: 13px;
        position: absolute;
        top: -20px;
        left: 50%;
        display: flex;
        align-items: center;
        background: #b6ae63;
        padding: 10px 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    /* Add the left-side triangle */
    .rated_wrap_abs::before {
        content: "";
        position: absolute;
        left: -20px; /* Moves it to the left */
        top: 20%;
        transform: translateY(-60%) rotate(180deg);
        width: 20px;
        height: 20px;
        background: #8c8553; /* A slightly darker shade for depth effect */
        clip-path: polygon(0 0, 100% 0, 0 100%);
    }
    

    .rated_icon {
        width: 25px;
        margin-right: 5px;
    }

    .review-column {
        margin-top: 0px;
        margin-bottom: 0px;
        padding: 0px;
    }

    .review-action {
        margin-top: 20px;
    }


}

@media (max-width: 900px) {
    .review-card {
        flex-direction: column;
    }

    .first-column {
        border-right: none; /* Add divider to the first column */
    }
    
    .second-column {
        padding-left: 20px !important; /* Optional padding to balance the space */
    }

    .rated_wrap_abs {
        font-size: 13px;

    }

    .rated_icon {
        width: 25px;
        margin-right: 5px;
    }

    .review-column {
        margin-top: 0px;
        margin-bottom: 0px;
        padding: 0px;
    }

    .review-action {
        margin-top: 20px;
    }


}

.general-text{
    text-align: start;
}

.date-text{
    color: #457b9d;
}

.category{
    font-size: 14px;
    font-weight: lighter;
    color: rgb(65, 65, 65);
}

p{
    font-size: 16px;
    font-weight: 300;
}

.state{
    color: #457b9d;
}

.state:hover{
    color: #1d3557;
}

.map-div{
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    flex-direction: column;
    margin-bottom: 100px;
}

.last-card{
    margin-top: 0px;
}

.top-bar{
    display: flex;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    width: 100%;
    height: 30px;
    color: white;
    background-color: #171f2e;
    padding: 5px 0;
    align-items: center;
}

.top-bar span{
    margin-left: 20px;
}

.hidden{
    display: none;
}



/* Container for the filter */
.filter-div {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Header style */
  .filter-header {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-right: 20px; /* Added space between the header and select */
  }
  
  /* Container for the select element */
  .cus-container {
    flex-grow: 1; /* Allows the container to take up the remaining space */
  }
  
  /* Custom select styling */
  .cus-select {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    padding: 10px 15px;
    width: 100%;
    color: #555;
    transition: border-color 0.3s ease;
  }
  
  /* Hover and focus styles for the select */
  .cus-select:hover, .cus-select:focus {
    border-color: #ff7c8e;
    outline: none;
    box-shadow: 0 0 8px rgba(255, 124, 142, 0.4);
  }
  
  /* Option style */
  .cus-select option {
    font-size: 16px;
    color: #333;
  }
  
  /* Add subtle animation to show transitions */
  .filter-div {
    animation: fadeIn 0.5s ease-in-out;
  }
  
  /* Keyframe for fade-in effect */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }