:root {
    --primary: #E88F2A;
    --secondary: #FAF3EB;
    --light: #FFFFFF;
    --dark: #2B2825;
    --orange-theme: #FFA500;
    --bs-primary: var(--primary);
    --bs-primary-rgb: 232, 143, 42;
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background-color: var(--orange-theme);
  color: white;
  padding: 0.75rem 1rem;
  font-size: 1.2rem;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.scroll-top.show {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background-color: #e68000;
  color: white;
}
.card {
  width: 100% !important;
  max-width: 100%;
}



html, body {
    padding-left: 0;
  padding-right: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Lato', sans-serif !important; /* Changed to Lato for body text */
    margin: 0 !important; /* Remove any default margins */
    box-sizing: border-box;
    overflow-y: auto; /* Allow vertical scrolling */
    width: 100%;
}
.card {
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.form-control {
    border: none;
    border-bottom: 2px solid #dee2e6;
    border-radius: 0;
    padding-left: 5px;
}
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2rem;
}
.form-control:focus {
    border-color: var(--orange-theme);
    box-shadow: none;
}
.btn-orange {
    background-color: var(--orange-theme);
    color: black;
    transition: all 0.3s ease;
}
.btn-orange:hover {
    background-color: #FF8C00;
    transform: translateY(-2px);
}
.form-spacing {
    margin-bottom: 1.5rem;
}

.navbar-custom-height {
    min-height: 70px;/* Adjust as needed */
}

.navbar-nav .nav-link:hover {
    color: #E88F2A; /* Primary color for hover effect */
}

.navbar-dark .navbar-nav .nav-link {
  font-family: 'Oswald', sans-serif; 
  padding: 30px 15px; 
  font-size: 18px; 
  font-weight: 400; 
  text-transform: uppercase; 
  color: var(--light); 
  outline: none; 
  transition: .5s; 
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
  padding: 20px 15px; 
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary); 
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    padding: 10px 0;
    color: black !important; /* Ensure main nav links are black in mobile */
  }

  .navbar-dark .navbar-nav .nav-link:hover,
  .navbar-dark .navbar-nav .nav-link:focus {
    color: var(--primary) !important; /* Restore orange hover effect in mobile */
  }
  
  {
  .mobile-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1100;
  }

  #closeMobileNav {
    font-size: 2rem;
    text-decoration: none;
    padding: 0;
    border: none;
    background: none;
  }
}
  .navbar-dark .navbar-collapse {
    position: fixed;
    top: 10%;
    left: 0;
    height:auto;
    max-height: 85vh;
    width: 45%; /* Adjust width as needed */
    background-color: rgba(255, 255, 255, 0.95); /* Transparent white underlay */
    transform: translateX(-100%); /* Start off-screen to the left */
    transition: transform 0.3s ease-in-out;
    z-index: 1060; /* Ensure it's above the main navbar */
    overflow-y: auto; /* Enable scrolling for content if needed */
    padding-top: 30px; /* Space for the fixed navbar at the top */
    padding-bottom:30px;
  }


  .navbar-dark .navbar-collapse.show {
    transform: translateX(0); /* Slide into view */
  }

  .navbar-dark .navbar-collapse .dropdown-menu .dropdown-item {
    color: #000000 !important;
  }
  
  .navbar-dark .navbar-collapse .dropdown-menu .dropdown-item:hover,
  .navbar-dark .navbar-collapse .dropdown-menu .dropdown-item:focus {
    color: #ffffff !important;
    background-color: var(--primary) !important;
  }

  /* Ensure dropdown menu background is white in mobile */
  .navbar-dark .navbar-collapse .dropdown-menu {
    background-color: white !important;
  }

body.offcanvas-active {
  overflow: hidden;
}
}

/* Ensure the primary navbar remains visible */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    height: 70px; /* Use height instead of min-height */
    transition: height 0.3s ease-in-out, top 0.3s ease-in-out;
     z-index: 1050; /* Ensure it's above other content */
 }

.navbar.navbar-shrink {
    height: 50px; /* Shrink height to 50px */
    top: 0px; /* Shrink in place */
    z-index: 1030; /* Lower z-index when shrunk */
    overflow: hidden; /* Hide content during transition */
}

/* Adjust secondary navbar position */
.page-listings .secondary-navbar-listings {
    position: sticky;
    top: 70px; /* Adjust based on primary navbar height */
    z-index: 1040;
    margin-top: 0;
    height: 50px; /* Use height instead of min-height */
    transition: all 0.3s ease-in-out, top 0.3s ease-in-out, height 0.3s ease-in-out;
}

body.scrolled .page-listings .secondary-navbar-listings {
    top: 50px; /* Align with shrunk primary navbar */
    height: 40px; /* Shrink height when scrolled */
    z-index: 1050;
}

@media (max-width: 991.98px) {
  #secondary_navbar_listings .navbar-toggler {
    display: none !important;
  }
}


#mainContent {
    overflow: visible !important;
}

.container-fluid {
    overflow: visible !important;
}

.row {
    overflow: visible !important;
}

/* Remove focus outline from navbar toggler */
.navbar-dark .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Navbar toggler customization */
.navbar-dark .navbar-toggler {
    border: none;
}

.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 5px 0;
    height: 75px; /* Increased height to accommodate icons */
}

.bottom-navbar .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    font-size: 0.75rem;
    text-decoration: none;
    padding-bottom: 2px; /* Reduced bottom padding for text links */
}

.bottom-navbar .nav-link i {
    font-size: 1.2rem;
    margin-bottom: 3px;
    padding-top: 5px; /* Added padding top to neatly place icons */
}

.bottom-navbar .nav-link:hover {
    color: var(--primary);
}

@media (min-width: 992px) {
    .bottom-navbar {
        display: none !important;
    }
}
body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}
.card {
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.form-control {
    border: none;
    border-bottom: 2px solid #dee2e6;
    border-radius: 0;
    padding-left: 5px;
}
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2rem;
}
.form-control:focus {
    border-color: var(--orange-theme);
    box-shadow: none;
}
.btn-orange {
    background-color: var(--orange-theme);
    color: black;
    transition: all 0.3s ease;
}
.btn-orange:hover {
    background-color: #FF8C00;
    transform: translateY(-2px);
}
.form-spacing {
    margin-bottom: 1.5rem;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Footer Styling */
.app-footer {
    margin-top: auto; /* Pushes the footer to the bottom */
    background-color: var(--dark); /* Ensure this matches your navbar's dark theme */
    color: var(--light);
    padding-top: 20px; /* Adjust as needed */
    padding-bottom: 20px; /* Adjust as needed */
    font-family: 'Oswald', sans-serif; /* Keep Oswald for general footer text/headings */
    font-weight: 300; /* Lighter weight for footer text */
    width: 100%;
}

.app-footer .text-dark {
    font-family: 'Lato', sans-serif; /* Use Lato for text links for better readability */
    font-weight: 400; /* Regular weight for better readability at small sizes */
    color: var(--light) !important; /* Ensure links are light */
    text-decoration: none; /* Remove underline from links */
    text-shadow: none; /* Ensure no shadow effect */
    letter-spacing: 0.5px; /* Add a small bit of letter spacing */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.app-footer .contact-us-text {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}



.app-footer .text-dark:hover {
    color: var(--primary) !important; /* Change color on hover */
}

.app-footer .text-uppercase {
    color: var(--primary) !important; /* Primary color for headings */
    margin-bottom: 15px;
}

.app-footer .list-unstyled li {
    margin-bottom: 8px;
}

.app-footer .btn-outline-dark {
    border-color: var(--light);
    color: var(--light);
    transition: all 0.3s ease;
}

.app-footer .btn-outline-dark:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.app-footer .fa-phone, .app-footer .fa-home, .app-footer .fa-envelope {
    margin-right: 10px;
}

.app-footer .p-3 {
    background-color: rgba(0, 0, 0, 0.2);
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.secondary-navbar-listings {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    z-index: 1040; /* Below the main navbar */
    background-color: #f8f9fa; /* Ensure it has a background */
}

.popular-categories-btn,
.post-enquiry-btn {
    color: var(--primary);
    border-color: var(--primary);
    font-family: 'Oswald', sans-serif;
    font-weight: 400; /* Lighter than default bold */
}

.popular-categories-btn:hover,
.post-enquiry-btn:hover {
    background-color: var(--primary) !important;
    color: black !important;
}

.popular-categories-btn,
.post-enquiry-btn {
    color: var(--primary) !important;
}

.popular-categories-btn {
    width: 200px; /* Reduced from 220px */
}

.popular-categories-btn:focus,
.popular-categories-btn:active,
.popular-categories-btn[aria-expanded="true"] {
    background-color: transparent !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

.login-btn {
    background-color: transparent !important;
    border: 1px solid var(--primary) !important;
    color: black !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.login-btn:hover {
    background-color: var(--primary) !important;
    color: black !important;
    border-color: var(--primary) !important;
    box-shadow: none !important;
}

.nav-link-animated {
    color: black !important;
    font-family: 'Oswald', sans-serif;
    text-decoration: none !important;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.9rem; /* Added to make links smaller */
}

.nav-link-animated::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0; /* Brings the underline closer to the text */
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-animated:hover {
    color: var(--primary) !important;
}

.nav-link-animated:hover::after {
    width: 100%;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; 
    }
}

.navbar-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.1rem; /* Reduced from 1.25rem */
    color: black;
}

@media (max-width: 991.98px) {
    .mobile-nav-link {
        display: inline-block; /* Prevent the link from stretching full-width */
        width: auto; /* Ensure width is based on content */
    }
}
.navbar-scrolled {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

#mainContent {
    overflow: visible;
}

.container,
.container-fluid,
.row {
    overflow: visible !important;
}

/* About Us Page Background */
.about-us-page {
    position: relative;
    background-color: transparent;
}

.about-us-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/Heromobile.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.5; /* Increased from 0.2 for more visibility */
    z-index: -1;
}

.about-us-page .content-wrapper {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Navbar Shrink Behavior */
.navbar-shrink {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    transition: padding 0.3s ease-in-out;
    min-height: 50px; /* Reduced height when scrolled */
    background-color: rgba(43, 40, 37, 0.9); /* Slightly transparent background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Enhanced shadow */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* Listings Page Scrolled Behavior */
.page-listings.scrolled {
    padding-top: 120px; /* Adjust based on combined height of shrunk primary and secondary navbars */
}



/* Retain Oswald for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
}

/* Search Listings Component Adjustments */
.search-bar-section .col-md-3 {
    margin-right: 9px; /* Reduced horizontal margins */
}

.search-bar-section .col-md-3:last-child {
    margin-right: 0; /* Remove margin for the last input field */
}

.search-bar-section .input-group-text {
    border: none; /* Remove border around the icon */
    background-color: #f0f0f0; /* Slightly deeper background shade */
    border-right: 1px solid #dee2e6; /* Add vertical divider */
}

.search-bar-section {
    margin-top: 80px; /* Increased to leave more room for the secondary navbar */
    margin-bottom: 25px; /* Maintain good spacing below the component */
}

@media (max-width: 768px) {
    .search-bar-section .col-md-3 {
        margin-right: 0; /* Remove horizontal margins on mobile */
        margin-bottom: 10px; /* Add vertical spacing */
    }

    .search-bar-section .col-md-3:last-child {
        margin-bottom: 0; /* Remove bottom margin for the last input field */
    }

    .search-bar-section .row {
        flex-direction: column; /* Stack inputs vertically */
    }
}

/* Pagination Styling */
.pagination-container {
    position: relative;
    z-index: 0; /* Ensure pagination is behind the fade */
    margin-top: 20px; /* Consistent spacing */
    text-align: center;
}

.pagination .page-link {
    color: black !important; /* Black text for pagination links */
    border: 1px solid #dee2e6 !important; /* Light grey border */
    background-color: transparent !important; /* Clear background */
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--primary) !important; /* Orange background on hover - same as buttons */
    color: black !important; /* Black text on hover - same as buttons */
    border-color: var(--primary) !important; /* Orange border on hover */
    transform: translateY(-2px); /* Slight bounce effect like buttons */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
}

.pagination .page-item.active .page-link {
    background-color: var(--primary) !important; /* Orange background for active page */
    border-color: var(--primary) !important; /* Orange border for active page */
    color: black !important; /* Black text for active page - consistent with buttons */
    box-shadow: none; /* No shadow for active page */
}

/* Remove blue outline on focus */
.pagination .page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(232, 143, 42, 0.25) !important; /* Light orange focus ring */
    z-index: 3;
}

/* Style disabled pagination items */
.pagination .page-item.disabled .page-link {
    color: #6c757d !important; /* Grey text for disabled state */
    background-color: transparent !important;
    border-color: #dee2e6 !important;
}

/* View More and View Less Buttons */
.listings-cards-container .view-more-btn,
.listings-cards-container .view-less-btn {
    background-color: transparent !important;
    color: black !important;
    border: none !important;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: none;
    display: inline-block !important; /* Ensure the button is displayed */
    font-size: 1rem !important; /* Ensure font is visible */
}

.listings-cards-container .view-more-btn:hover,
.listings-cards-container .view-less-btn:hover {
    background-color: var(--primary) !important; /* Orange fill on hover */
    color: black !important;
    transform: translateY(-3px); /* Enhanced bouncy effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Override Bootstrap's default button styling */
.btn-primary.view-more-btn,
.btn-secondary.view-less-btn {
    border: none !important;
    background-image: none !important;
}

/* CSS for hiding and showing elements with JavaScript */
.hidden {
    display: none !important;
}

.listings-cards-container {
    max-height: 2400px; /* Initial height to truncate cards */
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.listings-cards-container.expanded {
    max-height: none;
    overflow: visible;
}

.listings-cards-container .business-card-container {
    margin-bottom: 0; /* Remove bottom margin to eliminate gap */
}

/* Make sure the button containers have proper spacing */
#viewMoreContainer, #seeLessContainer {
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Adjust See Less button position */
#seeLessContainer {
    position: relative;
    z-index: 10;
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
}

/* Make sure secondary button (See Less) matches the styling */
.btn-secondary.view-less-btn {
    background-color: transparent !important;
    color: black !important;
    border: none !important;
}

/* Fade effect at the bottom of the truncation */
.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Adjusted height for a smoother fade and to prevent obscuring the button */
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.9) 70%,
        rgba(255, 255, 255, 1) 100%
    );
    z-index: 5;
    pointer-events: none;
    margin-bottom: 0;
}

.listings-cards-container {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 20px;
}


.fade-overlay.hidden {
    display: none;
}

.listings-cards-container {

    padding-top: 20px;
}

@media (max-width: 767px) {
    .listings-cards-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .secondary-navbar-listings {
        min-height: 60px; /* Increased height for mobile */
        /* Ensure content is centered vertically if needed */
        display: flex;
        align-items: center;
      
    }

    .secondary-navbar-listings .container-fluid {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to the start */
        
    }

    .secondary-navbar-listings .navbar-collapse {
        width: 100%; /* Full width for collapsed menu */
    }

    .secondary-navbar-listings .navbar-nav .nav-link {
        padding: 0.5rem 0; /* Adjust padding for stacked links */
    }

    /* Adjustments for mobile view elements within secondary navbar */
    .secondary-navbar-listings .d-lg-none .mobile-nav-top,
    .secondary-navbar-listings .d-lg-none .mobile-nav-bottom {
        width: 100%;
        text-align: center; /* Center text for mobile links */
    }

    .secondary-navbar-listings .d-lg-none .mobile-nav-link {
        display: block; /* Make links block level for stacking */
        padding: 0.5rem 0;
    }

.secondary-navbar-listings .navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: none !important;
    outline: none !important;
    border-radius: 0;
    transition: none;
    display: block;
    margin-left: auto;
}

.secondary-navbar-listings .navbar-toggler:focus,
.secondary-navbar-listings .navbar-toggler:active {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

    .secondary-navbar-listings .navbar-title.mobile-title {
        margin-right: auto; /* Push title to the left */
    }

    .secondary-navbar-listings .dropdown-item {
        color: #000000 !important; /* Black text for mobile dropdown items */
    }

    .secondary-navbar-listings .dropdown-item:hover,
    .secondary-navbar-listings .dropdown-item:focus {
        background-color: var(--primary) !important; /* Orange color for hover effect */
        color: #ffffff !important; /* White text on hover */
    }
}

@media (max-width: 991.98px) {
    
  .navbar-dark .navbar-collapse .navbar-nav .nav-item .dropdown-menu .dropdown-item {
    color: black !important;
  }
  .navbar-dark .navbar-collapse .navbar-nav .nav-item .dropdown-menu .dropdown-item:hover,
  .navbar-dark .navbar-collapse .navbar-nav .nav-item .dropdown-menu .dropdown-item:focus {
    color: white !important;
    background-color: var(--primary) !important;
  }
    
}

/* Adjust View More button position */
#viewMoreContainer {
    position: relative !important; /* Change back to relative positioning */    z-index: 9999; /* Increased z-index to ensure visibility */
    margin-top: 20px !important; /* Adjust margin to make it visible */
    margin-bottom: 30px; /* Add space below */
    padding: 15px 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
}

/* Business listing card icon button styles */
.btn-listing-card.btn-square {
    background-color: transparent !important;
    border: 0.5px solid var(--primary) !important; /* Thin orange border */
    color: #000 !important; /* Black icon color */
    transition: all 0.3s ease !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
}

.btn-listing-card.btn-square:hover {
    background-color: rgba(232, 143, 42, 0.2) !important; /* Soft orange fill */
    border-color: transparent !important; /* No border on hover */
    transform: translateY(-3px) !important; /* Soft bounce effect up */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important; /* Subtle shadow for depth */
}

.btn-listing-card.btn-square:active {
    transform: translateY(-1px) !important; /* Reduced bounce when clicking */
}

/* Ensure icon color stays black */
.btn-listing-card.btn-square i {
    color: #000 !important;
}

.business-card {
    width: calc(100% - 45px);
}

/* Adjust business card logo column padding for symmetry */
.business-card .col-md-4 {
    padding-right: 1.5rem !important; /* Match the left padding for symmetry */
}

/* On mobile, ensure centered alignment with proper spacing */
@media (max-width: 767px) {
    .business-card .col-md-4 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        margin-bottom: 1rem;
    }
}

/* Override Oswald font for business card headings to match body text */
.business-card .card-title,
.business-card .card-subtitle {
    font-family: 'Lato', sans-serif !important;
}

/* Add specific styling for business category label */
.business-card .card-subtitle {
    color: #6c757d !important; /* Muted gray color */
    font-weight: 400 !important; /* Normal weight */
    font-size: 1rem !important; /* Ensure consistent font size */
}

/* Increase font size for service tags/badges */
.business-card .tags-container .badge {
    font-size: calc(0.75rem + 0.5pt) !important; /* Increased from the default badge size by 0.5pt */
    font-weight: 400 !important; /* Keep the normal font weight */
    padding: 0.35rem 0.65rem !important; /* Slightly larger padding to accommodate larger font */
}

/* Verified badge button styles */
.btn-verified-badge {
    background: rgba(34, 34, 34, 0.85) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important; /* 1.5px round corners (6px for better visibility) */
    font-size: 0.98rem !important;
    font-weight: 600;
    height: 2.1em !important; /* Slightly taller than service tag badges */
    min-width: 90px;
    padding: 0 0.85em !important;
    box-shadow: none !important;
    cursor: default !important;
    opacity: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3em;
}
.btn-verified-badge .verified-badge-text {
    color: #fff !important;
    font-size: 0.98rem !important;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.btn-verified-badge .verified-badge-icon {
    color: #fff !important;
    font-size: 1.15em !important;
    vertical-align: middle;
    margin-top: -2px;
}