.main-hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.gallery-thumb {
    height: 120px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s;
}

.border-settings {
    border-bottom: 1px solid #e5e5e0;
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.btn-secondary-subtle {
    background-color: #e9ecef;
    color: #495057;
    font-size: 0.8rem;
    font-weight: 700;
}

.btn-secondary-subtle:hover {
    background-color: #dee2e6;
}

/* Sidebar shadows and borders */
.card {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.text-business-details {
    color: #71717a;
}

/* Responsiveness for mobile */
@media (max-width: 768px) {
    .main-hero-img {
        height: 250px;
    }

    .gallery-thumb {
        height: 80px;
    }

    h1 {
        font-size: 1.5rem;
    }
}
/* Mobile Horizontal Scroll for Tabs */
.custom-tabs {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    border-bottom: 1px solid #dee2e6 !important;
}

.custom-tabs::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.custom-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
}

.custom-tabs .nav-link.active {
    color: #9a8d7e !important;
    border-bottom: 2px solid #000 !important;
}

.custom-tabs .nav-item {
    margin-bottom: -1px;
}
/* Container to handle the bottom border correctly */
.business-tabs-container {
    position: relative;
}

.custom-business-tabs {
    gap: 1rem; /* Spacing between tab text */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.custom-business-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.custom-business-tabs .nav-link {
    background: none !important;
    border: none !important;
    color: #000000; /* Secondary text color */
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 0; /* Padding top and bottom only */
    position: relative;
    transition: color 0.3s ease;
}

/* The active state text color */
.custom-business-tabs .nav-link.active {
    color: #9a8d7e !important;
}

/* The animated underline for the active tab */
.custom-business-tabs .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #a38972; /* Matches the tan/gold underline in the image */
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.custom-business-tabs .nav-link.active::after {
    transform: scaleX(1);
}

/* Faint horizontal line that spans the full width below the tabs */
.tab-separator {
    width: 100%;
    height: 1px;
    background-color: #eee;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .custom-business-tabs {
        gap: 1.2rem;
    }
}

/* Service Accordion Styling */
.custom-services-accordion .accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: #000;
    box-shadow: none;
}

.custom-services-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.custom-services-accordion .accordion-button::after {
    background-size: 1rem;
}

/* Service Description Truncate */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Membership Card Styling */
.membership-card {
    transition: transform 0.3s ease;
}

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

.membership-card .btn-light {
    background-color: #d1c4b9; /* Matches the soft beige in the image */
    border: none;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .membership-card {
        margin-bottom: 1rem;
    }
}

/* Custom Scrollbar for Services */
.services-scroll-container {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #d1c4b9 transparent; /* Beige color matching your design */
}

/* Chrome, Edge, and Safari */
.services-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.services-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.services-scroll-container::-webkit-scrollbar-thumb {
    background-color: #d1c4b9;
    border-radius: 10px;
}

/* Responsive height adjustment */
@media (max-width: 768px) {
    .services-scroll-container {
        max-height: 500px; /* Shorter on mobile */
    }
}
.service-item-row {
    border: 1px solid #dbdbdf !important;
}
.accordion-button {
    font-size: 20px !important;
    font-weight: 400 !important;
}
.services-scroll-container {
    overflow-y: auto;
    border-top: 1px solid #ebebed;
}
.btn-background-color-c5beb6 {
    background-color: #c5beb6 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.social-links {
    color: #71717a !important;
    font-size: 20px !important;
}

.amentines-color {
    color: #161212 !important;
    font-size: 24px !important;
    font-weight: 600 !important;
}
.day-color {
    color: #71717a !important;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -1%;
}
.timing-color {
    font-size: 18px;
    font-weight: 400 !important;
    color: #161212 !important;
}
.rounded-border-setting {
    border: 1px solid #e8e8ea !important;
}

:root {
    --card-bg: #1a1a1a;
    --card-text: #ffffff;
    --muted-text: #a0a0a0;
    --badge-bg: #2a2a2a;
    --btn-bg: #c5beb6;
    --btn-text: #1a1a1a;
    --border-color: #333333;
}

.membership-card {
    background: #161212 !important;
    border-radius: 16px;
    padding: 16px;
    color: var(--card-text);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.membership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.plan-name {
    color: white;
    font-size: 14px !important;
    font-weight: 700;
    margin: 0;
}

.plan-price {
    text-align: right;
}

.price-amount {
    font-size: 12px;
    font-weight: 700;
    display: block;
}

.price-period {
    font-size: 12px;
    color: #6a696e;
    text-transform: lowercase;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6a696e !important;
}

.benefit-item i {
    color: var(--card-text);
    font-size: 12px;
    flex-shrink: 0;
}

.services-badge {
    background: var(--badge-bg);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 16px;
    font-size: 12px;
}

.services-badge strong {
    color: var(--card-text);
    font-weight: 600;
}

.services-badge span {
    color: #6a696e;
    font-weight: 400;
}

.btn-view-details {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    transition: background 0.2s;
}

.btn-view-details:hover {
    background: #b5a690;
}

/* Mobile optimizations */
@media (max-width: 575px) {
    .membership-section {
        padding: 16px;
        border-radius: 12px;
    }

    .membership-card {
        padding: 20px;
    }

    .section-title {
        font-size: 1.125rem;
    }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6a696e;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}
.bi-check-lg {
    color: #6a696e !important;
}

/* Container and Header */
.team-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1%;
    color: #161212 !important;
}

.team-search {
    border-radius: 8px;
    padding-left: 35px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="grey" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>')
        no-repeat 10px center;
}

/* Scroll Logic */
.team-scroll-container {
    max-height: 800px; /* Adjust this height to fit roughly 3 rows (9 members) */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

/* Custom Scrollbar for better UI */
.team-scroll-container::-webkit-scrollbar {
    width: 6px;
}
.team-scroll-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    gap: 5px;
}

/* Card Styling */
.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.2s;
    padding: 3px !important;
}

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

.image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px !important;
}

.rating-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-footer {
    padding: 12px 15px;
    background: #fff;
}

.member-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #161212;
    letter-spacing: -1%;
}

/* --- Mobile Responsiveness --- */

/* Tablets (2 columns) */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Phones (1 column) */
@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    .search-container {
        width: 100% !important;
    }
    .serviceSearch {
        width: 100% !important;
    }
}
.search-container {
    width: 50%;
}

.bi-star-fill {
    color: #f9bd11 !important;
}
.serviceSearch {
    width: 50%;
}

/* Gallery Container Card */
.gallery-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #f0f0f0;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

/* Image Aspect Ratio & Hover Effects */
.gallery-item {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16 / 10; /* Maintains the cinematic look from your image */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Scrollable area if items exceed a certain height (like your team tab) */
.gallery-scroll-container {
    max-height: 650px;
    overflow-y: auto;
    padding-right: 5px;
}

.gallery-scroll-container::-webkit-scrollbar {
    width: 5px;
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
    background: transparent !important;
    border-radius: 10px;
}

/* Button Styling */
.btn-dark {
    background-color: #111111;
    border: none;
    border-radius: 10px;
    letter-spacing: 1px;
}

.btn-dark:hover {
    background-color: #333333;
}

/* Responsive adjustments for mobile */
@media (max-width: 576px) {
    .gallery-card {
        padding: 15px;
    }
    .gallery-title {
        font-size: 1.25rem;
    }
}
.book-now-button {
    background-color: #161212 !important;
}
.color-primary {
    color: #397ff1 !important;
}

/* Section Styles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-review-outline {
    border: 2px solid #d1cfc7;
    background: #d1cfc7;
    color: #333;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
}

/* Filter Boxes */
.filter-box {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 12px 40px; /* Increased side padding to account for the absolute icon */
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    color: #444;
    min-height: 50px; /* Optional: keeps boxes consistent */
}

/* Optional: Make the icons look a bit sharper */
.filter-box .bi {
    display: flex;
    align-items: center;
}
/* Summary Cards */
.rating-summary-card {
    background: #f4f3ef;
    border-radius: 8px;
    padding: 30px;
}

.progress {
    background-color: #e9ecef;
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

/* Review Item Cards */
.review-card {
    background: #f4f3ef;
    border-radius: 12px;
    border: none;
}

.avatar-circle {
    width: 35px;
    height: 35px;
    font-size: 14px;
    background-color: #d5d2cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000000;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .rating-summary-card {
        padding: 20px;
    }
    .display-4 {
        font-size: 2.5rem;
    }
}
.write-review {
    background-color: #c5beb6 !important;
}
.editReview {
    background-color: #c5beb6 !important;
}

.filter-content {
    color: #161212 !important;
    font-family: "Causten", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-box-trim: both;
    text-box-edge: cap alphabetic;
}

/* Custom Pagination Styling */
.custom-pagination .pagination {
    gap: 5px;
}

.custom-pagination .page-item .page-link {
    border-radius: 8px;
    color: #333;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    font-family: "Causten", sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
}

.custom-pagination .page-item.active .page-link {
    background-color: #111;
    border-color: #111;
    color: #fff;
}

.custom-pagination .page-item .page-link:hover:not(.active) {
    background-color: #f8f9fa;
    border-color: #ccc;
    color: #000;
}

.custom-pagination nav div:first-child {
    display: none !important;
}
.page-item.active span.page-link {
    background-color: rgb(255, 247, 247) !important;
    color: rgb(0, 0, 0) !important;
    border: none !important;
    font-weight: 800 !important;
}
.page-item .page-link {
    background-color: rgb(255, 253, 253) !important;
    color: rgb(0, 0, 0) !important;
}
.accordion-border-bottom {
    border-bottom: 1px solid #ebebed;
}

.review-text-color {
    color: #919197;
}
/* Custom Modal Width for Desktop */
@media (min-width: 576px) {
    .modal-sm-custom {
        max-width: 400px;
    }
}

/* Star and Item Styling */
.rating-item {
    cursor: pointer;
    transition: background 0.2s;
}

.rating-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
}

.text-warning {
    color: #ffb400 !important; /* Specific Star Gold */
}

/* Buttons */
.btn-clear {
    background-color: #c6beb5 !important;
    color: #333 !important;
    border-radius: 12px;
    border: none;
}

.btn-apply {
    background-color: #1a1817 !important;
    color: #fff !important;
    border-radius: 12px;
    border: none;
}

.btn-apply:hover {
    background-color: #333;
    color: #fff;
}

/* Header Close Button */
.btn-close:focus {
    box-shadow: none;
}
/* Custom Styles */
#businessSortModal .modal-content {
    background-color: #ffffff;
}

.sort-option {
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a4a4a;
    transition: background 0.2s;
    font-weight: 600;
}

.sort-option:hover {
    background-color: #f8f9fa;
}

/* Checkmark Color */
.check-icon {
    color: #9e948a; /* Soft brown from your image */
    font-size: 1.2rem;
}

/* Buttons */
.btn-clear {
    background-color: #cdc7c0; /* Beige/Grey from image */
    color: #1a1a1a;
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 25px;
    font-size: 0.85rem;
    border: none;
}

.btn-apply {
    background-color: #121010; /* Dark black from image */
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 30px;
    font-size: 0.85rem;
    border: none;
}

.btn-clear:hover {
    background-color: #b9b3ad;
}
.btn-apply:hover {
    background-color: #000000;
    color: white;
}

/* Responsive tweaks for mobile */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1.5rem; /* Adds padding around modal on mobile */
    }
}

/* Star Icons */
.star-icon {
    font-size: 2rem;
    color: #1a1a1a;
    cursor: pointer;
    transition:
        color 0.2s,
        transform 0.1s;
}

.star-icon.active {
    color: #1a1a1a;
    font-variation-settings: "FILL" 1; /* If using Google Material Symbols */
}

/* Fill effect using Bootstrap Icons bi-star-fill */
.star-icon.bi-star-fill {
    color: #1a1a1a;
}

/* Button Styling to match your previous components */
.btn-clear {
    background-color: #cdc7c0;
    color: #1a1a1a;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
}

.btn-submit {
    background-color: #121010;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
}

.btn-clear:hover {
    background-color: #b9b3ad;
}
.btn-submit:hover {
    background-color: #000000;
    color: white;
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }
    .star-icon {
        font-size: 1.75rem;
    }
}
.address-color {
    color: #71717a !important;
    font-weight: 500 !important;
}
.icon-size {
    font-size: 24px !important;
}
.amenties-color {
    color: #71717a !important;
    font-size: 17px !important;
    letter-spacing: -1% !important;
}
.border-e9ecef {
    border: 1px solid #e9ecef !important;
}
.height-300 {
    height: 300px;
}
.pin-location-font-size {
    font-size: 2rem;
}

.width-height-80 {
    width: 80px;
    height: 80px;
}
.bi-clipboard-x {
    font-size: 2rem;
}
.max-width-300 {
    max-width: 300px;
}
.font-size-2rem {
    font-size: 2rem;
}
.cursor-pointer {
    cursor: pointer;
}
.height-8 {
    height: 8px;
}
.gallery-image-setting {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}
.border-radious-25 {
    border-radius: 25px;
}

.font-size-1rem {
    font-size: 1.1rem;
}
.review-background-color {
    background-color: #f6f5f0;
    border-radius: 20px;
}
.textarea-setting {
    border-radius: 12px;
    resize: none;
}
.book-now-btn {
    font-size: 15px !important;
    background-color: #000 !important;
    font-weight: 400 !important;
}
.accordion-body {
    background-color: #f4f3ef !important;
}
