   :root {
            --primary-color: #1e73be;
            --secondary-color: #0a4275;
            --accent-color: #ff6b35;
            --text-dark: #2c3e50;
            --text-light: #7f8c8d;
            --bg-light: #f8f9fa;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-dark);
            line-height: 1.7;
        }
        
        .header-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 80px 0 60px;
            margin-bottom: 40px;
        }
        
        .breadcrumb {
            background: rgba(255,255,255,0.1);
            padding: 10px 20px;
            border-radius: 5px;
        }
        
        .breadcrumb a {
            color: white;
            text-decoration: none;
        }
        
        .ranking-card {
            background: white;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s, box-shadow 0.3s;
            border-left: 5px solid var(--text-light);
        }
        
        .ranking-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 25px rgba(0,0,0,0.12);
        }
        
        .ranking-card.featured {
            border-left: 5px solid var(--accent-color);
            background: linear-gradient(to right, #fff9f5 0%, white 100%);
        }
        
        .rank-badge {
            width: 60px;
            height: 60px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: bold;
            flex-shrink: 0;
        }
        
        .rank-badge.gold {
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            color: var(--text-dark);
            box-shadow: 0 4px 15px rgba(255,215,0,0.4);
        }
        
        .company-name {
            color: var(--secondary-color);
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .rating-stars {
            color: #ffc107;
            font-size: 1.1rem;
            margin-bottom: 10px;
        }
        
        .service-tag {
            display: inline-block;
            background: var(--bg-light);
            color: var(--primary-color);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin: 3px;
        }
        
        .cta-button {
            background: var(--accent-color);
            color: white;
            padding: 12px 30px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
            font-weight: 600;
            transition: background 0.3s;
        }
        
        .cta-button:hover {
            background: #e55a2b;
            color: white;
        }
        

        
        .sidebar-widget {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .sidebar-widget h4 {
            font-size: 1.1rem;
            margin-bottom: 15px;
            color: var(--secondary-color);
        }
        
        
        /* Fix text overflow in ranking cards */
.ranking-card {
    overflow: hidden; /* Prevent content from overflowing the card */
    word-wrap: break-word; /* Break long words */
    overflow-wrap: break-word; /* Modern alternative to word-wrap */
}

.ranking-card.featured {
    overflow: hidden;
}

/* Ensure the flex container doesn't overflow */
.ranking-card .d-flex {
    max-width: 100%;
    overflow: hidden;
}

/* Ensure the content area respects boundaries */
.ranking-card .flex-grow-1 {
    min-width: 0; /* Important: allows flex items to shrink below content size */
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word; /* Break long words if needed */
}

/* Prevent long paragraphs from overflowing */
.ranking-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Handle long URLs or email addresses */
.ranking-card .contact-info a {
    word-break: break-all; /* Break URLs at any character */
    overflow-wrap: break-word;
}

/* Ensure service tags wrap properly */
.ranking-card .service-tag {
    display: inline-block;
    word-wrap: break-word;
    max-width: 100%;
}

/* Ensure headings don't overflow */
.ranking-card .company-name,
.ranking-card h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
  