.breadcrumb {
    background-color: #fffdea;
}

/* Add animation class for cards */
.animate-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.draggable-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 15px 0;
    /* Add space around carousel */
}

.draggable-carousel-track {
    display: flex;
    gap: 5px;
    cursor: grab;
    transition: transform 0.3s ease-out;
    user-select: none;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
}

.draggable-carousel-track::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Webkit browsers */
}

.draggable-carousel-item {
    flex: 0 0 100px;
    /* Adjust card width */
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: transform 0.2s ease;
    margin: 5px;
}

.draggable-carousel-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-bottom: 8px;
    border-radius: 50%;
}

.draggable-carousel-item h5 {
    font-size: 12px;
    color: #333;
    margin: 0;
    text-align: center;
}

.draggable-carousel-item:hover {
    transform: scale(1.1);
}

.dragging {
    cursor: grabbing;
    transition: none;
}


/* ID Card Styles */
.id-card {
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 20px;
    transition: transform 0.2s ease-in-out;
}

.id-card:hover {
    transform: scale(1.05);
}

/* Ribbon */
.ribbon {
    position: absolute;
    top: 5px;
    left: -15px;
    background: #00459a;
    color: #ffffff;
    font-size: 14px;
    padding: 5px 20px;
    text-transform: uppercase;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ribbon span {
    display: block;
}

/* Profile Picture */
.profile-picture {
    margin-top: 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    border: 4px solid #00459a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge */
.badge {
    margin-top: 10px;
}

.badge-pill {
    display: inline-block;
    padding: 5px 15px;
    font-size: 12px;
    color: #ffffff;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-company {
    background: #28a745;
}

.badge-individual {
    background: #17a2b8;
}

/* Card Body */
.id-card-body {
    padding: 15px 10px;
}

.provider-name {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.provider-rating {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ffc107;
}

.provider-location,
.provider-experience {
    font-size: 14px;
    color: #666666;
    margin-bottom: 5px;
}

.provider-location i {
    margin-right: 5px;
}

/* Hover Effects */
.id-card:hover .profile-picture {
    border-color: #ffc107;
    transform: scale(1.1);
    transition: 0.3s;
}

/* selected  Effects */
.id-card-selected .profile-picture {
    border-color: #ffc107;
    transform: scale(1.1);
    transition: 0.3s;
}

/* Verified Tick */
.verified-tick {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    color: #28a745;
}

.verified-tick i {
    font-size: 14px;
    vertical-align: middle;
}

/* Verified Tick on Profile Picture */
.id-card-body h2 i {
    margin-left: 5px;
    color: #28a745;
    font-size: 16px;
    vertical-align: middle;
}

/* Remove underline for links */
.card-link {
    text-decoration: none;
    color: inherit;
}

/* Hover effect for clickable cards */
.card-link:hover .id-card {
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* General Filter Section Styles */
.filters-section {
    background: #f8f9fa;
    padding: 20px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-section {
    margin-bottom: 20px;
}

.filter-title {
    font-size: 1.2rem;
    color: #00459a;
    margin-bottom: 10px;
}

.filter-content .form-check {
    margin-bottom: 10px;
}

.pagination .page-link {
    padding: 10px 15px;
    margin: 5px;
    background: #00459a;
    color: white;
    border-radius: 4px;
    text-decoration: none;
}

.pagination .page-link:hover {
    background: #003366;
    color: white;
}


/* Applied Filters */
.applied-filters h5 {
    font-size: 1.1rem;
    color: #00459a;
    margin-bottom: 5px;
}

.applied-filters ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.applied-filters .badge {
    padding: 5px;
    font-size: 0.9rem;
    border-radius: 4px;
}

.applied-filters .badge a {
    text-decoration: none;
    margin-left: 5px;
}

/* Responsive Filters */
#filters-section {
    display: block;
    /* Default for desktop */
}

@media (max-width: 768px) {
    #filters-section {
        display: none;
        /* Hidden by default on mobile */
    }

    .btn.btn-primary.d-block.d-md-none {
        display: block;
    }
}


/* General Styling for the Card Container */
.service-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 15px;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Image Styling */
.service-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 15px;
}

/* Card Body */
.service-card .card-body {
    padding: 10px 5px;
}

.service-card .service-name {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.service-card .service-provider {
    font-size: 14px;
    color: #777777;
    margin-bottom: 12px;
}

/* Price and Rating */
.service-card .price-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.service-card .service-price {
    font-weight: bold;
    color: #00459a;
}

.service-card .rating {
    display: flex;
    align-items: center;
    color: #ffc107;
}

.service-card .rating i {
    margin-right: 5px;
}

/* Grid Styling */
.row.d-flex.justify-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Badge Styling */
.badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.badge-category {
    display: inline-block;
    background-color: #00459a;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    text-transform: capitalize;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Ensure Image Responsiveness */
.image-container {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 15px;
}

.service-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}



/* Responsive Adjustments */
@media (max-width: 1200px) {
    .service-card {
        margin: 8px;
    }
}

@media (max-width: 992px) {
    .service-card {
        margin: 8px;
    }
}

@media (max-width: 768px) {
    .badge-category {
        font-size: 10px;
        padding: 3px 8px;
    }

    .service-card {
        padding: 10px;
    }

    .service-card img {
        height: 120px;
    }

    .service-card .service-name {
        font-size: 14px;
    }

    .service-card .service-provider {
        font-size: 12px;
    }

    .service-card .price-rating i {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .service-card {
        margin: 5px;
        padding: 8px;
    }

    .service-card img {
        height: 100px;
    }

    .service-card .service-name {
        font-size: 12px;
    }

    .service-card .service-provider {
        font-size: 10px;
    }
}


/* Modern Product Card */
.product-card-modern {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin: 0.5rem;
}

.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Full Card Clickable */
.product-card-modern-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Category Tag */
.product-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 50px;
    z-index: 1;
}

/* Product Image */
.product-image-container {
    text-align: center;
    background: #f9f9f9;
    padding: 20px;
    border-bottom: 1px solid #eeeeee;
}

.product-image-modern {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card-modern:hover .product-image-modern {
    transform: scale(1.05);
}

/* Product Info */
.product-info {
    padding: 15px;
    text-align: center;
}

.product-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333333;
    text-transform: capitalize;
}

.vendor-category {
    font-size: 14px;
    color: #777777;
    margin-bottom: 10px;
}

.vendor-link {
    color: #00459a;
    font-weight: 500;
    text-decoration: none;
}

.vendor-link:hover {
    text-decoration: underline;
}

/* Category Badge */
.category-badge {
    margin-bottom: 10px;
}

.badge-primary {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* Rating */
.rating {
    font-size: 14px;
    color: #ffc107;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

/* Price Details */
.price-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.service-price {
    font-size: 16px;
    font-weight: bold;
    color: #00459a;
}

.original-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #999999;
}

/* Cart Icon */
.cart-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #00459a;
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cart-icon:hover {
    background-color: #003366;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-card-modern {
        margin-bottom: 15px;
    }

    .product-image-modern {
        max-height: 150px;
    }
}


/* service provider details page */



/* Category Card */
.category-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    margin: 10px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-card h5 {
    font-size: 14px;
    color: #333;
    margin: 0;
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
}

.info-list li strong {
    color: #000;
}

/* Back Link */
.back-link {
    color: #00459a;
    font-weight: bold;
}

.back-link:hover {
    color: #003366;
}

/* Rating Section */
.rating-section .card {
    border: none;
    border-radius: 8px;
    padding: 15px;
}

.rating-section h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Overall Rating */
.overall-rating-container {
    margin-bottom: 20px;
}

.overall-rating {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00459a;
}

.rating-badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    margin-top: 10px;
}

.rating-badge.excellent {
    background-color: #28a745;
    color: white;
}

.rating-badge.good {
    background-color: #ffc107;
    color: #333;
}

.rating-badge.average {
    background-color: #dc3545;
    color: white;
}

.star-rating i {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Rating Breakdown */
.rating-breakdown {
    margin-top: 20px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.rating-number {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    width: 20px;
    text-align: center;
}

.rating-bar {
    flex-grow: 1;
    background-color: #f1f1f1;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.rating-bar-filled {
    background-color: #00459a;
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

.rating-count {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    width: 30px;
}


/* Additional Information Card */
.additional-info-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.additional-info-card h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00459a;
    margin-bottom: 20px;
}

.provider-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

#fullDescription {
    display: none;
}

.badge-section {
    margin-top: 20px;
}

.table {
    font-size: 0.9rem;
    text-align: center;
}

.table th,
.table td {
    vertical-align: middle;
}

.table thead th {
    background-color: #00459a;
    color: #fff;
    font-weight: bold;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
}

.badge-danger {
    background-color: #dc3545;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
}

.btn-sm {
    font-size: 0.85rem;
    padding: 5px 10px;
}

/* Modal Enhancements */
.modal .modal-header {
    background-color: #f39c12;
    color: white;
    border-bottom: none;
    padding: 20px;
}

.modal .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.modal .close span {
    color: white;
    font-size: 1.2rem;
}

.modal .modal-body {
    padding: 20px;
}

/* Stars Styling */
#user-rating i {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
}

#user-rating i:hover,
#user-rating i:hover~i {
    color: #f39c12;
}

#user-rating i.active {
    color: #f39c12;
}

/* Review Section */
.review-list .review-item {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.review-list .review-item:hover {
    transform: translateY(-3px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Reviewer Name */
.review-list .review-item h5 {
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
}

/* Review Text */
.review-list .review-item p {
    color: #555;
    line-height: 1.5;
}

/* Stars in Review */
.stars i {
    color: #ffc107;
    margin-right: 3px;
}

/* No Reviews Message */
.review-list p.text-muted {
    text-align: center;
    font-size: 1rem;
    color: #888;
}

/* Similar and Provider Services Section */
.similar-services,
.provider-services {
    margin-top: 30px;
}

.similar-services h4,
.provider-services h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.similar-services .card,
.provider-services .card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.similar-services .card:hover,
.provider-services .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.similar-services .text-muted,
.provider-services .text-muted {
    font-size: 1rem;
    color: #888;
    text-align: center;
    margin-top: 20px;
}

/* product detail page css */

.product_count {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-top: 15px;
}

.product_count label {
    margin-right: 15px;
    font-weight: bold;
    color: #333;
}

.product_count button {
    width: 40px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    background: #f8f8f8;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product_count button:hover {
    background: #ffd966;
    color: #000;
}

.product_count input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    height: 40px;
    margin: 0 5px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    -moz-appearance: textfield;
    /* Firefox */
}

.product_count input::-webkit-outer-spin-button,
.product_count input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.price-section h4 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.price-section .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
    margin-right: 10px;
}

.price-section .discounted-price {
    color: #00459a;
    font-size: 22px;
    font-weight: bold;
}
.product-image-container {
    position: relative;
}

.image-zoom-wrapper {
    position: relative;
    width: 100%;
    max-height: 350px;
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid #ddd;
    cursor: zoom-in;
}

#zoom-result {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid #ccc;
    background-repeat: no-repeat;
    background-size: 200%; /* Adjust zoom level */
    background-position: center;
    pointer-events: none;
    display: none;
    z-index: 10;
}

.thumbnail-carousel {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.thumbnail-image:hover {
    border-color: #ffd966;
}


/* product shop css */
.price-slider {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    margin-top: 1rem;
}

.slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
    margin-top: 1.5rem;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
}

.price-display {
    font-weight: bold;
}
