/* ======================================
   LIBERI - CSS COMPLETO
   Estilos completos para toda la aplicación
   ====================================== */

:root {
    /* Colores del logo turquesa */
    --primary: #3FB8C4;
    --primary-dark: #2E9CA7;
    --primary-light: #5FC9D3;
    --secondary: #3D3D3D;

    /* Colores de estado */
    --success: #4CAF50;
    --warning: #FF9800;
    --danger: #F44336;
    --info: #2196F3;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(63, 184, 196, 0.15);
}

/* ======================================
   GENERAL STYLES
   ====================================== */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Navbar */
.navbar {
    border-bottom: 2px solid var(--primary);
}

.navbar-brand {
    color: var(--primary) !important;
    font-weight: 600;
}

.nav-link {
    color: #495057 !important;
    transition: color 0.2s;
}

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

/* Botones */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

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

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Text colors */
.text-primary {
    color: var(--primary) !important;
}

/* Badges */
.badge.bg-primary {
    background-color: var(--primary) !important;
}

/* Links */
a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-dark);
}

/* ======================================
   HOME PAGE - HERO SECTION
   ====================================== */

.hero-section {
    background: linear-gradient(135deg, #3FB8C4 0%, #2E9CA7 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 0v60M0 30h60" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary {
    background-color: white;
    color: var(--primary);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

.btn-hero-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-secondary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ======================================
   HOME PAGE - SEARCH SECTION
   ====================================== */

.search-section {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    padding: 0 1rem 3rem;
}

.search-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--primary);
}

.btn-search {
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-search:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(63, 184, 196, 0.3);
}

/* ======================================
   HOME PAGE - CATEGORIES SECTION
   ====================================== */

.categories-section {
    padding: 4rem 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--secondary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(63, 184, 196, 0.15);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.category-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.category-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-category:hover {
    background-color: var(--primary-dark);
    transform: translateX(5px);
    color: white;
}

/* ======================================
   HOME PAGE - SERVICES SECTION
   ====================================== */

.services-section {
    padding: 4rem 1rem;
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-provider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.service-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.service-duration {
    color: #6c757d;
    font-size: 0.9rem;
}

.btn-book {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-book:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

/* ======================================
   HOW IT WORKS SECTION
   ====================================== */

.how-it-works-section {
    padding: 4rem 1rem !important;
}

.step-icon {
    margin-bottom: 1rem;
}

.step-icon i {
    color: var(--primary) !important;
}

/* ======================================
   CTA SECTION
   ====================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

/* ======================================
   FOOTER
   ====================================== */

footer {
    background-color: var(--secondary) !important;
}

footer h5 {
    color: white;
}

/* ======================================
   FORMS
   ====================================== */

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(63, 184, 196, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ======================================
   NOTIFICATIONS
   ====================================== */

.notification-badge,
.badge.bg-danger {
    background-color: var(--danger) !important;
}

.dropdown-item:hover {
    background-color: rgba(63, 184, 196, 0.1);
}

/* ======================================
   ALERTS
   ====================================== */

.alert-primary {
    background-color: rgba(63, 184, 196, 0.1);
    border-color: var(--primary);
    color: var(--primary-dark);
}

/* ======================================
   RATING STARS
   ====================================== */

.rating i.fas.fa-star {
    color: #FFC107;
}

/* ======================================
   STICKY ELEMENTS
   ====================================== */

.sticky-top {
    top: 20px;
}

/* ======================================
   RESPONSIVE
   ====================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .search-form {
        flex-direction: column;
    }

    .search-input,
    .btn-search {
        width: 100%;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Payment Methods Section */
/* Payment Methods Section */
.payment-methods-section {
    background: white;
    border-top: 1px solid #f0f0f0;
}

.payment-methods-section .section-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.payment-method-item {
    flex: 0 1 auto;
    min-width: 200px;
    padding: 20px;
    transition: all 0.3s ease;
}

.payment-method-item:hover {
    transform: translateY(-5px);
}

.payment-method-icon {
    background: linear-gradient(135deg, #5DADE2 0%, #48C9B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.payment-method-item:hover .payment-method-icon {
    transform: scale(1.1);
}

.payment-method-item h5 {
    color: #2c3e50;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

/* Payment Logo Styles */
.payment-logo-small {
    width: 50px;
    height: 32px;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.payment-logo-small:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(93, 173, 226, 0.3);
    filter: brightness(1.05);
}

/* Divider Line */
.payment-methods-grid>div[style*="width: 1px"] {
    background: #e0e0e0;
    min-height: 80px;
}

/* Alert Styles */
.alert-info {
    background-color: #e7f3ff;
    border-color: #5DADE2;
    color: #0c5483;
}

.alert-info strong {
    color: #1a5276;
}

.alert-info i {
    color: #5DADE2;
}

.alert-info .d-flex {
    align-items: flex-start;
}

/* Responsive Mobile */
@media (max-width: 992px) {
    .payment-methods-grid {
        gap: 30px;
    }

    .payment-methods-grid>div[style*="width: 1px"] {
        display: none;
    }
}

@media (max-width: 768px) {
    .payment-method-item {
        min-width: 150px;
        padding: 15px;
    }

    .payment-logo-small {
        width: 45px;
        height: 28px;
    }

    .payment-method-item h5 {
        font-size: 1rem;
    }

    .payment-method-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .payment-methods-grid {
        gap: 20px;
        flex-direction: column;
    }

    .payment-method-item {
        min-width: 100%;
    }

    .payment-logo-small {
        width: 40px;
        height: 25px;
    }

    .alert-info {
        font-size: 0.9rem;
    }

    .alert-info i {
        font-size: 1.2rem;
        margin-right: 0.75rem !important;
    }
}

/* Estilos para mensajes de error en formularios */
.errorlist {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.errorlist li {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 12px 15px;
    margin-bottom: 10px;
    font-weight: 500;
}

.errorlist li:before {
    content: "⚠️ ";
    margin-right: 8px;
}

/* Mensajes de error en la parte superior */
.messages {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
}

.alert {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    animation: slideIn 0.3s ease-out;
}

.alert-danger {
    border-left-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

.alert-error {
    border-left-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

.alert-success {
    border-left-color: #28a745;
    background-color: #d4edda;
    color: #155724;
}

.alert-warning {
    border-left-color: #ffc107;
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    border-left-color: #17a2b8;
    background-color: #d1ecf1;
    color: #0c5460;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Campos con error */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* ======================================
   WHATSAPP FLOATING BUTTON
   ====================================== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 9999 !important;
    transition: all 0.3s ease;
    display: block !important;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

.my-float {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .my-float {
        margin-top: 13px;
    }
}

/* ======================================
   PROVIDER PROFILE PAGE STYLES
   ====================================== */

/* Hero Section for Provider Profile */
.provider-hero-section {
    background: linear-gradient(135deg, #3FB8C4 0%, #2E9CA7 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.provider-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    object-fit: cover;
    background: white;
}

.provider-avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #3FB8C4;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: pulse-subtle 3s infinite;
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: white;
}

.hero-stat i {
    font-size: 1.3rem;
}

.cta-primary {
    background: white;
    color: #3FB8C4;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: none;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    color: #3FB8C4;
}

.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    color: white;
}

.mode-badge i {
    font-size: 1.1rem;
}

/* Trust Signals Bar */
.trust-bar {
    background: linear-gradient(90deg, rgba(63,184,196,0.1) 0%, rgba(63,184,196,0.2) 100%);
    border: 2px solid #3FB8C4;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1f2937;
}

.trust-item i {
    font-size: 1.5rem;
    color: #3FB8C4;
}

/* About Section */
.about-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid #e5e7eb;
}

.about-section h4 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-section h4 i {
    color: #3FB8C4;
}

.about-section p {
    color: #4b5563;
    line-height: 1.7;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.metric-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: #3FB8C4;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.metric-card .stat-icon {
    font-size: 2rem;
    color: #3FB8C4;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #3FB8C4;
    display: block;
}

.metric-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Provider Service Cards */
.provider-service-card {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
}

.provider-service-card:hover {
    border-color: #3FB8C4;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transform: translateY(-8px);
}

.service-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.provider-service-card:hover .service-image-overlay {
    opacity: 1;
}

.service-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3FB8C4;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.service-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h5 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #6b7280;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.service-duration {
    color: #6b7280;
    font-size: 0.9rem;
}

.service-cta {
    background: #3FB8C4;
    color: white;
    text-align: center;
    padding: 0.875rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
}

.service-cta:hover {
    background: #2E9CA7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: white;
}

/* Reviews Section */
.review-header {
    background: linear-gradient(135deg, rgba(63,184,196,0.1) 0%, white 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid #3FB8C4;
}

.review-summary {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.rating-big {
    font-size: 4rem;
    font-weight: 700;
    color: #3FB8C4;
    line-height: 1;
}

.stars-big {
    font-size: 1.5rem;
    color: #fbbf24;
}

.rating-breakdown {
    flex: 1;
    min-width: 250px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.breakdown-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    background: #fbbf24;
    transition: width 0.5s ease;
}

.review-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: #3FB8C4;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.review-card.top-review {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fef3c7 0%, white 100%);
}

.review-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

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

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #3FB8C4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.stars-review {
    color: #fbbf24;
    font-size: 1.1rem;
}

.review-date {
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Sidebar */
.sidebar-sticky {
    position: sticky;
    top: 20px;
}

.contact-card {
    background: linear-gradient(135deg, #3FB8C4 0%, #2E9CA7 100%);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-card h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-secondary {
    background: white;
    color: #3FB8C4;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: #3FB8C4;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #3FB8C4;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    display: block;
}

.stat-label {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.guarantee-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guarantee-badge {
    background: white;
    color: #1f2937;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guarantee-badge i {
    color: #3FB8C4;
}

/* Fade-in Animation */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments for Provider Profile */
@media (max-width: 768px) {
    .provider-hero-section {
        padding: 2rem 0 1.5rem;
    }

    .provider-avatar,
    .provider-avatar-placeholder {
        width: 100px;
        height: 100px;
    }

    .hero-stats {
        gap: 1rem;
    }

    .cta-primary {
        width: 100%;
        text-align: center;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rating-big {
        font-size: 3rem;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}