/* تنسيقات قسم الربط الداخلي */
.related-services-wrapper {
    margin: 40px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-top: 4px solid #007bff;
    /* يمكنك تغيير اللون ليتناسب مع هويتك البصرية */
}

.related-services-wrapper h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 20px;
    text-align: right;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.service-card .icon {
    font-size: 24px;
    margin-left: 15px;
    /* لليسار لأن الاتجاه RTL */
}

.service-card .details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #0056b3;
}

.service-card .details p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}


/* CSS للربط الداخلي */
.internal-link {
    color: var(--primary-color, #006400);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.internal-link:hover {
    color: #004d00;
}

/* تمييز رابط الربط الداخلي في الـ Hero */
.hero-text .hero-highlight-link {
    color: #ffc107;
    font-weight: 800;
    text-decoration: none;
    background-color: rgba(255, 193, 7, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    border-bottom: 2px solid #ffc107;
    transition: all 0.3s ease;
}

.hero-text .hero-highlight-link:hover {
    background-color: rgba(255, 193, 7, 0.3);
    color: #fff;
}