.provider-profile-header {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    overflow: hidden;
}

.provider-profile-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.provider-profile-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.provider-profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.provider-profile-info h1 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.provider-profile-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.provider-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.provider-profile-content {
    padding: 40px 0;
}

.provider-profile-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.provider-profile-section:last-child {
    border-bottom: none;
}

.provider-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.provider-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.provider-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.provider-contact-item i {
    color: #3b82f6;
    font-size: 20px;
}

.provider-contact-item div {
    flex: 1;
}

.provider-contact-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.provider-contact-value {
    font-size: 16px;
    color: #1e293b;
    font-weight: 500;
    word-break: break-word;
}

.provider-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.provider-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.3s ease;
    font-weight: 500;
}

.provider-link-item:hover {
    background: #e2e8f0;
}

.provider-link-item i {
    color: #3b82f6;
    font-size: 24px;
}

.provider-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.provider-service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.provider-service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);}

.provider-service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f7f7f7;
}

.provider-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.provider-service-card:hover .provider-service-image img {
    transform: scale(1.05);
}

.rating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    font-weight: 700;
    font-size: 14px;
}

.rating-badge .star-icon {
    color: #ffb33e;
    font-size: 16px;
}

.rating-badge-value {
    color: #404145;
}

.top-rated-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffc107;
    color: #404145;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
}

.provider-service-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.provider-service-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.provider-service-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.provider-service-price {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.provider-service-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.provider-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

.provider-btn-primary {
    background: #3b82f6;
    color: white;
}

.provider-btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.provider-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.provider-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.provider-share-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.provider-share-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.provider-qr-section {
    text-align: center;
}

.provider-qr-code {
    width: 150px;
    height: 150px;
    margin: 0 auto 16px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.provider-qr-code img {
    width: 100%;
    height: 100%;
}

.provider-qr-label {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
}

.provider-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.provider-empty-state i {
    font-size: 64px;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.provider-empty-state h3 {
    font-size: 20px;
    color: #475569;
    margin-bottom: 8px;
    font-weight: 600;
}

.provider-empty-state p {
    font-size: 14px;
    color: #94a3b8;
}

.reviews-slideshow {
    position: relative;
    padding: 20px 0;
}

.reviews-wrapper {
    overflow: hidden;
    padding: 0 50px;
}

.reviews-container {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.review-slide {
    min-width: calc(33.333% - 14px);
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.reviewer-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
}

.review-service {
    color: #64748b;
    font-size: 13px;
    margin-top: 2px;
}

.review-rating {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.review-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.4;
}

.review-comment {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.review-date {
    font-size: 12px;
    color: #94a3b8;
    text-align: right;
    margin-top: auto;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e2e8f0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 22px;
    transition: all 0.3s ease;
    z-index: 10;
}

.slideshow-nav:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
    left: 0;
}

.slideshow-next {
    right: 0;
}

.slideshow-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3b82f6;
    width: 28px;
    border-radius: 5px;
}

.dot:hover {
    background: #cbd5e1;
}

@media (max-width: 1024px) {
    .review-slide {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .provider-profile-header {
        height: 250px;
    }

    .provider-profile-header-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .provider-profile-logo {
        width: 100px;
        height: 100px;
    }

    .provider-profile-info h1 {
        font-size: 24px;
    }

    .provider-contact-grid {
        grid-template-columns: 1fr;
    }

    .provider-profile-container {
        padding: 0 12px;
    }

    .provider-profile-content {
        padding: 20px 0;
    }

    .provider-links-grid {
        grid-template-columns: 1fr;
    }

    .provider-services-grid {
        grid-template-columns: 1fr;
    }

    .provider-service-card {
        max-width: 100%;
    }

    .provider-share-section {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .provider-share-section > div:first-child {
        width: 100%;
    }

    .provider-qr-section {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .provider-qr-code {
        width: 120px;
        height: 120px;
        margin-bottom: 12px;
    }

    .provider-share-buttons {
        margin-top: 12px;
        justify-content: center;
    }

    .provider-profile-section {
        padding: 20px 0;
    }

    .provider-section-title {
        font-size: 20px;
    }

    .reviews-wrapper {
        padding: 0 45px;
    }

    .review-slide {
        min-width: 100%;
        padding: 20px;
    }

    .slideshow-nav {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .provider-profile-header {
        height: 220px;
    }

    .provider-profile-logo {
        width: 80px;
        height: 80px;
    }

    .provider-profile-info h1 {
        font-size: 20px;
    }

    .provider-section-title {
        font-size: 18px;
    }

    .reviews-wrapper {
        padding: 0 40px;
    }

    .review-slide {
        padding: 18px;
    }

    .review-header {
        flex-direction: column;
        gap: 12px;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .reviewer-name {
        font-size: 14px;
    }

    .review-service {
        font-size: 12px;
    }

    .slideshow-nav {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .slideshow-prev {
        left: 0;
    }

    .slideshow-next {
        right: 0;
    }
}