/* Top 3 Service Block Styles */
.service-top-three-block {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.service-block-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

.service-providers-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-provider-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-provider-card.most-popular {
    border-color: #4169E1;
    border-width: 3px;
}

.popular-badge {
    background: #4169E1;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.provider-logo {
    margin: 20px 0;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.provider-info h3 {
    margin: 10px 0 5px 0;
    font-size: 18px;
}

.provider-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.provider-rating {
    margin: 20px 0;
}

.rating-score {
    background: #4169E1;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.rating-stars {
    color: #ffa500;
    margin: 5px 0;
}

.star {
    font-size: 14px;
}

.rating-label {
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

.learn-more-btn {
    background: #28a745;
    color: white !important;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.learn-more-btn:hover {
    background: #218838;
    color: white;
    text-decoration: none;
}

/* Top 10 Service Block Styles */
.service-top-ten-block {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.forbes-header {
    background: #333;
    color: white;
    padding: 15px 20px;
    text-align: right;
}

.forbes-logo {
    font-weight: bold;
    font-size: 16px;
}

.service-provider-row {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.service-provider-row:last-child {
    border-bottom: none;
}

.popular-badge-small {
    background: #4169E1;
    color: white;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    left: 70px;
    border-radius: 3px;
}

.provider-position {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    width: 50px;
    text-align: center;
}

.provider-logo-small {
    width: 120px;
    margin: 0 20px;
}

.logo-text-small {
    font-size: 16px;
    font-weight: bold;
    color: #4169E1;
}

.provider-features {
    flex: 1;
    margin: 0 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 14px;
}

.checkmark {
    color: #28a745;
    margin-right: 8px;
    font-weight: bold;
}

.provider-rating-small {
    text-align: center;
    margin: 0 20px;
}

.rating-score-small {
    background: #4169E1;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.rating-stars-small {
    color: #ffa500;
    margin: 3px 0;
    font-size: 12px;
}

.rating-label-small {
    font-size: 10px;
    color: #666;
    font-weight: bold;
}

.provider-action-small {
    text-align: center;
}

.learn-more-btn-small {
    background: #28a745;
    color: white !important;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.learn-more-btn-small:hover {
    background: #218838;
    color: white;
    text-decoration: none;
}

.provider-url {
    font-size: 10px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-providers-container {
        flex-direction: column;
        align-items: center;
    }
    
    .service-provider-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .provider-features {
        margin: 0;
    }
}
